Home
last modified time | relevance | path

Searched refs:kHelloWorld (Results 1 – 5 of 5) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/tests/
Dstring_unittest.cc12 const char* kHelloWorld = "hello world"; variable
45 String s(kHelloWorld); in TEST()
46 EXPECT_EQ(std::string(kHelloWorld), s.get()); in TEST()
50 String s(kHelloWorld); in TEST()
53 EXPECT_EQ(std::string(kHelloWorld), t.get()); in TEST()
58 String s(kHelloWorld); in TEST()
59 String t(kHelloWorld); in TEST()
65 EXPECT_TRUE(kHelloWorld == s); in TEST()
66 EXPECT_TRUE(s == kHelloWorld); in TEST()
97 std::string std_str(kHelloWorld); in TEST()
[all …]
Dwtf_types_unittest.cc22 const char kHelloWorld[] = "hello world"; variable
69 strs[2] = kHelloWorld; in ConstructStringArray()
79 str_map.add("1", kHelloWorld); in ConstructStringMap()
171 EXPECT_TRUE(kHelloWorld == strs2[2]); in TEST_F()
231 EXPECT_TRUE(kHelloWorld == str_map2["1"]); in TEST_F()
237 input->str = kHelloWorld; in TEST_F()
/external/libmojo/mojo/edk/system/
Dplatform_handle_dispatcher_unittest.cc27 static const char kHelloWorld[] = "hello world"; in TEST() local
33 EXPECT_EQ(sizeof(kHelloWorld), in TEST()
34 fwrite(kHelloWorld, 1, sizeof(kHelloWorld), fp.get())); in TEST()
54 EXPECT_EQ(sizeof(kHelloWorld), in TEST()
56 EXPECT_STREQ(kHelloWorld, read_buffer); in TEST()
Dmessage_pipe_unittest.cc21 static const char kHelloWorld[] = "hello world"; variable
62 WriteMessage(pipe0_, kHelloWorld, sizeof(kHelloWorld))); in TEST_F()
/external/libmojo/mojo/edk/embedder/
Dembedder_unittest.cc45 const char kHelloWorld[] = "hello world"; variable
359 memcpy(buffer, kHelloWorld, sizeof(kHelloWorld)); in TEST_F()
397 EXPECT_EQ(kHelloWorld, std::string(buffer)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
438 memcpy(buffer, kHelloWorld, sizeof(kHelloWorld)); in TEST_F()