Home
last modified time | relevance | path

Searched refs:ASSERT_EQ (Results 1 – 25 of 1657) sorted by relevance

12345678910>>...67

/external/angle/src/tests/compiler_tests/
DImmutableString_test_autogen.cpp19 ASSERT_EQ(0x00000168u, ImmutableString("radians(00B").mangledNameHash()); in TEST()
20 ASSERT_EQ(0x000000c2u, ImmutableString("radians(10B").mangledNameHash()); in TEST()
21 ASSERT_EQ(0x000002afu, ImmutableString("radians(20B").mangledNameHash()); in TEST()
22 ASSERT_EQ(0x00000210u, ImmutableString("radians(30B").mangledNameHash()); in TEST()
23 ASSERT_EQ(0x00000762u, ImmutableString("degrees(00B").mangledNameHash()); in TEST()
24 ASSERT_EQ(0x00000812u, ImmutableString("degrees(10B").mangledNameHash()); in TEST()
25 ASSERT_EQ(0x00000035u, ImmutableString("degrees(20B").mangledNameHash()); in TEST()
26 ASSERT_EQ(0x000000d0u, ImmutableString("degrees(30B").mangledNameHash()); in TEST()
27 ASSERT_EQ(0x00000616u, ImmutableString("sin(00B").mangledNameHash()); in TEST()
28 ASSERT_EQ(0x00000566u, ImmutableString("sin(10B").mangledNameHash()); in TEST()
[all …]
DImmutableString_test_ESSL_autogen.cpp19 ASSERT_EQ(0x00000283u, ImmutableString("radians(00B").mangledNameHash()); in TEST()
20 ASSERT_EQ(0x00000154u, ImmutableString("radians(10B").mangledNameHash()); in TEST()
21 ASSERT_EQ(0x00000111u, ImmutableString("radians(20B").mangledNameHash()); in TEST()
22 ASSERT_EQ(0x000003bbu, ImmutableString("radians(30B").mangledNameHash()); in TEST()
23 ASSERT_EQ(0x000001ecu, ImmutableString("degrees(00B").mangledNameHash()); in TEST()
24 ASSERT_EQ(0x00000339u, ImmutableString("degrees(10B").mangledNameHash()); in TEST()
25 ASSERT_EQ(0x000001deu, ImmutableString("degrees(20B").mangledNameHash()); in TEST()
26 ASSERT_EQ(0x00000178u, ImmutableString("degrees(30B").mangledNameHash()); in TEST()
27 ASSERT_EQ(0x00000365u, ImmutableString("sin(00B").mangledNameHash()); in TEST()
28 ASSERT_EQ(0x00000218u, ImmutableString("sin(10B").mangledNameHash()); in TEST()
[all …]
/external/clang/unittests/AST/
DCommentLexer.cpp87 ASSERT_EQ(0U, Toks.size()); in TEST_F()
100 ASSERT_EQ(1U, Toks.size()); in TEST_F()
102 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
116 ASSERT_EQ(2U, Toks.size()); in TEST_F()
118 ASSERT_EQ(tok::newline, Toks[0].getKind()); in TEST_F()
119 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
135 ASSERT_EQ(2U, Toks.size()); in TEST_F()
137 ASSERT_EQ(tok::text, Toks[0].getKind()); in TEST_F()
138 ASSERT_EQ(StringRef(" Meow"), Toks[0].getText()); in TEST_F()
140 ASSERT_EQ(tok::newline, Toks[1].getKind()); in TEST_F()
[all …]
/external/libchrome/base/strings/
Dstring_piece_unittest.cc153 ASSERT_EQ(a[6], static_cast<typename TypeParam::value_type>('g')); in TYPED_TEST()
154 ASSERT_EQ(b[0], static_cast<typename TypeParam::value_type>('a')); in TYPED_TEST()
155 ASSERT_EQ(c[2], static_cast<typename TypeParam::value_type>('z')); in TYPED_TEST()
156 ASSERT_EQ(f[3], static_cast<typename TypeParam::value_type>('\0')); in TYPED_TEST()
157 ASSERT_EQ(f[5], static_cast<typename TypeParam::value_type>('5')); in TYPED_TEST()
159 ASSERT_EQ(*d.data(), static_cast<typename TypeParam::value_type>('f')); in TYPED_TEST()
160 ASSERT_EQ(d.data()[5], static_cast<typename TypeParam::value_type>('r')); in TYPED_TEST()
161 ASSERT_EQ(e.data(), nullptr); in TYPED_TEST()
163 ASSERT_EQ(*a.begin(), static_cast<typename TypeParam::value_type>('a')); in TYPED_TEST()
164 ASSERT_EQ(*(b.begin() + 2), static_cast<typename TypeParam::value_type>('c')); in TYPED_TEST()
[all …]
/external/perfetto/src/trace_processor/containers/
Drow_map_unittest.cc31 ASSERT_EQ(rm.size(), 17u); in TEST()
33 ASSERT_EQ(rm.Get(0), 30u); in TEST()
34 ASSERT_EQ(rm.Get(1), 31u); in TEST()
35 ASSERT_EQ(rm.Get(16), 46u); in TEST()
37 ASSERT_EQ(rm.IndexOf(29), base::nullopt); in TEST()
38 ASSERT_EQ(rm.IndexOf(30), 0u); in TEST()
39 ASSERT_EQ(rm.IndexOf(37), 7u); in TEST()
40 ASSERT_EQ(rm.IndexOf(46), 16u); in TEST()
41 ASSERT_EQ(rm.IndexOf(47), base::nullopt); in TEST()
47 ASSERT_EQ(rm.size(), 3u); in TEST()
[all …]
/external/google-breakpad/src/common/linux/
Dlinux_libc_support_unittest.cc42 ASSERT_EQ(strlen(test_data[i]), my_strlen(test_data[i])); in TEST()
67 ASSERT_EQ(my_strcmp(test_data[i*2], test_data[i*2 + 1]), libc_result); in TEST()
81 ASSERT_EQ(result, 0); in TEST()
83 ASSERT_EQ(result, 1); in TEST()
85 ASSERT_EQ(result, 12); in TEST()
87 ASSERT_EQ(result, 123); in TEST()
89 ASSERT_EQ(result, 123); in TEST()
93 ASSERT_EQ(my_uint_len(0), 1U); in TEST()
94 ASSERT_EQ(my_uint_len(2), 1U); in TEST()
95 ASSERT_EQ(my_uint_len(5), 1U); in TEST()
[all …]
/external/angle/src/common/
Dvector_utils_unittest.cpp26 ASSERT_EQ(Vector2(2.0, 3.0), Vector2(2.0, 3.0)); in TEST()
30 ASSERT_EQ(Vector4(0.0), Vector4(0.0)); in TEST()
41 ASSERT_EQ(1.0, vec[0]); in TEST()
42 ASSERT_EQ(2.0, vec[1]); in TEST()
46 ASSERT_EQ(Vector2(3.0, 4.0), vec); in TEST()
55 ASSERT_EQ(3.0, vec[0]); in TEST()
56 ASSERT_EQ(3.0, vec[1]); in TEST()
62 ASSERT_EQ(1.0, vec[0]); in TEST()
63 ASSERT_EQ(2.0, vec[1]); in TEST()
69 ASSERT_EQ(1.0, vec[0]); in TEST()
[all …]
/external/libchrome/mojo/core/
Dcore_unittest.cc48 ASSERT_EQ(0u, info.GetCtorCallCount()); in TEST_F()
50 ASSERT_EQ(1u, info.GetCtorCallCount()); in TEST_F()
53 ASSERT_EQ(0u, info.GetWriteMessageCallCount()); in TEST_F()
55 ASSERT_EQ(MOJO_RESULT_OK, core()->CreateMessage(nullptr, &message)); in TEST_F()
56 ASSERT_EQ(MOJO_RESULT_OK, core()->WriteMessage(h, message, nullptr)); in TEST_F()
57 ASSERT_EQ(1u, info.GetWriteMessageCallCount()); in TEST_F()
59 ASSERT_EQ(0u, info.GetReadMessageCallCount()); in TEST_F()
60 ASSERT_EQ(MOJO_RESULT_OK, core()->ReadMessage(h, nullptr, &message)); in TEST_F()
61 ASSERT_EQ(1u, info.GetReadMessageCallCount()); in TEST_F()
62 ASSERT_EQ(MOJO_RESULT_OK, core()->ReadMessage(h, nullptr, &message)); in TEST_F()
[all …]
Ddata_pipe_unittest.cc165 ASSERT_EQ(MOJO_RESULT_OK, Create(&options)); in TEST_F()
176 ASSERT_EQ(MOJO_RESULT_OK, WriteData(&elements[0], &num_bytes)); in TEST_F()
180 ASSERT_EQ(MOJO_RESULT_OK, in TEST_F()
187 ASSERT_EQ(MOJO_RESULT_OK, ReadData(&elements[0], &num_bytes)); in TEST_F()
188 ASSERT_EQ(static_cast<uint32_t>(2u * sizeof(elements[0])), num_bytes); in TEST_F()
189 ASSERT_EQ(elements[0], 123); in TEST_F()
190 ASSERT_EQ(elements[1], 456); in TEST_F()
217 ASSERT_EQ(MOJO_RESULT_OK, in TEST_F()
219 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(producer_handle)); in TEST_F()
220 ASSERT_EQ(MOJO_RESULT_OK, MojoClose(consumer_handle)); in TEST_F()
[all …]
/external/swiftshader/third_party/marl/src/
Dcontainers_test.cpp28 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F()
39 ASSERT_EQ(vector[0], "A"); in TEST_F()
40 ASSERT_EQ(vector[1], "B"); in TEST_F()
41 ASSERT_EQ(vector[2], "C"); in TEST_F()
42 ASSERT_EQ(vector[3], "D"); in TEST_F()
53 ASSERT_EQ(vector[0], "A"); in TEST_F()
54 ASSERT_EQ(vector[1], "B"); in TEST_F()
55 ASSERT_EQ(vector[2], "C"); in TEST_F()
56 ASSERT_EQ(vector[3], "D"); in TEST_F()
66 ASSERT_EQ(vector.size(), size_t(4)); in TEST_F()
[all …]
/external/perfetto/src/trace_processor/sqlite/
Dspan_join_operator_table_unittest.cc39 ASSERT_EQ(sqlite3_prepare_v2(*db_, sql.c_str(), size, &stmt, nullptr), in PrepareValidStatement()
46 ASSERT_EQ(sqlite3_step(stmt_.get()), SQLITE_DONE); in RunStatement()
50 ASSERT_EQ(sqlite3_step(stmt_.get()), SQLITE_ROW); in AssertNextRow()
52 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), static_cast<int>(i)), in AssertNextRow()
91 ASSERT_EQ(sqlite3_step(stmt_.get()), SQLITE_ROW); in TEST_F()
92 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), 0), 120); in TEST_F()
93 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), 1), 40); in TEST_F()
94 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), 2), 2); in TEST_F()
96 ASSERT_EQ(sqlite3_step(stmt_.get()), SQLITE_ROW); in TEST_F()
97 ASSERT_EQ(sqlite3_column_int64(stmt_.get(), 0), 160); in TEST_F()
[all …]
/external/google-breakpad/src/processor/
Dpathname_stripper_unittest.cc41 #define ASSERT_EQ(e1, e2) ASSERT_TRUE((e1) == (e2)) macro
48 ASSERT_EQ(PathnameStripper::File("/dir/file"), "file"); in RunTests()
49 ASSERT_EQ(PathnameStripper::File("\\dir\\file"), "file"); in RunTests()
50 ASSERT_EQ(PathnameStripper::File("/dir\\file"), "file"); in RunTests()
51 ASSERT_EQ(PathnameStripper::File("\\dir/file"), "file"); in RunTests()
52 ASSERT_EQ(PathnameStripper::File("dir/file"), "file"); in RunTests()
53 ASSERT_EQ(PathnameStripper::File("dir\\file"), "file"); in RunTests()
54 ASSERT_EQ(PathnameStripper::File("dir/\\file"), "file"); in RunTests()
55 ASSERT_EQ(PathnameStripper::File("dir\\/file"), "file"); in RunTests()
56 ASSERT_EQ(PathnameStripper::File("file"), "file"); in RunTests()
[all …]
/external/mesa3d/src/compiler/nir/tests/
Dload_store_vectorizer_tests.cpp393 ASSERT_EQ(count_intrinsics(nir_intrinsic_load_ubo), 2); in TEST_F()
397 ASSERT_EQ(count_intrinsics(nir_intrinsic_load_ubo), 1); in TEST_F()
400 ASSERT_EQ(load->dest.ssa.bit_size, 32); in TEST_F()
401 ASSERT_EQ(load->dest.ssa.num_components, 2); in TEST_F()
402 ASSERT_EQ(nir_intrinsic_range_base(load), 0); in TEST_F()
403 ASSERT_EQ(nir_intrinsic_range(load), 8); in TEST_F()
404 ASSERT_EQ(nir_src_as_uint(load->src[1]), 0); in TEST_F()
415 ASSERT_EQ(count_intrinsics(nir_intrinsic_load_ubo), 2); in TEST_F()
419 ASSERT_EQ(count_intrinsics(nir_intrinsic_load_ubo), 1); in TEST_F()
422 ASSERT_EQ(load->dest.ssa.bit_size, 32); in TEST_F()
[all …]
/external/google-benchmark/test/
Dcommandlineflags_gtest.cc29 ASSERT_EQ(unsetenv("BENCHMARK_NOT_IN_ENV"), 0); in TEST()
34 ASSERT_EQ(setenv("BENCHMARK_IN_ENV", "0", 1), 0); in TEST()
38 ASSERT_EQ(setenv("BENCHMARK_IN_ENV", "N", 1), 0); in TEST()
42 ASSERT_EQ(setenv("BENCHMARK_IN_ENV", "n", 1), 0); in TEST()
46 ASSERT_EQ(setenv("BENCHMARK_IN_ENV", "NO", 1), 0); in TEST()
50 ASSERT_EQ(setenv("BENCHMARK_IN_ENV", "No", 1), 0); in TEST()
54 ASSERT_EQ(setenv("BENCHMARK_IN_ENV", "no", 1), 0); in TEST()
58 ASSERT_EQ(setenv("BENCHMARK_IN_ENV", "F", 1), 0); in TEST()
62 ASSERT_EQ(setenv("BENCHMARK_IN_ENV", "f", 1), 0); in TEST()
66 ASSERT_EQ(setenv("BENCHMARK_IN_ENV", "FALSE", 1), 0); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DInstrProfTest.cpp79 ASSERT_EQ(StringRef("foo"), I->Name); in TEST_P()
80 ASSERT_EQ(0x1234U, I->Hash); in TEST_P()
81 ASSERT_EQ(4U, I->Counts.size()); in TEST_P()
82 ASSERT_EQ(1U, I->Counts[0]); in TEST_P()
83 ASSERT_EQ(2U, I->Counts[1]); in TEST_P()
84 ASSERT_EQ(3U, I->Counts[2]); in TEST_P()
85 ASSERT_EQ(4U, I->Counts[3]); in TEST_P()
97 ASSERT_EQ(2U, R->Counts.size()); in TEST_P()
98 ASSERT_EQ(1U, R->Counts[0]); in TEST_P()
99 ASSERT_EQ(2U, R->Counts[1]); in TEST_P()
[all …]
/external/cpuinfo/test/mock/
Dmeizu-pro-7-plus.cc8 ASSERT_EQ(10, cpuinfo_get_processors_count()); in TEST()
17 ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); in TEST()
23 ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); in TEST()
32 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_processor(i)->cluster); in TEST()
38 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_processor(i)->cluster); in TEST()
44 ASSERT_EQ(cpuinfo_get_cluster(2), cpuinfo_get_processor(i)->cluster); in TEST()
52 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST()
61 ASSERT_EQ(i + 8, cpuinfo_get_processor(i)->linux_id); in TEST()
67 ASSERT_EQ(i + 2, cpuinfo_get_processor(i)->linux_id); in TEST()
73 ASSERT_EQ(i - 6, cpuinfo_get_processor(i)->linux_id); in TEST()
[all …]
Dmeizu-pro-6s.cc8 ASSERT_EQ(10, cpuinfo_get_processors_count()); in TEST()
17 ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); in TEST()
23 ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); in TEST()
32 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_processor(i)->cluster); in TEST()
38 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_processor(i)->cluster); in TEST()
44 ASSERT_EQ(cpuinfo_get_cluster(2), cpuinfo_get_processor(i)->cluster); in TEST()
52 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST()
61 ASSERT_EQ(i + 8, cpuinfo_get_processor(i)->linux_id); in TEST()
67 ASSERT_EQ(i + 2, cpuinfo_get_processor(i)->linux_id); in TEST()
73 ASSERT_EQ(i - 6, cpuinfo_get_processor(i)->linux_id); in TEST()
[all …]
Dmeizu-pro-6.cc8 ASSERT_EQ(10, cpuinfo_get_processors_count()); in TEST()
17 ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); in TEST()
23 ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); in TEST()
32 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_processor(i)->cluster); in TEST()
38 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_processor(i)->cluster); in TEST()
44 ASSERT_EQ(cpuinfo_get_cluster(2), cpuinfo_get_processor(i)->cluster); in TEST()
52 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST()
61 ASSERT_EQ(i + 8, cpuinfo_get_processor(i)->linux_id); in TEST()
67 ASSERT_EQ(i + 2, cpuinfo_get_processor(i)->linux_id); in TEST()
73 ASSERT_EQ(i - 6, cpuinfo_get_processor(i)->linux_id); in TEST()
[all …]
Dgalaxy-s9-global.cc8 ASSERT_EQ(8, cpuinfo_get_processors_count()); in TEST()
17 ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); in TEST()
23 ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); in TEST()
34 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_processor(i)->cluster); in TEST()
40 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_processor(i)->cluster); in TEST()
48 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST()
59 ASSERT_EQ(i + 4, cpuinfo_get_processor(i)->linux_id); in TEST()
65 ASSERT_EQ(i - 4, cpuinfo_get_processor(i)->linux_id); in TEST()
73 ASSERT_EQ(cpuinfo_get_l1i_cache(i), cpuinfo_get_processor(i)->cache.l1i); in TEST()
79 ASSERT_EQ(cpuinfo_get_l1d_cache(i), cpuinfo_get_processor(i)->cache.l1d); in TEST()
[all …]
Dgalaxy-c9-pro.cc8 ASSERT_EQ(8, cpuinfo_get_processors_count()); in TEST()
17 ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); in TEST()
23 ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); in TEST()
34 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_processor(i)->cluster); in TEST()
40 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_processor(i)->cluster); in TEST()
48 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST()
59 ASSERT_EQ(i + 4, cpuinfo_get_processor(i)->linux_id); in TEST()
65 ASSERT_EQ(i - 4, cpuinfo_get_processor(i)->linux_id); in TEST()
73 ASSERT_EQ(cpuinfo_get_l1i_cache(i), cpuinfo_get_processor(i)->cache.l1i); in TEST()
79 ASSERT_EQ(cpuinfo_get_l1d_cache(i), cpuinfo_get_processor(i)->cache.l1d); in TEST()
[all …]
Dnexus6p.cc8 ASSERT_EQ(8, cpuinfo_get_processors_count()); in TEST()
17 ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); in TEST()
23 ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); in TEST()
34 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_processor(i)->cluster); in TEST()
40 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_processor(i)->cluster); in TEST()
48 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST()
59 ASSERT_EQ(i + 4, cpuinfo_get_processor(i)->linux_id); in TEST()
65 ASSERT_EQ(i - 4, cpuinfo_get_processor(i)->linux_id); in TEST()
73 ASSERT_EQ(cpuinfo_get_l1i_cache(i), cpuinfo_get_processor(i)->cache.l1i); in TEST()
79 ASSERT_EQ(cpuinfo_get_l1d_cache(i), cpuinfo_get_processor(i)->cache.l1d); in TEST()
[all …]
Dgalaxy-s6.cc8 ASSERT_EQ(8, cpuinfo_get_processors_count()); in TEST()
17 ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); in TEST()
23 ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); in TEST()
34 ASSERT_EQ(cpuinfo_get_cluster(0), cpuinfo_get_processor(i)->cluster); in TEST()
40 ASSERT_EQ(cpuinfo_get_cluster(1), cpuinfo_get_processor(i)->cluster); in TEST()
48 ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); in TEST()
59 ASSERT_EQ(i + 4, cpuinfo_get_processor(i)->linux_id); in TEST()
65 ASSERT_EQ(i - 4, cpuinfo_get_processor(i)->linux_id); in TEST()
73 ASSERT_EQ(cpuinfo_get_l1i_cache(i), cpuinfo_get_processor(i)->cache.l1i); in TEST()
79 ASSERT_EQ(cpuinfo_get_l1d_cache(i), cpuinfo_get_processor(i)->cache.l1d); in TEST()
[all …]
/external/perfetto/src/trace_processor/tables/
Dmacros_unittest.cc70 ASSERT_EQ(event_.table_name(), "event"); in TEST_F()
71 ASSERT_EQ(slice_.table_name(), "slice"); in TEST_F()
72 ASSERT_EQ(cpu_slice_.table_name(), "cpu_slice"); in TEST_F()
77 ASSERT_EQ(id.value, 0u); in TEST_F()
78 ASSERT_EQ(event_.type().GetString(0), "event"); in TEST_F()
79 ASSERT_EQ(event_.ts()[0], 100); in TEST_F()
80 ASSERT_EQ(event_.arg_set_id()[0], 0); in TEST_F()
83 ASSERT_EQ(id.value, 1u); in TEST_F()
85 ASSERT_EQ(event_.type().GetString(1), "slice"); in TEST_F()
86 ASSERT_EQ(event_.ts()[1], 200); in TEST_F()
[all …]
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp80 ASSERT_EQ(StringRef("foo"), I->Name); in TEST_P()
81 ASSERT_EQ(0x1234U, I->Hash); in TEST_P()
82 ASSERT_EQ(4U, I->Counts.size()); in TEST_P()
83 ASSERT_EQ(1U, I->Counts[0]); in TEST_P()
84 ASSERT_EQ(2U, I->Counts[1]); in TEST_P()
85 ASSERT_EQ(3U, I->Counts[2]); in TEST_P()
86 ASSERT_EQ(4U, I->Counts[3]); in TEST_P()
100 ASSERT_EQ(2U, R->Counts.size()); in TEST_P()
101 ASSERT_EQ(1U, R->Counts[0]); in TEST_P()
102 ASSERT_EQ(2U, R->Counts[1]); in TEST_P()
[all …]
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_parser_unittest.cc30 ASSERT_EQ(ParseSystraceTracePoint("", &result), Result::kFailure); in TEST()
31 ASSERT_EQ(ParseSystraceTracePoint("abcdef", &result), Result::kFailure); in TEST()
32 ASSERT_EQ(ParseSystraceTracePoint(" ", &result), Result::kFailure); in TEST()
33 ASSERT_EQ(ParseSystraceTracePoint("|", &result), Result::kFailure); in TEST()
34 ASSERT_EQ(ParseSystraceTracePoint("||", &result), Result::kFailure); in TEST()
35 ASSERT_EQ(ParseSystraceTracePoint("|||", &result), Result::kFailure); in TEST()
36 ASSERT_EQ(ParseSystraceTracePoint("\n", &result), Result::kFailure); in TEST()
37 ASSERT_EQ(ParseSystraceTracePoint("|\n", &result), Result::kFailure); in TEST()
38 ASSERT_EQ(ParseSystraceTracePoint("||\n", &result), Result::kFailure); in TEST()
39 ASSERT_EQ(ParseSystraceTracePoint("||\n", &result), Result::kFailure); in TEST()
[all …]

12345678910>>...67