/external/google-breakpad/src/processor/ |
D | contained_range_map_unittest.cc | 41 #define ASSERT_TRUE(condition) \ macro 47 #define ASSERT_FALSE(condition) ASSERT_TRUE(!(condition)) 61 ASSERT_TRUE (crm.StoreRange(10, 10, 1)); in RunTests() 65 ASSERT_TRUE (crm.StoreRange(11, 9, 5)); // contained by existing in RunTests() 66 ASSERT_TRUE (crm.StoreRange(12, 7, 6)); in RunTests() 67 ASSERT_TRUE (crm.StoreRange( 9, 12, 7)); // contains existing in RunTests() 68 ASSERT_TRUE (crm.StoreRange( 9, 13, 8)); in RunTests() 69 ASSERT_TRUE (crm.StoreRange( 8, 14, 9)); in RunTests() 70 ASSERT_TRUE (crm.StoreRange(30, 3, 10)); in RunTests() 71 ASSERT_TRUE (crm.StoreRange(33, 3, 11)); in RunTests() [all …]
|
D | static_contained_range_map_unittest.cc | 178 ASSERT_TRUE (crm_map_.StoreRange(10, 10, 1)); in SetUp() 182 ASSERT_TRUE (crm_map_.StoreRange(11, 9, 5)); // contained by existing in SetUp() 183 ASSERT_TRUE (crm_map_.StoreRange(12, 7, 6)); in SetUp() 184 ASSERT_TRUE (crm_map_.StoreRange( 9, 12, 7)); // contains existing in SetUp() 185 ASSERT_TRUE (crm_map_.StoreRange( 9, 13, 8)); in SetUp() 186 ASSERT_TRUE (crm_map_.StoreRange( 8, 14, 9)); in SetUp() 187 ASSERT_TRUE (crm_map_.StoreRange(30, 3, 10)); in SetUp() 188 ASSERT_TRUE (crm_map_.StoreRange(33, 3, 11)); in SetUp() 189 ASSERT_TRUE (crm_map_.StoreRange(30, 6, 12)); // storable but totally masked in SetUp() 190 ASSERT_TRUE (crm_map_.StoreRange(40, 8, 13)); // will be totally masked in SetUp() [all …]
|
D | module_comparer.cc | 44 #define ASSERT_TRUE(condition) \ macro 51 #define ASSERT_FALSE(condition) ASSERT_TRUE(!(condition)) 63 ASSERT_TRUE(basic_module->LoadMapFromMemory(buffer.get(), in Compare() 71 ASSERT_TRUE(serialized_data.get()); in Compare() 75 ASSERT_TRUE(fast_module->LoadMapFromMemory(serialized_data.get(), in Compare() 77 ASSERT_TRUE(fast_module->IsCorrupt() == basic_module->IsCorrupt()); in Compare() 81 ASSERT_TRUE(CompareModule(basic_module.get(), fast_module.get())); in Compare() 90 ASSERT_TRUE(basic_module->name_ == fast_module->name_); in CompareModule() 98 ASSERT_TRUE(iter1->first == iter2.GetKey()); in CompareModule() 100 ASSERT_TRUE(iter1->second == tmp); in CompareModule() [all …]
|
D | fast_source_line_resolver_unittest.cc | 197 ASSERT_TRUE(basic_resolver.LoadModule(&module1, symbol_file(1))); in TEST_F() 198 ASSERT_TRUE(basic_resolver.HasModule(&module1)); in TEST_F() 200 ASSERT_TRUE(serializer.ConvertOneModule( in TEST_F() 202 ASSERT_TRUE(fast_resolver.HasModule(&module1)); in TEST_F() 205 ASSERT_TRUE(basic_resolver.LoadModule(&module2, symbol_file(2))); in TEST_F() 206 ASSERT_TRUE(basic_resolver.HasModule(&module2)); in TEST_F() 208 ASSERT_TRUE(serializer.ConvertOneModule( in TEST_F() 210 ASSERT_TRUE(fast_resolver.HasModule(&module2)); in TEST_F() 219 ASSERT_TRUE(frame.function_name.empty()); in TEST_F() 221 ASSERT_TRUE(frame.source_file_name.empty()); in TEST_F() [all …]
|
D | minidump_unittest.cc | 89 ASSERT_TRUE(minidump.Read()); in TEST_F() 99 ASSERT_TRUE(file_stream.good()); in TEST_F() 102 ASSERT_TRUE(file_stream.good()); in TEST_F() 105 ASSERT_TRUE(file_stream.good()); in TEST_F() 107 ASSERT_TRUE(file_stream.good()); in TEST_F() 110 ASSERT_TRUE(stream.good()); in TEST_F() 115 ASSERT_TRUE(minidump.Read()); in TEST_F() 126 ASSERT_TRUE(dump.GetContents(&contents)); in TEST() 129 ASSERT_TRUE(minidump.Read()); in TEST() 137 ASSERT_TRUE(big_minidump.GetContents(&contents)); in TEST() [all …]
|
D | basic_source_line_resolver_unittest.cc | 177 ASSERT_TRUE(resolver.LoadModule(&module1, testdata_dir + "/module1.out")); in TEST_F() 178 ASSERT_TRUE(resolver.HasModule(&module1)); in TEST_F() 180 ASSERT_TRUE(resolver.LoadModule(&module2, testdata_dir + "/module2.out")); in TEST_F() 181 ASSERT_TRUE(resolver.HasModule(&module2)); in TEST_F() 191 ASSERT_TRUE(frame.function_name.empty()); in TEST_F() 193 ASSERT_TRUE(frame.source_file_name.empty()); in TEST_F() 200 ASSERT_TRUE(frame.module); in TEST_F() 207 ASSERT_TRUE(windows_frame_info.get()); in TEST_F() 217 ASSERT_TRUE(VerifyEmpty(frame)); in TEST_F() 224 ASSERT_TRUE(frame.source_file_name.empty()); in TEST_F() [all …]
|
D | address_map_unittest.cc | 41 #define ASSERT_TRUE(condition) \ macro 47 #define ASSERT_FALSE(condition) ASSERT_TRUE(!(condition)) 49 #define ASSERT_EQ(e1, e2) ASSERT_TRUE((e1) == (e2)) 90 ASSERT_TRUE(test_map.Store(1, in DoAddressMapTest() 92 ASSERT_TRUE(test_map.Retrieve(1, &entry, &address)); in DoAddressMapTest() 103 ASSERT_TRUE(test_map.Store(10, in DoAddressMapTest() 106 ASSERT_TRUE(test_map.Retrieve(10, &entry, &address)); in DoAddressMapTest() 110 ASSERT_TRUE(test_map.Retrieve(11, &entry, &address)); in DoAddressMapTest() 111 ASSERT_TRUE(test_map.Retrieve(11, &entry, NULL)); // NULL ok here in DoAddressMapTest() 114 ASSERT_TRUE(test_map.Store(5, in DoAddressMapTest() [all …]
|
/external/clang/unittests/AST/ |
D | DeclPrinterTest.cpp | 175 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST() 183 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST() 191 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST() 200 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST() 209 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST() 217 ASSERT_TRUE(PrintedDeclCXX11Matches( in TEST() 225 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST() 234 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST() 243 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST() 251 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST() [all …]
|
D | CommentParser.cpp | 601 ASSERT_TRUE(HasChildCount(FC, 0)); in TEST_F() 608 ASSERT_TRUE(HasChildCount(FC, 1)); in TEST_F() 610 ASSERT_TRUE(HasParagraphCommentAt(FC, 0, " Meow")); in TEST_F() 619 ASSERT_TRUE(HasChildCount(FC, 1)); in TEST_F() 623 ASSERT_TRUE(GetChildAt(FC, 0, PC)); in TEST_F() 625 ASSERT_TRUE(HasChildCount(PC, 2)); in TEST_F() 626 ASSERT_TRUE(HasTextWithNewlineAt(PC, 0, " Aaa")); in TEST_F() 627 ASSERT_TRUE(HasTextAt(PC, 1, " Bbb")); in TEST_F() 671 ASSERT_TRUE(HasChildCount(FC, 2)); in TEST_F() 673 ASSERT_TRUE(HasParagraphCommentAt(FC, 0, " Aaa")); in TEST_F() [all …]
|
/external/clang/unittests/Driver/ |
D | MultilibTest.cpp | 25 ASSERT_TRUE(Multilib().isValid()) << "Empty multilib is not valid"; in TEST() 27 ASSERT_TRUE(Multilib().flag("+foo").isValid()) in TEST() 30 ASSERT_TRUE(Multilib().flag("-foo").isValid()) in TEST() 36 ASSERT_TRUE(Multilib().flag("+foo").flag("+foo").isValid()) in TEST() 39 ASSERT_TRUE(Multilib().flag("+foo").flag("-foobar").isValid()) in TEST() 45 ASSERT_TRUE(M == M) << "Multilib::operator==() is not reflexive"; in TEST() 49 ASSERT_TRUE(Multilib() == Multilib()) in TEST() 57 ASSERT_TRUE(M1 == M2) << "Multilibs with the same flag should be the same"; in TEST() 79 ASSERT_TRUE(M1 == M2) << "Flag duplication shouldn't affect equivalence"; in TEST() 80 ASSERT_TRUE(M2 == M1) in TEST() [all …]
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | cpu_set_unittest.cc | 65 ASSERT_TRUE(file.IsOk()); in TEST() 68 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST() 74 ASSERT_TRUE(file.IsOk()); in TEST() 77 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST() 83 ASSERT_TRUE(file.IsOk()); in TEST() 86 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST() 92 ASSERT_TRUE(file.IsOk()); in TEST() 95 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST() 101 ASSERT_TRUE(file.IsOk()); in TEST() 104 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); in TEST() [all …]
|
D | proc_cpuinfo_reader_unittest.cc | 65 ASSERT_TRUE(file.IsOk()); in TEST() 74 ASSERT_TRUE(file.IsOk()); in TEST() 78 ASSERT_TRUE(reader.GetNextField(&field)); in TEST() 87 ASSERT_TRUE(file.IsOk()); in TEST() 92 ASSERT_TRUE(reader.GetNextField(&field)); in TEST() 102 ASSERT_TRUE(file.IsOk()); in TEST() 106 ASSERT_TRUE(reader.GetNextField(&field)); in TEST() 110 ASSERT_TRUE(reader.GetNextField(&field)); in TEST() 119 ASSERT_TRUE(file.IsOk()); in TEST() 123 ASSERT_TRUE(reader.GetNextField(&field)); in TEST() [all …]
|
D | line_reader_unittest.cc | 59 ASSERT_TRUE(file.IsOk()); in TEST() 69 ASSERT_TRUE(file.IsOk()); in TEST() 74 ASSERT_TRUE(reader.GetNextLine(&line, &len)); in TEST() 85 ASSERT_TRUE(file.IsOk()); in TEST() 90 ASSERT_TRUE(reader.GetNextLine(&line, &len)); in TEST() 101 ASSERT_TRUE(file.IsOk()); in TEST() 106 ASSERT_TRUE(reader.GetNextLine(&line, &len)); in TEST() 112 ASSERT_TRUE(reader.GetNextLine(&line, &len)); in TEST() 123 ASSERT_TRUE(file.IsOk()); in TEST() 128 ASSERT_TRUE(reader.GetNextLine(&line, &len)); in TEST() [all …]
|
/external/google-breakpad/src/client/windows/unittests/ |
D | exception_handler_death_test.cc | 126 ASSERT_TRUE(DoesPathExist(temp_path_)); in TEST_F() 159 ASSERT_TRUE(client->Register()); in DoCrashAccessViolation() 168 ASSERT_TRUE(out_of_proc_guarantee == OUT_OF_PROC_BEST_EFFORT); in DoCrashAccessViolation() 186 ASSERT_TRUE(exc->IsOutOfProcess()); in DoCrashAccessViolation() 200 ASSERT_TRUE(DoesPathExist(temp_path_)); in TEST_F() 223 ASSERT_TRUE(DoesPathExist(temp_path_)); in TEST_F() 241 ASSERT_TRUE(DoesPathExist(temp_path_)); in TEST_F() 275 ASSERT_TRUE(DoesPathExist(temp_path_)); in TEST_F() 313 ASSERT_TRUE(DoesPathExist(temp_path_)); in TEST_F() 334 ASSERT_TRUE(memory); in TEST_F() [all …]
|
/external/google-breakpad/src/client/mac/tests/ |
D | minidump_generator_test.cc | 100 ASSERT_TRUE(generator.Write(dump_filename.c_str())); in TEST_F() 112 ASSERT_TRUE(minidump.Read()); in TEST_F() 115 ASSERT_TRUE(system_info); in TEST_F() 117 ASSERT_TRUE(raw_info); in TEST_F() 121 ASSERT_TRUE(thread_list); in TEST_F() 125 ASSERT_TRUE(main_thread); in TEST_F() 127 ASSERT_TRUE(context); in TEST_F() 131 ASSERT_TRUE(module_list); in TEST_F() 133 ASSERT_TRUE(main_module); in TEST_F() 184 ASSERT_TRUE(generator.Write(dump_filename.c_str())); in TEST_F() [all …]
|
D | crash_generation_server_test.cc | 110 ASSERT_TRUE(server.Start()); in TEST_F() 111 ASSERT_TRUE(server.Stop()); in TEST_F() 126 ASSERT_TRUE(server.Start()); in TEST_F() 178 ASSERT_TRUE(server.Start()); in TEST_F() 228 ASSERT_TRUE(server.Start()); in TEST_F() 252 ASSERT_TRUE(minidump.Read()); in TEST_F() 255 ASSERT_TRUE(system_info); in TEST_F() 257 ASSERT_TRUE(raw_info); in TEST_F() 261 ASSERT_TRUE(thread_list); in TEST_F() 265 ASSERT_TRUE(main_thread); in TEST_F() [all …]
|
/external/google-breakpad/src/common/ |
D | dwarf_cfi_to_module_unittest.cc | 89 ASSERT_TRUE(handler.Entry(0x3b8961b8, 0xa21069698096fc98ULL, in TEST_F() 91 ASSERT_TRUE(handler.End()); in TEST_F() 101 ASSERT_TRUE(handler.Entry(0xeb60e0fc, 0x75b8806bb09eab78ULL, in TEST_F() 103 ASSERT_TRUE(handler.End()); in TEST_F() 119 ASSERT_TRUE(handler.Entry(0x4445c05c, entry_address, entry_size, in StartEntry() 137 ASSERT_TRUE(handler.UndefinedRule(entry_address, 7)); in TEST_F() 138 ASSERT_TRUE(handler.End()); in TEST_F() 148 ASSERT_TRUE(handler.UndefinedRule(entry_address, 10)); in TEST_F() 149 ASSERT_TRUE(handler.End()); in TEST_F() 157 ASSERT_TRUE(handler.SameValueRule(entry_address, 6)); in TEST_F() [all …]
|
/external/llvm/unittests/ADT/ |
D | IntervalMapTest.cpp | 81 ASSERT_TRUE(I.valid()); in TEST() 94 ASSERT_TRUE(I.valid()); in TEST() 103 ASSERT_TRUE(I.valid()); in TEST() 110 ASSERT_TRUE(I.valid()); in TEST() 116 ASSERT_TRUE(I.valid()); in TEST() 123 ASSERT_TRUE(I.valid()); in TEST() 129 ASSERT_TRUE(I.valid()); in TEST() 204 ASSERT_TRUE(I.valid()); in TEST() 241 ASSERT_TRUE(I.valid()); in TEST() 246 ASSERT_TRUE(I.valid()); in TEST() [all …]
|
/external/google-breakpad/src/common/linux/ |
D | elf_core_dump_unittest.cc | 72 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header) - 1)); in TEST() 73 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)); in TEST() 82 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 83 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)); in TEST() 88 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 89 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)); in TEST() 94 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 95 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)); in TEST() 100 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); in TEST() 101 ASSERT_TRUE(mapped_core_file.Map(core_file, 0)); in TEST() [all …]
|
/external/google-breakpad/src/client/ |
D | minidump_file_writer_unittest.cc | 47 #define ASSERT_TRUE(cond) \ macro 53 #define ASSERT_EQ(e1, e2) ASSERT_TRUE((e1) == (e2)) 54 #define ASSERT_NE(e1, e2) ASSERT_TRUE((e1) != (e2)) 78 ASSERT_TRUE(strings.Allocate()); in WriteFile() 81 ASSERT_TRUE(writer.WriteString(first, 0, &strings.get()->first_string)); in WriteFile() 83 ASSERT_TRUE(writer.WriteString(second, 0, &strings.get()->second_string)); in WriteFile() 88 ASSERT_TRUE(array.AllocateArray(count)); in WriteFile() 94 ASSERT_TRUE(array.CopyIndex(i, &local)); in WriteFile() 99 ASSERT_TRUE(obj_array.AllocateObjectAndArray(count, in WriteFile() 107 ASSERT_TRUE(obj_array.CopyIndexAfterObject(i, &local, sizeof(local))); in WriteFile() [all …]
|
/external/gtest/test/ |
D | gtest-linked_ptr_test.cc | 86 ASSERT_TRUE(a0 == NULL); in TEST_F() 87 ASSERT_TRUE(a1 == NULL); in TEST_F() 88 ASSERT_TRUE(a2 == NULL); in TEST_F() 93 ASSERT_TRUE(a0 == a3); in TEST_F() 94 ASSERT_TRUE(a0 != NULL); in TEST_F() 95 ASSERT_TRUE(a0.get() == a3); in TEST_F() 96 ASSERT_TRUE(a0 == a3.get()); in TEST_F() 100 ASSERT_TRUE(a5.get() != a3); in TEST_F() 101 ASSERT_TRUE(a5 != a3.get()); in TEST_F() 105 ASSERT_TRUE(b0 == a6); in TEST_F() [all …]
|
/external/protobuf/gtest/test/ |
D | gtest-linked_ptr_test.cc | 85 ASSERT_TRUE(a0 == NULL); in TEST_F() 86 ASSERT_TRUE(a1 == NULL); in TEST_F() 87 ASSERT_TRUE(a2 == NULL); in TEST_F() 92 ASSERT_TRUE(a0 == a3); in TEST_F() 93 ASSERT_TRUE(a0 != NULL); in TEST_F() 94 ASSERT_TRUE(a0.get() == a3); in TEST_F() 95 ASSERT_TRUE(a0 == a3.get()); in TEST_F() 99 ASSERT_TRUE(a5.get() != a3); in TEST_F() 100 ASSERT_TRUE(a5 != a3.get()); in TEST_F() 104 ASSERT_TRUE(b0 == a6); in TEST_F() [all …]
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest-linked_ptr_test.cc | 86 ASSERT_TRUE(a0 == NULL); in TEST_F() 87 ASSERT_TRUE(a1 == NULL); in TEST_F() 88 ASSERT_TRUE(a2 == NULL); in TEST_F() 93 ASSERT_TRUE(a0 == a3); in TEST_F() 94 ASSERT_TRUE(a0 != NULL); in TEST_F() 95 ASSERT_TRUE(a0.get() == a3); in TEST_F() 96 ASSERT_TRUE(a0 == a3.get()); in TEST_F() 100 ASSERT_TRUE(a5.get() != a3); in TEST_F() 101 ASSERT_TRUE(a5 != a3.get()); in TEST_F() 105 ASSERT_TRUE(b0 == a6); in TEST_F() [all …]
|
/external/v8/src/compiler/ |
D | simplified-operator-reducer-unittest.cc | 184 ASSERT_TRUE(reduction.Changed()); in TEST_F() 192 ASSERT_TRUE(reduction0.Changed()); in TEST_F() 200 ASSERT_TRUE(reduction1.Changed()); in TEST_F() 214 ASSERT_TRUE(reduction.Changed()); in TEST_F() 222 ASSERT_TRUE(reduction.Changed()); in TEST_F() 230 ASSERT_TRUE(reduction.Changed()); in TEST_F() 242 ASSERT_TRUE(reduction.Changed()); in TEST_F() 250 ASSERT_TRUE(reduction.Changed()); in TEST_F() 260 ASSERT_TRUE(reduction.Changed()); in TEST_F() 273 ASSERT_TRUE(reduction.Changed()); in TEST_F() [all …]
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 132 ASSERT_TRUE(WIFSIGNALED(status)); in WaitForProcessToTerminate() 145 ASSERT_TRUE(pfd.revents & POLLIN); in ReadMinidumpPathFromPipe() 320 ASSERT_TRUE(InstallRaiseSIGKILL()); in TEST() 332 ASSERT_TRUE(InstallRaiseSIGKILL()); in TEST() 344 ASSERT_TRUE(InstallRaiseSIGKILL()); in TEST() 356 ASSERT_TRUE(InstallRaiseSIGKILL()); in TEST() 385 ASSERT_TRUE(InstallRaiseSIGKILL()); in TEST() 542 ASSERT_TRUE(minidump.Read()); in TEST() 546 ASSERT_TRUE(exception); in TEST() 547 ASSERT_TRUE(memory_list); in TEST() [all …]
|