Home
last modified time | relevance | path

Searched refs:ASSERT_STREQ (Results 1 – 25 of 66) sorted by relevance

123

/external/perfetto/src/trace_processor/
Dftrace_utils_unittest.cc38 ASSERT_STREQ(state.ToString().data(), "R"); in TEST()
39 ASSERT_STREQ(TaskState(1).ToString().data(), "S"); in TEST()
40 ASSERT_STREQ(TaskState(2).ToString().data(), "D"); in TEST()
41 ASSERT_STREQ(TaskState(4).ToString().data(), "T"); in TEST()
42 ASSERT_STREQ(TaskState(8).ToString().data(), "t"); in TEST()
43 ASSERT_STREQ(TaskState(16).ToString().data(), "X"); in TEST()
44 ASSERT_STREQ(TaskState(32).ToString().data(), "Z"); in TEST()
45 ASSERT_STREQ(TaskState(64).ToString().data(), "x"); in TEST()
46 ASSERT_STREQ(TaskState(128).ToString().data(), "K"); in TEST()
47 ASSERT_STREQ(TaskState(256).ToString().data(), "W"); in TEST()
[all …]
Dsqlite3_str_split_unittest.cc62 ASSERT_STREQ(SplitStmt("abc", ":", 0), "abc"); in TEST_F()
67 ASSERT_STREQ(SplitStmt("a:bc", ":", 0), "a"); in TEST_F()
68 ASSERT_STREQ(SplitStmt("a:bc", ":", 1), "bc"); in TEST_F()
73 ASSERT_STREQ(SplitStmt("a::b::c", ":", 0), "a"); in TEST_F()
74 ASSERT_STREQ(SplitStmt("a::b::c", ":", 1), ""); in TEST_F()
75 ASSERT_STREQ(SplitStmt("a::b::c", ":", 2), "b"); in TEST_F()
76 ASSERT_STREQ(SplitStmt("a::b::c", ":", 3), ""); in TEST_F()
77 ASSERT_STREQ(SplitStmt("a::b::c", ":", 4), "c"); in TEST_F()
82 ASSERT_STREQ(SplitStmt("abczzdefzzghi", "zz", 0), "abc"); in TEST_F()
83 ASSERT_STREQ(SplitStmt("abczzdefzzghi", "zz", 1), "def"); in TEST_F()
[all …]
Dprocess_table_unittest.cc76 ASSERT_STREQ(GetColumnAsText(1), kCommProc1); in TEST_F()
80 ASSERT_STREQ(GetColumnAsText(1), kCommProc2); in TEST_F()
95 ASSERT_STREQ(GetColumnAsText(1), kCommProc2); in TEST_F()
110 ASSERT_STREQ(GetColumnAsText(1), kCommProc2); in TEST_F()
114 ASSERT_STREQ(GetColumnAsText(1), kCommProc1); in TEST_F()
132 ASSERT_STREQ(GetColumnAsText(1), kCommProc2); in TEST_F()
148 ASSERT_STREQ(GetColumnAsText(1), kCommProc2); in TEST_F()
164 ASSERT_STREQ(GetColumnAsText(1), kCommProc2); in TEST_F()
180 ASSERT_STREQ(GetColumnAsText(1), kCommProc1); in TEST_F()
184 ASSERT_STREQ(GetColumnAsText(1), kCommProc2); in TEST_F()
Dthread_table_unittest.cc92 ASSERT_STREQ(GetColumnAsText(3), kThreadName1); in TEST_F()
125 ASSERT_STREQ(GetColumnAsText(3), kThreadName1); in TEST_F()
166 ASSERT_STREQ(GetColumnAsText(5), "pid2"); in TEST_F()
176 ASSERT_STREQ(GetColumnAsText(2), kThreadName1); in TEST_F()
177 ASSERT_STREQ(GetColumnAsText(5), "pid2"); in TEST_F()
Dstring_pool_unittest.cc43 ASSERT_STREQ(pool.Get(id).c_str(), kString); in TEST()
69 ASSERT_STREQ(it.StringView().c_str(), kString); in TEST()
83 ASSERT_STREQ(it.StringView().c_str(), kString); in TEST()
/external/google-breakpad/src/client/linux/minidump_writer/
Dproc_cpuinfo_reader_unittest.cc79 ASSERT_STREQ("foo", field); in TEST()
80 ASSERT_STREQ("bar", reader.GetValue()); in TEST()
93 ASSERT_STREQ("foo", field); in TEST()
94 ASSERT_STREQ("bar", reader.GetValueAndLen(&value_len)); in TEST()
107 ASSERT_STREQ("foo", field); in TEST()
108 ASSERT_STREQ("bar", reader.GetValue()); in TEST()
111 ASSERT_STREQ("zoo", field); in TEST()
112 ASSERT_STREQ("tut", reader.GetValue()); in TEST()
124 ASSERT_STREQ("foo", field); in TEST()
125 ASSERT_STREQ("bar", reader.GetValue()); in TEST()
[all …]
/external/webrtc/webrtc/base/
Dstringencode_unittest.cc84 ASSERT_STREQ("80818283848586878889", encoded_); in TEST_F()
95 ASSERT_STREQ("80:81:82:83:84:85:86:87:88:89", encoded_); in TEST_F()
239 ASSERT_STREQ("middle", fields.at(1).c_str()); in TEST()
245 ASSERT_STREQ("middle", fields.at(1).c_str()); in TEST()
258 ASSERT_STREQ("B", fields.at(1).c_str()); in TEST()
262 ASSERT_STREQ("B", fields.at(1).c_str()); in TEST()
263 ASSERT_STREQ("E", fields.at(4).c_str()); in TEST()
272 ASSERT_STREQ("C", fields.at(2).c_str()); in TEST()
276 ASSERT_STREQ("A B", fields.at(0).c_str()); in TEST()
280 ASSERT_STREQ("D", fields.at(0).c_str()); in TEST()
[all …]
Durlencode_unittest.cc35 ASSERT_STREQ("%5E", dest); in TEST()
45 ASSERT_STREQ("aa", dest); in TEST()
61 ASSERT_STREQ("A%5E+", dest); in TEST()
69 ASSERT_STREQ("A%5E%20", dest); in TEST()
76 ASSERT_STREQ("A^ ", dest); in TEST()
83 ASSERT_STREQ("A^+", dest); in TEST()
/external/tensorflow/tensorflow/java/src/gen/cc/
Dsource_writer_test.cc32 ASSERT_STREQ(expected, writer.str().data()); in TEST()
40 ASSERT_STREQ(expected, writer.str().data()); in TEST()
48 ASSERT_STREQ(expected, writer.str().data()); in TEST()
56 ASSERT_STREQ(expected, writer.str().data()); in TEST()
64 ASSERT_STREQ(expected, writer.str().data()); in TEST()
72 ASSERT_STREQ(expected, writer.str().data()); in TEST()
80 ASSERT_STREQ(expected, writer.str().data()); in TEST()
88 ASSERT_STREQ(expected, writer.str().data()); in TEST()
96 ASSERT_STREQ(expected, writer.str().data()); in TEST()
104 ASSERT_STREQ(expected, writer.str().data()); in TEST()
[all …]
/external/llvm/unittests/ADT/
DImmutableSetTest.cpp149 ASSERT_STREQ("aeiou", buffer); in TEST_F()
161 ASSERT_STREQ("bcdfgh", buffer); in TEST_F()
166 ASSERT_STREQ("bcd", buffer); in TEST_F()
171 ASSERT_STREQ("", buffer); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DImmutableSetTest.cpp149 ASSERT_STREQ("aeiou", buffer); in TEST_F()
161 ASSERT_STREQ("bcdfgh", buffer); in TEST_F()
166 ASSERT_STREQ("bcd", buffer); in TEST_F()
171 ASSERT_STREQ("", buffer); in TEST_F()
/external/swiftshader/third_party/LLVM/unittests/ADT/
DImmutableSetTest.cpp149 ASSERT_STREQ("aeiou", buffer); in TEST_F()
161 ASSERT_STREQ("bcdfgh", buffer); in TEST_F()
166 ASSERT_STREQ("bcd", buffer); in TEST_F()
171 ASSERT_STREQ("", buffer); in TEST_F()
/external/adhd/cras/src/tests/
Dutil_unittest.cc41 ASSERT_STREQ(msg, buf); in TEST()
83 ASSERT_STREQ(msg, buf); in TEST()
120 ASSERT_STREQ(msg, buf); in TEST()
147 ASSERT_STREQ(msg, buf); in TEST()
Dcras_dsp_pipeline_unittest.cc288 ASSERT_STREQ("m1", d1->title); in TEST_F()
308 ASSERT_STREQ("m2", d2->title); in TEST_F()
349 ASSERT_STREQ("m2", d->title); in TEST_F()
497 ASSERT_STREQ("m5", d->title); in TEST_F()
/external/boringssl/src/crypto/obj/
Dobj_test.cc43 ASSERT_STREQ(kShortName, OBJ_nid2sn(kNID)); in TEST()
44 ASSERT_STREQ(kLongName, OBJ_nid2ln(kNID)); in TEST()
/external/perfetto/src/base/
Dunix_socket_unittest.cc218 ASSERT_STREQ(srv_str, buf); in TEST_F()
238 ASSERT_STREQ(cli_str, buf); in TEST_F()
370 ASSERT_STREQ("rock more", mem); in TEST_F()
390 ASSERT_STREQ("txfd", msg); in TEST_F()
396 ASSERT_STREQ("shm rocks", mem); in TEST_F()
747 ASSERT_STREQ(buf, "test"); in TEST_F()
/external/llvm/unittests/Support/
DCommandLineTest.cpp114 ASSERT_STREQ(Retrieved->HelpStr.data(), Description) in TEST()
118 ASSERT_STREQ(ArgString, Retrieved->ArgStr.data()) in TEST()
122 ASSERT_STREQ(Retrieved->ValueStr.data(), ValueString) in TEST()
/external/clang/unittests/Tooling/
DReplacementsYamlTest.cpp38 ASSERT_STREQ("---\n" in TEST()
/external/libvpx/libvpx/test/
Dtile_independence_test.cc100 ASSERT_STREQ(md5_fw_str, md5_inv_str); in TEST_P()
/external/grpc-grpc/test/core/slice/
Dslice_weak_hash_table_test.cc52 ASSERT_STREQ(table->Get(key)->get(), "value"); in TEST()
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dtest_harness.h155 #define ASSERT_STREQ TEST_API(ASSERT_STREQ) macro
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer_unittest.cc65 ASSERT_STREQ(reinterpret_cast<const char*>(&buf_and_size.data[0]), "foo"); in StructuredTest()
71 ASSERT_STREQ(reinterpret_cast<const char*>(&buf_and_size.data[0]), "bar"); in StructuredTest()
/external/google-breakpad/src/testing/gtest/test/
Dgtest-linked_ptr_test.cc130 ASSERT_STREQ( in TEST_F()
Dgtest_unittest.cc2562 TEST(StringAssertionTest, ASSERT_STREQ) { in TEST() argument
2564 ASSERT_STREQ(p1, p1); in TEST()
2568 ASSERT_STREQ(p1, p2); in TEST()
2570 EXPECT_FATAL_FAILURE(ASSERT_STREQ("bad", "good"), in TEST()
2576 ASSERT_STREQ(static_cast<const char *>(NULL), NULL); in TEST()
2577 EXPECT_FATAL_FAILURE(ASSERT_STREQ(NULL, "non-null"), in TEST()
2583 EXPECT_FATAL_FAILURE(ASSERT_STREQ("non-null", NULL), in TEST()
2626 ASSERT_STREQ(static_cast<const wchar_t *>(NULL), NULL); in TEST()
2629 ASSERT_STREQ(L"", L""); in TEST()
3350 ASSERT_STREQ(p1_++, p2_++); in CompareAndIncrementCharPtrs()
[all …]
/external/seccomp-tests/linux/
Dtest_harness.h158 #define ASSERT_STREQ TEST_API(ASSERT_STREQ) macro

123