• Home
  • Raw
  • Download

Lines Matching refs:Bstr

117     EXPECT_EQ("\x40", Bstr("").toString());  in TEST()
118 EXPECT_EQ("\x41\x61", Bstr("a").toString()); in TEST()
119 EXPECT_EQ("\x41\x41", Bstr("A").toString()); in TEST()
120 EXPECT_EQ("\x44\x49\x45\x54\x46", Bstr("IETF").toString()); in TEST()
121 EXPECT_EQ("\x42\x22\x5c", Bstr("\"\\").toString()); in TEST()
122 EXPECT_EQ("\x42\xc3\xbc", Bstr("\xc3\xbc").toString()); in TEST()
123 EXPECT_EQ("\x43\xe6\xb0\xb4", Bstr("\xe6\xb0\xb4").toString()); in TEST()
124 EXPECT_EQ("\x44\xf0\x90\x85\x91", Bstr("\xf0\x90\x85\x91").toString()); in TEST()
125 EXPECT_EQ("\x44\x01\x02\x03\x04", Bstr("\x01\x02\x03\x04").toString()); in TEST()
126 EXPECT_EQ("\x44\x40\x40\x40\x40", Bstr("@@@@").toString()); in TEST()
348 details::makeItem(Bstr(vector<uint8_t>{0x00, 0x01, 0x02}))->toString()); in TEST()
378 Array(Uint(1), Nint(-1), Bstr(vec), Tstr("hello")).toString()); in TEST()
387 Map(Uint(1), Nint(-1), Bstr(vec), Tstr("hello")).toString()); in TEST()
405 Map(Tstr("Inner1"), Uint(99), Tstr("Inner2"), Bstr(vec)), Tstr("foo")), in TEST()
488 Bstr val("01234567890123456789012345"s); in TEST()
529 EXPECT_NE(val, Bstr("99")); in TEST()
544 EXPECT_NE(val, Bstr("99")); in TEST()
560 EXPECT_NE(val, Bstr("99")); in TEST()
568 TEST(EqualityTest, Bstr) { in TEST() argument
569 Bstr val("99"); in TEST()
570 EXPECT_EQ(val, Bstr("99")); in TEST()
576 EXPECT_NE(val, Bstr("98")); in TEST()
592 EXPECT_NE(val, Bstr("98")); in TEST()
608 EXPECT_NE(val, Bstr("98")); in TEST()
626 EXPECT_NE(val, Bstr("98")); in TEST()
643 EXPECT_NE(val, Bstr("98")); in TEST()
653 SemanticTag val(215, Bstr("asd")); in TEST()
654 EXPECT_EQ(val, SemanticTag(215, Bstr("asd"))); in TEST()
660 EXPECT_NE(val, Bstr("98")); in TEST()
668 SemanticTag val(238238, SemanticTag(215, Bstr("asd"))); in TEST()
669 EXPECT_EQ(val, SemanticTag(238238, SemanticTag(215, Bstr("asd")))); in TEST()
675 EXPECT_NE(val, Bstr("98")); in TEST()
692 EXPECT_NE(val, Bstr("99")); in TEST()
708 EXPECT_NE(val, Bstr("99")); in TEST()
772 TEST(ConvertTest, Bstr) { in TEST() argument
992 TEST(CloningTest, Bstr) { in TEST() argument
993 Bstr item(std::vector<uint8_t>{1, 2, 3, 255, 0}); in TEST()
998 EXPECT_EQ(*clone->asBstr(), Bstr(std::vector<uint8_t>{1, 2, 3, 255, 0})); in TEST()
1373 TEST(StreamParseTest, Bstr) { in TEST() argument
1376 Bstr val("Hello"); in TEST()
1592 TEST(FullParserTest, Bstr) { in TEST() argument
1593 Bstr val("\x00\x01\0x02"s); in TEST()
1616 Map val("hello", -4, 3, Bstr("hi")); in TEST()
1772 TEST(EmptyBstrTest, Bstr) { in TEST() argument
1773 Bstr bstr(std::vector<uint8_t>{}); in TEST()