MCPcopy Create free account
hub / github.com/apache/brpc / TEST

Function TEST

test/nullable_string16_unittest.cc:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace butil {
10
11TEST(NullableString16Test, DefaultConstructor) {
12 NullableString16 s;
13 EXPECT_TRUE(s.is_null());
14 EXPECT_EQ(string16(), s.string());
15}
16
17TEST(NullableString16Test, Equals) {
18 NullableString16 a(ASCIIToUTF16("hello"), false);

Callers

nothing calls this directly

Calls 2

ASCIIToUTF16Function · 0.85
is_nullMethod · 0.45

Tested by

no test coverage detected