HomeSort by relevance Sort by last modified time
    Searched full:assert_true (Results 1 - 25 of 1104) 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...]
TaskSequentialTest.cpp 28 ASSERT_TRUE(mTestCase != NULL);
29 ASSERT_TRUE(setup != NULL);
30 ASSERT_TRUE(action != NULL);
48 ASSERT_TRUE(mSequential->parseAttribute(REPEAT, N_10));
49 ASSERT_TRUE(mSequential->parseAttribute(INDEX, I));
50 ASSERT_TRUE(!mSequential->parseAttribute(NO_SUCH_THING, SHOULD_FAIL));
54 ASSERT_TRUE(indices != NULL);
55 ASSERT_TRUE(indices->size() == 1);
58 ASSERT_TRUE(mTestCase->findIndex(I, index));
59 ASSERT_TRUE(index == 10)
    [all...]
BufferTest.cpp 42 ASSERT_TRUE(buffer.get() != NULL);
44 ASSERT_TRUE(data != NULL);
50 ASSERT_TRUE(buffer->saveToFile(file));
53 ASSERT_TRUE(bufferRead.get() != NULL);
54 ASSERT_TRUE(bufferRead->getSize() == (size_t)BUFFER_SIZE);
55 ASSERT_TRUE(bufferRead->isStereo());
58 ASSERT_TRUE(data[2*i] == dataRead[2*i]);
59 ASSERT_TRUE(data[2*i+1] == dataRead[2*i+1]);
67 ASSERT_TRUE(buffer.get() != NULL);
69 ASSERT_TRUE(data != NULL)
    [all...]
TaskProcessTest.cpp 31 ASSERT_TRUE(mTestCase != NULL);
32 ASSERT_TRUE(setup != NULL);
33 ASSERT_TRUE(action != NULL);
39 ASSERT_TRUE(mSequential->parseAttribute(REPEAT, N_10));
40 ASSERT_TRUE(mSequential->parseAttribute(INDEX, I));
41 ASSERT_TRUE(action->addChild(mSequential));
43 ASSERT_TRUE(mSequential->addChild(mProcess));
AudioRecordPlayTestCommon.h 47 ASSERT_TRUE(mAudioPlaybackHw.get() != NULL);
49 ASSERT_TRUE(mAudioRecordingHw.get() != NULL);
53 ASSERT_TRUE(mBufferPlayback.get() != NULL);
55 ASSERT_TRUE(mBufferRecording.get() != NULL);
66 ASSERT_TRUE(mAudioPlaybackHw->prepare(AudioHardware::ESampleRate_44100, DEFAULT_VOLUME));
67 ASSERT_TRUE(mAudioRecordingHw->prepare(AudioHardware::ESampleRate_44100, DEFAULT_VOLUME));
68 ASSERT_TRUE(mAudioRecordingHw->startPlaybackOrRecord(mBufferRecording,
70 ASSERT_TRUE(mAudioPlaybackHw->startPlaybackOrRecord(mBufferPlayback,
73 ASSERT_TRUE(mAudioRecordingHw->waitForCompletion());
74 ASSERT_TRUE(mAudioPlaybackHw->waitForCompletion())
    [all...]
  /external/libchrome/base/files/
file_path_watcher_unittest.cc 78 ASSERT_TRUE(task_runner_->BelongsToCurrentThread());
79 ASSERT_TRUE(delegates_.count(delegate));
157 ASSERT_TRUE(file_thread_.StartWithOptions(options));
164 ASSERT_TRUE(android::GetExternalStorageDirectory(&parent_dir));
165 ASSERT_TRUE(temp_dir_.CreateUniqueTempDirUnderPath(parent_dir));
167 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
231 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false));
233 ASSERT_TRUE(WriteFile(test_file(), "content"));
234 ASSERT_TRUE(WaitForEvents());
240 ASSERT_TRUE(WriteFile(test_file(), "content"))
    [all...]
  /system/core/metricsd/
timer_test.cc 73 ASSERT_TRUE(timer_.Start());
74 ASSERT_TRUE(timer_.start_time_ == stime);
75 ASSERT_TRUE(timer_.HasStarted());
76 ASSERT_TRUE(timer_.Stop());
80 ASSERT_TRUE(timer_.GetElapsedTime(&elapsed_time));
103 ASSERT_TRUE(timer_.Reset());
114 ASSERT_TRUE(timer_.Start());
115 ASSERT_TRUE(timer_.Stop());
117 ASSERT_TRUE(timer_.Start());
118 ASSERT_TRUE(timer_.start_time_ == stime2)
    [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());
  /bionic/tests/
uniqueptr_test.cpp 44 ASSERT_TRUE(cCount == 1);
46 ASSERT_TRUE(cCount == 0);
51 ASSERT_TRUE(cCount == 1);
54 ASSERT_TRUE(cCount == 1);
59 ASSERT_TRUE(cCount == 1);
61 ASSERT_TRUE(cCount == 1);
63 ASSERT_TRUE(cCount == 0);
72 ASSERT_TRUE(cCount == 4);
74 ASSERT_TRUE(cCount == 0);
78 ASSERT_TRUE(cCount == 4)
    [all...]
dlfcn_test.cpp 55 ASSERT_TRUE(self != nullptr);
56 ASSERT_TRUE(dlerror() == nullptr);
59 ASSERT_TRUE(sym != nullptr);
65 ASSERT_TRUE(g_called);
72 ASSERT_TRUE(handle != nullptr) << dlerror();
76 ASSERT_TRUE(symbol == nullptr);
82 ASSERT_TRUE(lookup_dlsym_symbol_using_RTLD_DEFAULT != nullptr) << dlerror();
85 ASSERT_TRUE(ptr != nullptr) << dlerror();
90 ASSERT_TRUE(lookup_dlsym_symbol2_using_RTLD_DEFAULT != nullptr) << dlerror();
93 ASSERT_TRUE(ptr != nullptr) << dlerror()
    [all...]
  /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...]
contained_range_map_unittest.cc 41 #define ASSERT_TRUE(condition) \
47 #define ASSERT_FALSE(condition) ASSERT_TRUE(!(condition))
61 ASSERT_TRUE (crm.StoreRange(10, 10, 1));
65 ASSERT_TRUE (crm.StoreRange(11, 9, 5)); // contained by existing
66 ASSERT_TRUE (crm.StoreRange(12, 7, 6));
67 ASSERT_TRUE (crm.StoreRange( 9, 12, 7)); // contains existing
68 ASSERT_TRUE (crm.StoreRange( 9, 13, 8));
69 ASSERT_TRUE (crm.StoreRange( 8, 14, 9));
70 ASSERT_TRUE (crm.StoreRange(30, 3, 10));
71 ASSERT_TRUE (crm.StoreRange(33, 3, 11))
    [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/jit/
profile_compilation_info_test.cc 107 ASSERT_TRUE(SaveProfilingInfo(profile.GetFilename(), main_methods, resolved_classes));
111 ASSERT_TRUE(info1.Load(GetFd(profile)));
116 ASSERT_TRUE(info1.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())));
122 ASSERT_TRUE(SaveProfilingInfo(profile.GetFilename(), second_methods, resolved_classes));
126 ASSERT_TRUE(profile.GetFile()->ResetOffset());
127 ASSERT_TRUE(info2.Load(GetFd(profile)));
132 ASSERT_TRUE(info2.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())));
135 ASSERT_TRUE(info2.ContainsMethod(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())));
146 ASSERT_TRUE(AddMethod("dex_location1", /* checksum */ 1, /* method_idx */ i, &saved_info));
147 ASSERT_TRUE(AddMethod("dex_location2", /* checksum */ 2, /* method_idx */ i, &saved_info))
    [all...]
  /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)
  /system/extras/simpleperf/
cmd_record_test.cpp 52 ASSERT_TRUE(RunRecordCmd({}));
57 ASSERT_TRUE(RunRecordCmd({"-a"}));
62 ASSERT_TRUE(RunRecordCmd({"-c", "100000"}));
66 ASSERT_TRUE(RunRecordCmd({"-e", "cpu-clock"}));
70 ASSERT_TRUE(RunRecordCmd({"-f", "99"}));
71 ASSERT_TRUE(RunRecordCmd({"-F", "99"}));
76 ASSERT_TRUE(RecordCmd()->Run({"-o", tmpfile.path, "sleep", SLEEP_SEC}));
81 ASSERT_TRUE(RunRecordCmd({}, tmpfile.path));
83 ASSERT_TRUE(reader != nullptr);
96 ASSERT_TRUE(have_kernel_mmap)
    [all...]
read_apk_test.cpp 27 ASSERT_TRUE(IsValidApkPath(GetTestData(APK_FILE)));
32 ASSERT_TRUE(inspector.FindElfInApkByOffset("/dev/null", 0) == nullptr);
33 ASSERT_TRUE(inspector.FindElfInApkByOffset(GetTestData(APK_FILE), 0) == nullptr);
38 ASSERT_TRUE(ee != nullptr);
45 ASSERT_TRUE(ApkInspector::FindElfInApkByName("/dev/null", "") == nullptr);
46 ASSERT_TRUE(ApkInspector::FindElfInApkByName(GetTestData(APK_FILE), "") == nullptr);
48 ASSERT_TRUE(ee != nullptr);
55 ASSERT_TRUE(GetBuildIdFromApkFile(GetTestData(APK_FILE), NATIVELIB_IN_APK, &build_id));
61 ASSERT_TRUE(ParseSymbolsFromApkFile(GetTestData(APK_FILE), NATIVELIB_IN_APK, native_lib_build_id,
  /system/core/libmemunreachable/tests/
MemUnreachable_test.cpp 57 ASSERT_TRUE(LogUnreachableMemory(true, 100));
59 ASSERT_TRUE(GetUnreachableMemory(info));
72 ASSERT_TRUE(GetUnreachableMemory(info));
81 ASSERT_TRUE(GetUnreachableMemory(info));
90 ASSERT_TRUE(GetUnreachableMemory(info));
103 ASSERT_TRUE(GetUnreachableMemory(info));
112 ASSERT_TRUE(GetUnreachableMemory(info));
121 ASSERT_TRUE(GetUnreachableMemory(info));
136 ASSERT_TRUE(GetUnreachableMemory(info));
145 ASSERT_TRUE(GetUnreachableMemory(info))
    [all...]
  /external/libbrillo/policy/tests/
libpolicy_unittest.cc 58 ASSERT_TRUE(provider.device_policy_is_loaded());
64 ASSERT_TRUE(policy.GetPolicyRefreshRate(&int_value));
68 ASSERT_TRUE(policy.GetUserWhitelist(&list_value));
75 ASSERT_TRUE(policy.GetGuestModeEnabled(&bool_value));
79 ASSERT_TRUE(policy.GetCameraEnabled(&bool_value));
83 ASSERT_TRUE(policy.GetShowUserNames(&bool_value));
87 ASSERT_TRUE(policy.GetDataRoamingEnabled(&bool_value));
91 ASSERT_TRUE(policy.GetAllowNewUsers(&bool_value));
95 ASSERT_TRUE(policy.GetMetricsEnabled(&bool_value));
99 ASSERT_TRUE(policy.GetReportVersionInfo(&bool_value))
    [all...]
  /system/extras/memory_replay/tests/
LineBufferTest.cpp 29 ASSERT_TRUE(tmp_file_->fd != -1);
42 ASSERT_TRUE(TEMP_FAILURE_RETRY(
44 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1));
51 ASSERT_TRUE(line_buf.GetLine(&line, &line_len));
61 ASSERT_TRUE(TEMP_FAILURE_RETRY(
63 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1));
70 ASSERT_TRUE(line_buf.GetLine(&line, &line_len));
82 ASSERT_TRUE(TEMP_FAILURE_RETRY(
84 ASSERT_TRUE(lseek(tmp_file_->fd, 0, SEEK_SET) != off_t(-1));
91 ASSERT_TRUE(line_buf.GetLine(&line, &line_len))
    [all...]

Completed in 344 milliseconds

1 2 3 4 5 6 7 8 91011>>