HomeSort by relevance Sort by last modified time
    Searched full:assert_true (Results 1 - 25 of 1832) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/compile/mclinker/unittests/
StaticResolverTest.cpp 53 ASSERT_TRUE(mcld::ResolveInfo::Define == new_sym->desc());
54 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc());
55 ASSERT_TRUE(mcld::ResolveInfo::define_flag == new_sym->info());
56 ASSERT_TRUE(mcld::ResolveInfo::define_flag == old_sym->info());
59 ASSERT_TRUE(result);
78 ASSERT_TRUE(mcld::ResolveInfo::Global == new_sym->binding());
79 ASSERT_TRUE(mcld::ResolveInfo::Global == old_sym->binding());
80 ASSERT_TRUE(mcld::ResolveInfo::Undefined == new_sym->desc());
81 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc());
85 ASSERT_TRUE(result)
    [all...]
GraphTest.cpp 43 ASSERT_TRUE(NULL == u1->first_in);
44 ASSERT_TRUE(NULL == u1->first_out);
45 ASSERT_TRUE(u2 == u1->prev);
46 ASSERT_TRUE(NULL == u1->next);
48 ASSERT_TRUE(NULL == u2->first_in);
49 ASSERT_TRUE(NULL == u2->first_out);
50 ASSERT_TRUE(u3 == u2->prev);
51 ASSERT_TRUE(u1 == u2->next);
53 ASSERT_TRUE(NULL == u3->first_in);
54 ASSERT_TRUE(NULL == u3->first_out)
    [all...]
  /cts/suite/audio_quality/test/
TaskCaseTest.cpp 30 ASSERT_TRUE(mTaskCase != NULL);
49 ASSERT_TRUE(mTaskCase->registerBuffer(BUFFER1, buffer1));
50 ASSERT_TRUE(mTaskCase->registerBuffer(BUFFER2, buffer2));
51 ASSERT_TRUE(mTaskCase->registerBuffer(BUFFER3, buffer3));
52 ASSERT_TRUE(mTaskCase->registerBuffer(BUFFER4, buffer4));
56 ASSERT_TRUE(buffer1.get() == buffer1f.get());
59 ASSERT_TRUE(buffer1f.get() == NULL);
62 ASSERT_TRUE(list != NULL);
63 ASSERT_TRUE(((list->front().second.get() == buffer1.get()) &&
76 ASSERT_TRUE(!(val1 == val2))
    [all...]
TaskTest.cpp 71 ASSERT_TRUE(mTestCase->addChild(mTaskSetup));
72 ASSERT_TRUE(mTestCase->addChild(mTaskAction));
74 ASSERT_TRUE(mTaskAction->addChild(mTaskSequential));
78 ASSERT_TRUE(mTaskSequential->addChild(mTaskOutput));
79 ASSERT_TRUE(mTaskSequential->addChild(mTaskInput));
80 ASSERT_TRUE(mTaskSequential->addChild(mTaskProcess));
82 ASSERT_TRUE(mTaskSetup->addChild(mTaskSound));
83 ASSERT_TRUE(TestTaskDummy::mLiveInstanceCounter == 7);
90 ASSERT_TRUE(TestTaskDummy::mLiveInstanceCounter == 0);
99 ASSERT_TRUE(mTaskSetup->getTestCase() == mTestCase)
    [all...]
StringUtilTest.cpp 27 ASSERT_TRUE(StringUtil::compare(str, "hello") == 0);
28 ASSERT_TRUE(StringUtil::compare(str, "hi") != 0);
35 ASSERT_TRUE(StringUtil::compare(sub1, "hello") == 0);
38 ASSERT_TRUE(StringUtil::compare(sub2, "e") == 0);
41 ASSERT_TRUE(StringUtil::compare(sub3, "there") == 0);
44 ASSERT_TRUE(sub4.length() == 0);
49 ASSERT_TRUE(StringUtil::endsWith(str, "there"));
50 ASSERT_TRUE(StringUtil::endsWith(str, "hello there"));
51 ASSERT_TRUE(!StringUtil::endsWith(str, "not there"));
57 ASSERT_TRUE(tokens != NULL)
    [all...]
  /external/libchrome/base/files/
file_path_watcher_unittest.cc 81 ASSERT_TRUE(task_runner_->BelongsToCurrentThread());
82 ASSERT_TRUE(delegates_.count(delegate));
156 ASSERT_TRUE(android::GetExternalStorageDirectory(&parent_dir));
157 ASSERT_TRUE(temp_dir_.CreateUniqueTempDirUnderPath(parent_dir));
159 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
224 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false));
226 ASSERT_TRUE(WriteFile(test_file(), "content"));
227 ASSERT_TRUE(WaitForEvents());
232 ASSERT_TRUE(WriteFile(test_file(), "content"));
236 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false))
    [all...]
  /external/llvm/unittests/AsmParser/
AsmParserTest.cpp 73 ASSERT_TRUE(Mod != nullptr);
78 ASSERT_TRUE(V);
80 ASSERT_TRUE(isa<ConstantFP>(V));
84 ASSERT_TRUE(V);
86 ASSERT_TRUE(isa<ConstantInt>(V));
90 ASSERT_TRUE(V);
92 ASSERT_TRUE(isa<ConstantDataVector>(V));
95 ASSERT_TRUE(V);
96 ASSERT_TRUE(isa<ConstantInt>(V));
99 ASSERT_TRUE(V)
    [all...]
  /system/extras/simpleperf/
workload_test.cpp 27 ASSERT_TRUE(loop.AddSignalEvent(SIGCHLD, [&]() {
31 ASSERT_TRUE(workload != nullptr);
32 ASSERT_TRUE(workload->GetPid() != 0);
33 ASSERT_TRUE(workload->Start());
34 ASSERT_TRUE(loop.RunLoop());
39 ASSERT_TRUE(workload != nullptr);
46 ASSERT_TRUE(loop.AddSignalEvent(SIGCHLD, [&]() {
50 ASSERT_TRUE(workload != nullptr);
51 ASSERT_TRUE(workload->Start());
53 ASSERT_TRUE(loop.RunLoop())
    [all...]
record_lib_test.cpp 29 ASSERT_TRUE(IsEventSupported("cpu-cycles"));
30 ASSERT_TRUE(IsEventSupported("cpu-cycles:u"));
31 ASSERT_TRUE(IsEventSupported("cpu-cycles:k"));
42 ASSERT_TRUE(perf);
43 ASSERT_TRUE(perf->AddEvent("cpu-cycles"));
44 ASSERT_TRUE(perf->AddEvent("cpu-cycles:u"));
45 ASSERT_TRUE(perf->AddEvent("cpu-cycles:k"));
46 ASSERT_TRUE(perf->MonitorCurrentProcess());
47 ASSERT_TRUE(perf->StartCounters());
49 ASSERT_TRUE(perf->StopCounters())
    [all...]
  /external/puffin/src/
bit_io_unittest.cc 22 ASSERT_TRUE(bw.WriteBits(0, 0x05));
23 ASSERT_TRUE(bw.WriteBits(3, 0x05));
24 ASSERT_TRUE(bw.WriteBits(8, 0xFF));
25 ASSERT_TRUE(bw.WriteBoundaryBits(0x0F));
28 ASSERT_TRUE(bw.WriteBytes(2, [&tmp, &index](uint8_t* buffer, size_t count) {
35 ASSERT_TRUE(bw.WriteBits(4, 0x0A));
36 ASSERT_TRUE(bw.WriteBoundaryBits(0xBB));
37 ASSERT_TRUE(bw.Flush());
41 ASSERT_TRUE(br.CacheBits(11));
49 ASSERT_TRUE(br.GetByteReaderFn(2, &read_fn))
    [all...]
stream_unittest.cc 30 ASSERT_TRUE(stream->Seek(0));
31 ASSERT_TRUE(stream->Read(buf.data(), buf.size()));
39 ASSERT_TRUE(stream->GetSize(&size));
40 ASSERT_TRUE(stream->Seek(size));
41 ASSERT_TRUE(stream->Read(tmp.data(), 0));
47 ASSERT_TRUE(stream->Seek(size - 1));
48 ASSERT_TRUE(stream->Read(tmp.data(), 0));
49 ASSERT_TRUE(stream->Read(tmp.data(), 1));
51 ASSERT_TRUE(stream->Seek(size - 1));
57 ASSERT_TRUE(stream->Seek(0))
    [all...]
  /system/core/libnativebridge/tests/
NativeBridge2Signal_test.cpp 28 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary2, nullptr));
29 ASSERT_TRUE(NativeBridgeAvailable());
30 ASSERT_TRUE(PreInitializeNativeBridge(".", "isa"));
31 ASSERT_TRUE(NativeBridgeAvailable());
32 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr));
33 ASSERT_TRUE(NativeBridgeAvailable());
NativeBridge3CreateNamespace_test.cpp 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary3, nullptr));
26 ASSERT_TRUE(NativeBridgeAvailable());
27 ASSERT_TRUE(PreInitializeNativeBridge(".", "isa"));
28 ASSERT_TRUE(NativeBridgeAvailable());
29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr));
30 ASSERT_TRUE(NativeBridgeAvailable());
NativeBridge3GetError_test.cpp 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary3, nullptr));
26 ASSERT_TRUE(NativeBridgeAvailable());
27 ASSERT_TRUE(PreInitializeNativeBridge(".", "isa"));
28 ASSERT_TRUE(NativeBridgeAvailable());
29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr));
30 ASSERT_TRUE(NativeBridgeAvailable());
NativeBridge3InitAnonymousNamespace_test.cpp 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary3, nullptr));
26 ASSERT_TRUE(NativeBridgeAvailable());
27 ASSERT_TRUE(PreInitializeNativeBridge(".", "isa"));
28 ASSERT_TRUE(NativeBridgeAvailable());
29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr));
30 ASSERT_TRUE(NativeBridgeAvailable());
NativeBridge3IsPathSupported_test.cpp 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary3, nullptr));
26 ASSERT_TRUE(NativeBridgeAvailable());
27 ASSERT_TRUE(PreInitializeNativeBridge(".", "isa"));
28 ASSERT_TRUE(NativeBridgeAvailable());
29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr));
30 ASSERT_TRUE(NativeBridgeAvailable());
NativeBridge3LoadLibraryExt_test.cpp 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary3, nullptr));
26 ASSERT_TRUE(NativeBridgeAvailable());
27 ASSERT_TRUE(PreInitializeNativeBridge(".", "isa"));
28 ASSERT_TRUE(NativeBridgeAvailable());
29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr));
30 ASSERT_TRUE(NativeBridgeAvailable());
NativeBridge3UnloadLibrary_test.cpp 25 ASSERT_TRUE(LoadNativeBridge(kNativeBridgeLibrary3, nullptr));
26 ASSERT_TRUE(NativeBridgeAvailable());
27 ASSERT_TRUE(PreInitializeNativeBridge(".", "isa"));
28 ASSERT_TRUE(NativeBridgeAvailable());
29 ASSERT_TRUE(InitializeNativeBridge(nullptr, nullptr));
30 ASSERT_TRUE(NativeBridgeAvailable());
  /external/google-breakpad/src/processor/
module_comparer.cc 44 #define ASSERT_TRUE(condition) \
51 #define ASSERT_FALSE(condition) ASSERT_TRUE(!(condition))
63 ASSERT_TRUE(basic_module->LoadMapFromMemory(buffer.get(),
71 ASSERT_TRUE(serialized_data.get());
75 ASSERT_TRUE(fast_module->LoadMapFromMemory(serialized_data.get(),
77 ASSERT_TRUE(fast_module->IsCorrupt() == basic_module->IsCorrupt());
81 ASSERT_TRUE(CompareModule(basic_module.get(), fast_module.get()));
90 ASSERT_TRUE(basic_module->name_ == fast_module->name_);
98 ASSERT_TRUE(iter1->first == iter2.GetKey());
100 ASSERT_TRUE(iter1->second == tmp)
    [all...]
  /external/perfetto/src/ftrace_reader/
event_info_unittest.cc 31 ASSERT_TRUE(event.name);
32 ASSERT_TRUE(event.group);
33 ASSERT_TRUE(event.proto_field_id);
41 ASSERT_TRUE(field.ftrace_name);
42 ASSERT_TRUE(field.proto_field_id);
43 ASSERT_TRUE(field.proto_field_type);
58 ASSERT_TRUE(field.ftrace_name);
59 ASSERT_TRUE(field.proto_field_id);
60 ASSERT_TRUE(field.proto_field_type);
74 ASSERT_TRUE(SetTranslationStrategy(kFtraceCString, kProtoString, &strategy))
    [all...]
  /external/clang/unittests/AST/
CommentParser.cpp 601 ASSERT_TRUE(HasChildCount(FC, 0));
608 ASSERT_TRUE(HasChildCount(FC, 1));
610 ASSERT_TRUE(HasParagraphCommentAt(FC, 0, " Meow"));
619 ASSERT_TRUE(HasChildCount(FC, 1));
623 ASSERT_TRUE(GetChildAt(FC, 0, PC));
625 ASSERT_TRUE(HasChildCount(PC, 2));
626 ASSERT_TRUE(HasTextWithNewlineAt(PC, 0, " Aaa"));
627 ASSERT_TRUE(HasTextAt(PC, 1, " Bbb"));
671 ASSERT_TRUE(HasChildCount(FC, 2));
673 ASSERT_TRUE(HasParagraphCommentAt(FC, 0, " Aaa"))
    [all...]
  /external/google-breakpad/src/client/linux/minidump_writer/
cpu_set_unittest.cc 65 ASSERT_TRUE(file.IsOk());
68 ASSERT_TRUE(set.ParseSysFile(file.GetFd()));
74 ASSERT_TRUE(file.IsOk());
77 ASSERT_TRUE(set.ParseSysFile(file.GetFd()));
83 ASSERT_TRUE(file.IsOk());
86 ASSERT_TRUE(set.ParseSysFile(file.GetFd()));
92 ASSERT_TRUE(file.IsOk());
95 ASSERT_TRUE(set.ParseSysFile(file.GetFd()));
101 ASSERT_TRUE(file.IsOk());
104 ASSERT_TRUE(set.ParseSysFile(file.GetFd()))
    [all...]
  /art/runtime/
hidden_api_test.cc 148 ASSERT_TRUE(MemberSignature(class1_field1_).DoesPrefixMatch(prefix));
149 ASSERT_TRUE(MemberSignature(class1_field12_).DoesPrefixMatch(prefix));
150 ASSERT_TRUE(MemberSignature(class1_init_).DoesPrefixMatch(prefix));
151 ASSERT_TRUE(MemberSignature(class1_method1_).DoesPrefixMatch(prefix));
152 ASSERT_TRUE(MemberSignature(class1_method1_i_).DoesPrefixMatch(prefix));
153 ASSERT_TRUE(MemberSignature(class12_field1_).DoesPrefixMatch(prefix));
154 ASSERT_TRUE(MemberSignature(class12_method1_).DoesPrefixMatch(prefix));
155 ASSERT_TRUE(MemberSignature(class1_method12_).DoesPrefixMatch(prefix));
156 ASSERT_TRUE(MemberSignature(class2_field1_).DoesPrefixMatch(prefix));
157 ASSERT_TRUE(MemberSignature(class2_method1_).DoesPrefixMatch(prefix))
    [all...]
  /art/oatdump/
oatdump_app_test.cc 23 ASSERT_TRUE(GenerateAppOdexFile(kDynamic, {"--runtime-arg", "-Xmx64M"}, &error_msg)) << error_msg;
24 ASSERT_TRUE(Exec(kDynamic, kModeOatWithBootImage, {}, kListAndCode, &error_msg)) << error_msg;
29 ASSERT_TRUE(GenerateAppOdexFile(kStatic, {"--runtime-arg", "-Xmx64M"}, &error_msg)) << error_msg;
30 ASSERT_TRUE(Exec(kStatic, kModeOatWithBootImage, {}, kListAndCode, &error_msg)) << error_msg;
35 ASSERT_TRUE(
38 ASSERT_TRUE(Exec(kDynamic, kModeOatWithBootImage, {}, kListAndCode, &error_msg)) << error_msg;
43 ASSERT_TRUE(
46 ASSERT_TRUE(Exec(kStatic, kModeOatWithBootImage, {}, kListAndCode, &error_msg)) << error_msg;
  /hardware/libhardware/tests/fingerprint/
fingerprint_tests.cpp 23 ASSERT_TRUE(NULL != fp_device()->enroll)
28 ASSERT_TRUE(NULL != fp_device()->pre_enroll)
33 ASSERT_TRUE(NULL != fp_device()->get_authenticator_id)
38 ASSERT_TRUE(NULL != fp_device()->cancel)
43 ASSERT_TRUE(NULL != fp_device()->remove)
48 ASSERT_TRUE(NULL != fp_device()->authenticate)
53 ASSERT_TRUE(NULL != fp_device()->set_active_group)
58 ASSERT_TRUE(NULL != fp_device()->set_notify)

Completed in 258 milliseconds

1 2 3 4 5 6 7 8 91011>>