EXPECT_TRUE(desc.option_);
EXPECT_EQ(100, desc.option_->getType());
- // This opton should comprise two sub-options.
+ // This option should comprise two sub-options.
// Onf of them is 'foo' with code 110.
OptionPtr option_foo = desc.option_->getOption(110);
ASSERT_TRUE(option_foo);
///
/// \param universe universe used, V4 or V6
/// \param in_buffer input buffer to be parsed.
- /// \param options oprions collection with their offsets
+ /// \param options options collection with their offsets
/// in input buffer specified.
///
/// \throw isc::Unexpected if options unpack failed.
);
}
-// The purpose of this test is to verify that the opton definition comprising
+// The purpose of this test is to verify that the option definition comprising
// a record of fixed-size fields can be used to create an option with a
// suboption.
TEST_F(OptionCustomTest, recordDataWithSuboption) {
EXPECT_EQ("192.168.0.1", address.toText());
}
-// The purpose of this test is to verify that an opton comprising
+// The purpose of this test is to verify that an option comprising
// single IPv6 address can be created and that this address can
// be overriden by a new value.
TEST_F(OptionCustomTest, setIpv6AddressData) {
}
// This test verifies an option data without suboptions is supported
-TEST_F(ParseConfigTest, optionDataNoSubOpion) {
+TEST_F(ParseConfigTest, optionDataNoSubOption) {
// Configuration string.
const std::string config =
"{ \"option-data\": [ {"
void compareOptions(const ConstCfgOptionPtr& cfg1,
const ConstCfgOptionPtr& cfg2) const;
- /// @brief Creates an opton descriptor holding an empty option.
+ /// @brief Creates an option descriptor holding an empty option.
///
/// @param universe V4 or V6.
/// @param option_type Option type.
the value stack, negated and then pushed onto the value stack.
The string is displayed in text.
-# For use with TokenOption based classes. These include TokenOpton,
+# For use with TokenOption based classes. These include TokenOption,
# TokenRelay4Option and TokenRelay6Option.
% EVAL_DEBUG_OPTION Pushing option %1 with value %2