Home
last modified time | relevance | path

Searched refs:ASSERT_TRUE (Results 1 – 25 of 1093) sorted by relevance

12345678910>>...44

/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp73 ASSERT_TRUE(Mod != nullptr); in TEST()
78 ASSERT_TRUE(V); in TEST()
80 ASSERT_TRUE(isa<ConstantFP>(V)); in TEST()
84 ASSERT_TRUE(V); in TEST()
86 ASSERT_TRUE(isa<ConstantInt>(V)); in TEST()
90 ASSERT_TRUE(V); in TEST()
92 ASSERT_TRUE(isa<ConstantDataVector>(V)); in TEST()
95 ASSERT_TRUE(V); in TEST()
96 ASSERT_TRUE(isa<ConstantInt>(V)); in TEST()
99 ASSERT_TRUE(V); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/AsmParser/
DAsmParserTest.cpp73 ASSERT_TRUE(Mod != nullptr); in TEST()
78 ASSERT_TRUE(V); in TEST()
80 ASSERT_TRUE(isa<ConstantFP>(V)); in TEST()
84 ASSERT_TRUE(V); in TEST()
86 ASSERT_TRUE(isa<ConstantInt>(V)); in TEST()
90 ASSERT_TRUE(V); in TEST()
92 ASSERT_TRUE(isa<ConstantDataVector>(V)); in TEST()
95 ASSERT_TRUE(V); in TEST()
96 ASSERT_TRUE(isa<ConstantInt>(V)); in TEST()
99 ASSERT_TRUE(V); in TEST()
[all …]
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc83 ASSERT_TRUE(task_runner_->BelongsToCurrentThread()); in RecordChange()
84 ASSERT_TRUE(delegates_.count(delegate)); in RecordChange()
161 ASSERT_TRUE(android::GetExternalStorageDirectory(&parent_dir)); in SetUp()
162 ASSERT_TRUE(temp_dir_.CreateUniqueTempDirUnderPath(parent_dir)); in SetUp()
164 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); in SetUp()
232 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
234 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
235 ASSERT_TRUE(WaitForEvents()); in TEST_F()
240 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
244 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
[all …]
/external/clang/unittests/AST/
DDeclPrinterTest.cpp186 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST()
194 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST()
202 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST()
211 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST()
220 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST()
228 ASSERT_TRUE(PrintedDeclCXX11Matches( in TEST()
236 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST()
245 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST()
254 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST()
262 ASSERT_TRUE(PrintedDeclCXX98Matches( in TEST()
[all …]
DCommentParser.cpp601 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/google-breakpad/src/processor/
Dcontained_range_map_unittest.cc41 #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 …]
Dmodule_comparer.cc44 #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 …]
Dstatic_contained_range_map_unittest.cc178 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 …]
Dfast_source_line_resolver_unittest.cc197 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 …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc138 ASSERT_TRUE(key); in TEST()
142 ASSERT_TRUE(EncodeECPrivateKey(&out, key.get())); in TEST()
146 ASSERT_TRUE(pub_key) << "Public key missing"; in TEST()
150 ASSERT_TRUE(x); in TEST()
151 ASSERT_TRUE(y); in TEST()
152 ASSERT_TRUE(EC_POINT_get_affine_coordinates_GFp( in TEST()
156 ASSERT_TRUE(x_hex); in TEST()
157 ASSERT_TRUE(y_hex); in TEST()
171 ASSERT_TRUE(key); in TEST()
178 ASSERT_TRUE(key); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/
DMachineOperandTest.cpp32 ASSERT_TRUE(MO.isImm()); in TEST()
33 ASSERT_TRUE(MO.getImm() == 50); in TEST()
42 ASSERT_TRUE(MO.isTargetIndex()); in TEST()
43 ASSERT_TRUE(MO.getIndex() == 74); in TEST()
44 ASSERT_TRUE(MO.getOffset() == 57); in TEST()
45 ASSERT_TRUE(MO.getTargetFlags() == 12); in TEST()
54 ASSERT_TRUE(MO.isRegMask()); in TEST()
55 ASSERT_TRUE(MO.getRegMask() == &Dummy); in TEST()
62 ASSERT_TRUE(OS.str() == "<regmask ...>"); in TEST()
74 ASSERT_TRUE(MO.isReg()); in TEST()
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc188 ASSERT_TRUE(a); in TestSum()
189 ASSERT_TRUE(b); in TestSum()
190 ASSERT_TRUE(sum); in TestSum()
193 ASSERT_TRUE(ret); in TestSum()
194 ASSERT_TRUE(BN_add(ret.get(), a.get(), b.get())); in TestSum()
197 ASSERT_TRUE(BN_sub(ret.get(), sum.get(), a.get())); in TestSum()
200 ASSERT_TRUE(BN_sub(ret.get(), sum.get(), b.get())); in TestSum()
206 ASSERT_TRUE(BN_copy(ret.get(), a.get())); in TestSum()
207 ASSERT_TRUE(BN_add(ret.get(), ret.get(), b.get())); in TestSum()
210 ASSERT_TRUE(BN_copy(ret.get(), b.get())); in TestSum()
[all …]
/external/puffin/src/
Dstream_unittest.cc29 ASSERT_TRUE(stream->Seek(0)); in TestRead()
30 ASSERT_TRUE(stream->Read(buf.data(), buf.size())); in TestRead()
38 ASSERT_TRUE(stream->GetSize(&size)); in TestRead()
39 ASSERT_TRUE(stream->Seek(size)); in TestRead()
40 ASSERT_TRUE(stream->Read(tmp.data(), 0)); in TestRead()
46 ASSERT_TRUE(stream->Seek(size - 1)); in TestRead()
47 ASSERT_TRUE(stream->Read(tmp.data(), 0)); in TestRead()
48 ASSERT_TRUE(stream->Read(tmp.data(), 1)); in TestRead()
50 ASSERT_TRUE(stream->Seek(size - 1)); in TestRead()
56 ASSERT_TRUE(stream->Seek(0)); in TestRead()
[all …]
Dpuff_io_unittest.cc22 ASSERT_TRUE(pw.Insert(pd)); in TestLiteralLength()
25 ASSERT_TRUE(pr.GetNext(&pd)); in TestLiteralLength()
36 ASSERT_TRUE(pw.Insert(pd)); in TestLiteralLength()
37 ASSERT_TRUE(pw.Flush()); in TestLiteralLength()
42 ASSERT_TRUE(pw.Insert(pd)); in TestLiteralLength()
44 ASSERT_TRUE(pr.GetNext(&pd)); in TestLiteralLength()
75 ASSERT_TRUE(pw.Insert(pd)); in TEST()
76 ASSERT_TRUE(epw.Insert(pd)); in TEST()
77 ASSERT_TRUE(pw.Flush()); in TEST()
78 ASSERT_TRUE(epw.Flush()); in TEST()
[all …]
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc402 ASSERT_TRUE(key); in TEST_P()
410 ASSERT_TRUE(RSA_encrypt(key.get(), &ciphertext_len, ciphertext, in TEST_P()
417 ASSERT_TRUE(RSA_decrypt(key.get(), &plaintext_len, plaintext, in TEST_P()
424 ASSERT_TRUE(RSA_encrypt(key.get(), &ciphertext_len, ciphertext, in TEST_P()
430 ASSERT_TRUE(RSA_decrypt(key.get(), &plaintext_len, plaintext, in TEST_P()
437 ASSERT_TRUE(RSA_decrypt(key.get(), &plaintext_len, plaintext, in TEST_P()
469 ASSERT_TRUE(rsa); in TEST()
475 ASSERT_TRUE(RSA_decrypt( in TEST()
484 ASSERT_TRUE(rsa); in TEST()
490 ASSERT_TRUE(pub); in TEST()
[all …]
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc70 ASSERT_TRUE(str_serializer.Serialize(value)); in CheckJSONIsStillTheSame()
80 ASSERT_TRUE(list); in ValidateJsonList()
83 ASSERT_TRUE(list->Get(0, &elt)); in ValidateJsonList()
85 ASSERT_TRUE(elt && elt->GetAsInteger(&value)); in ValidateJsonList()
98 ASSERT_TRUE(value); in TEST()
100 ASSERT_TRUE(error_message.empty()); in TEST()
117 ASSERT_TRUE(value); in TEST()
119 ASSERT_TRUE(error_message.empty()); in TEST()
141 ASSERT_TRUE(value); in TEST()
150 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST()
[all …]
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc54 ASSERT_TRUE(CBS_get_u8(&data, &u8)); in TEST()
56 ASSERT_TRUE(CBS_get_u16(&data, &u16)); in TEST()
58 ASSERT_TRUE(CBS_get_u24(&data, &u32)); in TEST()
60 ASSERT_TRUE(CBS_get_u32(&data, &u32)); in TEST()
62 ASSERT_TRUE(CBS_get_u64(&data, &u64)); in TEST()
64 ASSERT_TRUE(CBS_get_last_u8(&data, &u8)); in TEST()
66 ASSERT_TRUE(CBS_get_last_u8(&data, &u8)); in TEST()
80 ASSERT_TRUE(CBS_get_u8_length_prefixed(&data, &prefixed)); in TEST()
82 ASSERT_TRUE(CBS_get_u8(&prefixed, &u8)); in TEST()
84 ASSERT_TRUE(CBS_get_u16_length_prefixed(&data, &prefixed)); in TEST()
[all …]
/external/boringssl/src/crypto/cmac/
Dcmac_test.cc37 ASSERT_TRUE(AES_CMAC(out, key, key_len, msg, msg_len)); in test()
41 ASSERT_TRUE(ctx); in test()
42 ASSERT_TRUE(CMAC_Init(ctx.get(), key, key_len, EVP_aes_128_cbc(), NULL)); in test()
47 ASSERT_TRUE(CMAC_Reset(ctx.get())); in test()
52 ASSERT_TRUE(CMAC_Update(ctx.get(), msg + done, todo)); in test()
57 ASSERT_TRUE(CMAC_Final(ctx.get(), out, &out_len)); in test()
62 ASSERT_TRUE(CMAC_Reset(ctx.get())); in test()
64 ASSERT_TRUE(CMAC_Update(ctx.get(), msg, chunk)); in test()
66 ASSERT_TRUE(ctx2); in test()
67 ASSERT_TRUE(CMAC_CTX_copy(ctx2.get(), ctx.get())); in test()
[all …]
/external/boringssl/src/crypto/evp/
Devp_extra_test.cc378 ASSERT_TRUE(pkey); in TEST()
380 ASSERT_TRUE( in TEST()
382 ASSERT_TRUE(EVP_DigestSignUpdate(md_ctx.get(), kMsg, sizeof(kMsg))); in TEST()
386 ASSERT_TRUE(EVP_DigestSignFinal(md_ctx.get(), NULL, &sig_len)); in TEST()
393 ASSERT_TRUE(EVP_DigestSignFinal(md_ctx.get(), sig.data(), &sig_len)); in TEST()
398 ASSERT_TRUE( in TEST()
400 ASSERT_TRUE(EVP_DigestVerifyUpdate(md_ctx.get(), kMsg, sizeof(kMsg))); in TEST()
401 ASSERT_TRUE(EVP_DigestVerifyFinal(md_ctx.get(), sig.data(), sig_len)); in TEST()
407 ASSERT_TRUE(pkey); in TEST()
408 ASSERT_TRUE( in TEST()
[all …]
/external/boringssl/src/crypto/stack/
Dstack_test.cc83 ASSERT_TRUE(sk); in TEST()
96 ASSERT_TRUE(value); in TEST()
97 ASSERT_TRUE(bssl::PushToStack(sk.get(), std::move(value))); in TEST()
104 ASSERT_TRUE(value); in TEST()
107 ASSERT_TRUE(sk_TEST_INT_insert(sk.get(), value.get(), 4)); in TEST()
114 ASSERT_TRUE(value); in TEST()
117 ASSERT_TRUE(sk_TEST_INT_find(sk.get(), &index, raw)); in TEST()
122 ASSERT_TRUE(value); in TEST()
123 ASSERT_TRUE(sk_TEST_INT_insert(sk.get(), value.get(), 7)); in TEST()
130 ASSERT_TRUE(value); in TEST()
[all …]
/external/clang/unittests/Driver/
DMultilibTest.cpp25 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/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc123 ASSERT_TRUE(ECDSA_SIG_to_bytes(&der, &der_len, ecdsa_sig)); in VerifyECDSASig()
160 ASSERT_TRUE(BN_bn2bin_padded(raw_buf.data(), bn_len, ecdsa_sig->r)); in TestTamperedSig()
161 ASSERT_TRUE(BN_bn2bin_padded(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s)); in TestTamperedSig()
168 ASSERT_TRUE(BN_bin2bn(raw_buf.data(), bn_len, ecdsa_sig->r)); in TestTamperedSig()
169 ASSERT_TRUE(BN_bin2bn(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s)); in TestTamperedSig()
174 ASSERT_TRUE(BN_bin2bn(raw_buf.data(), bn_len, ecdsa_sig->r)); in TestTamperedSig()
175 ASSERT_TRUE(BN_bin2bn(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s)); in TestTamperedSig()
182 ASSERT_TRUE(RAND_bytes(digest, 20)); in TEST()
183 ASSERT_TRUE(RAND_bytes(wrong_digest, 20)); in TEST()
205 ASSERT_TRUE(group); in TEST()
[all …]
/external/google-breakpad/src/client/linux/minidump_writer/
Dcpu_set_unittest.cc65 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 …]
/external/minijail/
Dminijail0_cli_unittest.cc102 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
110 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
113 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
138 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
141 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
165 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
168 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
171 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
186 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
189 ASSERT_TRUE(parse_args_(argv)); in TEST_F()
[all …]
/external/pdfium/fpdfsdk/
Dfpdfannot_embeddertest.cpp32 ASSERT_TRUE(OpenDocument("annotation_highlight_rollover_ap.pdf")); in TEST_F()
34 ASSERT_TRUE(page); in TEST_F()
49 ASSERT_TRUE(OpenDocument("annotation_highlight_long_content.pdf")); in TEST_F()
51 ASSERT_TRUE(page); in TEST_F()
58 ASSERT_TRUE(annot); in TEST_F()
113 ASSERT_TRUE(FPDFAnnot_GetAttachmentPoints(annot, &quadpoints)); in TEST_F()
125 ASSERT_TRUE(OpenDocument("annotation_ink_multiple.pdf")); in TEST_F()
127 ASSERT_TRUE(page); in TEST_F()
134 ASSERT_TRUE(annot); in TEST_F()
155 ASSERT_TRUE(FPDFAnnot_GetRect(annot, &rect)); in TEST_F()
[all …]

12345678910>>...44