Commit 73291cf0 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[2151] change name to LabelSequence::WILDCARD

parent ed1a5d91
......@@ -58,7 +58,7 @@ public:
///
//@{
/// Wildcard label ("*")
static const LabelSequence& WILDCARD_LABEL();
static const LabelSequence& WILDCARD();
//@}
/// \brief Constructs a LabelSequence for the given name
......@@ -419,7 +419,7 @@ std::ostream&
operator<<(std::ostream& os, const LabelSequence& label_sequence);
inline const LabelSequence&
LabelSequence::WILDCARD_LABEL() {
LabelSequence::WILDCARD() {
static const uint8_t wildcard_buf[4] = { 0x01, 0x00, 0x01, '*' };
static const LabelSequence wild_ls(wildcard_buf);
return (wild_ls);
......
......@@ -1176,8 +1176,8 @@ TEST_F(ExtendableLabelSequenceTest, extendBadData) {
// Check the static fixed 'wildcard' LabelSequence
TEST(WildCardLabelSequence, wildcard) {
ASSERT_FALSE(LabelSequence::WILDCARD_LABEL().isAbsolute());
ASSERT_EQ("*", LabelSequence::WILDCARD_LABEL().toText());
ASSERT_FALSE(LabelSequence::WILDCARD().isAbsolute());
ASSERT_EQ("*", LabelSequence::WILDCARD().toText());
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment