Home
last modified time | relevance | path

Searched refs:assertFalse (Results 1 – 25 of 69) sorted by relevance

123

/test/vts/utils/python/common/
Dcmd_result_test.py68 self.assertFalse(self.res_single_no_error[cmd_utils.STDERR][0])
69 self.assertFalse(any(self.res_single_no_error[cmd_utils.STDERR]))
70 self.assertFalse(self.res_single_no_error[cmd_utils.EXIT_CODE][0])
71 self.assertFalse(any(self.res_single_no_error[cmd_utils.EXIT_CODE]))
82 self.assertFalse(True, "wrong key should raise KeyError exception")
88 self.assertFalse(any(self.res_multiple_no_error[cmd_utils.STDERR]))
89 self.assertFalse(any(self.res_multiple_no_error[cmd_utils.EXIT_CODE]))
99 self.assertFalse(any(self.res_multiple_one_stderr_only[cmd_utils.EXIT_CODE]))
/test/vts/utils/python/instrumentation/
Dtest_framework_instrumentation_test.py49 self.assertFalse(event.Match('3', category))
80 self.assertFalse(tfi.categories.Add('', self.name))
81 self.assertFalse(tfi.categories.Add(None, self.name))
82 self.assertFalse(tfi.categories.Add('1a', self.name))
97 self.assertFalse(bool(tfie.event_stack))
116 self.assertFalse(bool(tfie.event_stack))
137 self.assertFalse(event._enable_logging)
147 self.assertFalse(event._enable_logging)
158 self.assertFalse(event._disable_subevent_logging)
166 self.assertFalse(event._disable_subevent_logging)
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DConsoleReporterTest.java20 import static org.junit.Assert.assertFalse;
112 assertFalse(mReporter.getTestFailed()); in runTests()
116 assertFalse(mReporter.getTestFailed()); in runTests()
122 assertFalse(mReporter.getTestFailed()); in runTests()
128 assertFalse(mReporter.getTestFailed()); in runTests()
130 assertFalse(mReporter.getTestFailed()); in runTests()
DChecksumReporterTest.java129 assertFalse("Checksum should contain module: " + module.getName(), in testInvalidChecksums()
133 assertFalse("Checksum should not contain test: " + mFailedTest.getName(), in testInvalidChecksums()
135 assertFalse("Module checksum should verify number of tests", in testInvalidChecksums()
173 assertFalse("Should not contain non-existent file", in testFileCRCOperations()
180 assertFalse("Should not contain file created after crc calculated", in testFileCRCOperations()
/test/vts/utils/python/coverage/
Dgcno_parser_test.py144 self.assertFalse(func.blocks[0].exit_arcs[0].on_tree)
145 self.assertFalse(func.blocks[0].exit_arcs[0].fake)
146 self.assertFalse(func.blocks[0].exit_arcs[0].fallthrough)
149 self.assertFalse(func.blocks[0].exit_arcs[1].fake)
150 self.assertFalse(func.blocks[0].exit_arcs[1].fallthrough)
152 self.assertFalse(func.blocks[0].exit_arcs[2].on_tree)
154 self.assertFalse(func.blocks[0].exit_arcs[2].fallthrough)
156 self.assertFalse(func.blocks[0].exit_arcs[3].on_tree)
157 self.assertFalse(func.blocks[0].exit_arcs[3].fake)
/test/vts/utils/python/library/
Delf_parser_test.py72 self.assertFalse(_SECTION_NAMES.difference(sh_names))
96 self.assertFalse(_EXPORTED_SYMBOLS.difference(sym_names))
108 self.assertFalse(_RELOCATIONS.difference(relocs))
131 self.assertFalse(is_executable)
146 self.assertFalse(self.elf_file.MatchCpuAbi("x86"))
157 self.assertFalse(_EXPORTED_SYMBOLS.difference(syms))
/test/vts/testcases/codelab/hello_world_multi/
DVtsCodelabHelloWorldMultiDeviceTest.py47 asserts.assertFalse(
50 asserts.assertFalse(
61 asserts.assertFalse(
64 asserts.assertFalse(
/test/vts/testcases/host/fmq_hidl_test/
DVtsHalTestsMsgqV1_0HostTest.py194 asserts.assertFalse(
211 asserts.assertFalse(
244 asserts.assertFalse(
249 asserts.assertFalse(
267 asserts.assertFalse(
395 asserts.assertFalse(
418 asserts.assertFalse(
449 asserts.assertFalse(
454 asserts.assertFalse(
478 asserts.assertFalse(
[all …]
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/
DAppCompatibilityTestTest.java19 import static org.junit.Assert.assertFalse;
286 assertFalse(mSut.filterTest("filter_one")); in filterTest_withUnrelatedIncludeFilter()
293 assertFalse(mSut.filterTest("filter_one")); in filterTest_withRelatedExcludeFilter()
308 assertFalse(mSut.filterTest("filter_one")); in filterTest_withSameIncludeAndExcludeFilters()
316 assertFalse(mSut.filterTest("filter_two")); in filterTest_withUnrelatedIncludeFilterAndRelatedExcludeFilter()
332 assertFalse(mSut.filterTest("filter_three")); in filterTest_withUnRelatedIncludeFilterAndUnrelatedExcludeFilter()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DBackupUtilsTest.java19 import static org.junit.Assert.assertFalse;
86 assertFalse(backupUtils.enableBackup(true)); in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
124 assertFalse(backupUtils.enableBackup(false)); in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse()
173 assertFalse(mIsEnableCommandCalled); in testEnableBackup_whenQueryCommandThrows_propagatesException()
229 assertFalse(mIsEnableCommandCalled); in testEnableBackup_whenQueryCommandReturnsInvalidString_throwsException()
257 assertFalse(mIsEnableCommandCalled); in testEnableBackup_whenQueryCommandReturnsEmptyString_throwsException()
486 assertFalse(backupUtils.activateBackupForUser(true, TEST_USER_ID));
526 assertFalse(backupUtils.activateBackupForUser(false, TEST_USER_ID));
DCrashUtilsTest.java101 Assert.assertFalse(CrashUtils.securityCrashDetected(mCrashes, new CrashUtils.Config() in testMissingName()
108 Assert.assertFalse(CrashUtils.securityCrashDetected(mCrashes, new CrashUtils.Config() in testSIGABRT()
115 Assert.assertFalse(CrashUtils.securityCrashDetected(mCrashes, new CrashUtils.Config() in testFaultAddressBelowMin()
129 Assert.assertFalse(CrashUtils.securityCrashDetected(mCrashes, new CrashUtils.Config() in testBadAbortMessage()
DBusinessLogicTest.java20 import static junit.framework.Assert.assertFalse;
146 assertFalse("Wrong negation value for business logic rule condition", in testCorrectLogic()
172 assertFalse("Wrong negation value for business logic rule condition", in testCorrectLogic()
195 assertFalse("Wrong negation value for business logic rule condition", in testCorrectLogic()
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/
DPollingCheckTest.java20 import static org.junit.Assert.assertFalse;
54 assertFalse( in testCheckTimeout()
61 assertFalse( in testCheckFailure()
/test/vts-testcase/hal/media/omx/V1_0/host_omxstore/
DVtsHalMediaOmxStoreV1_0HostTest.py305 asserts.assertFalse(
338 asserts.assertFalse(
359 asserts.assertFalse(
425 asserts.assertFalse(
458 asserts.assertFalse(
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/
DCmdUtilTest.java19 import static org.junit.Assert.assertFalse;
83 assertFalse(mCmdUtil.waitCmdResultWithDelay(mDevice, TEST_CMD, mCheckEmpty)); in testWaitCmdSuccessFail()
103 assertFalse(mCmdUtil.retry(mDevice, RUN_CMD, TEST_CMD, mCheckEmpty)); in testRetryFail()
DProcessHelperTest.java20 import static org.junit.Assert.assertFalse;
127 assertFalse(mProcessHelper.isRunning()); in testSuccess()
140 assertFalse(mProcessHelper.isRunning()); in testFailure()
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/testtype/
DAppLaunchTestTest.java29 import static org.junit.Assert.assertFalse;
268 assertFalse(sut.inFilter("filter_one")); in inFilter_withUnrelatedIncludeFilter()
277 assertFalse(sut.inFilter("filter_one")); in inFilter_withRelatedExcludeFilter()
296 assertFalse(sut.inFilter("filter_one")); in inFilter_withSameIncludeAndExcludeFilters()
306 assertFalse(sut.inFilter("filter_two")); in inFilter_withUnrelatedIncludeFilterAndRelatedExcludeFilter()
326 assertFalse(sut.inFilter("filter_three")); in inFilter_withUnrelatedIncludeFilterAndUnrelatedExcludeFilter()
/test/vti/test_serving/gae/webapp/src/endpoint/
Dendpoint_base_test.py124 self.assertFalse(more)
145 self.assertFalse(more)
181 self.assertFalse(more)
212 self.assertFalse(more)
/test/vts/testcases/codelab/fmq_test/
DVtsCodelabFmqTest.py204 asserts.assertFalse(read_success,
216 asserts.assertFalse(
224 asserts.assertFalse(
280 asserts.assertFalse(
312 asserts.assertFalse(
/test/framework/harnesses/host_controller/command_processor/
Dcommand_upload_test.py107 self.assertFalse(mock_build_sched_config_pb2.has_radio_img)
222 self.assertFalse(ret)
235 self.assertFalse(ret)
250 self.assertFalse(ret)
290 self.assertFalse(ret)
Dcommand_reproduce_test.py209 self.assertFalse(ret)
241 self.assertFalse(ret)
277 self.assertFalse(ret)
287 self.assertFalse(ret)
/test/vti/dashboard/src/test/java/com/android/vts/util/
DProfilingPointSummaryTest.java20 import static org.junit.Assert.assertFalse;
100 assertFalse(summary.hasLabel("bad label")); in testInvalidHasLabel()
148 assertFalse(summary.hasLabel(labels[i])); in testUpdateLabelGrouped()
/test/app_compat/csuite/tools/script/
Dgenerate_module_unittest.py197 self.assertFalse(os.path.exists(existing_package_file1))
198 self.assertFalse(os.path.exists(existing_package_file2))
199 self.assertFalse(os.path.exists(package_dir))
/test/vti/dashboard/src/test/java/com/android/vts/entity/
DTestAcknowledgmentEntityTest.java105 Assert.assertFalse(e.hasProperty(TestAcknowledgmentEntity.BRANCHES)); in testEntitySerializationWithNulls()
106 Assert.assertFalse(e.hasProperty(TestAcknowledgmentEntity.DEVICES)); in testEntitySerializationWithNulls()
107 Assert.assertFalse(e.hasProperty(TestAcknowledgmentEntity.TEST_CASE_NAMES)); in testEntitySerializationWithNulls()
108 Assert.assertFalse(e.hasProperty(TestAcknowledgmentEntity.NOTE)); in testEntitySerializationWithNulls()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestTest.java19 import static org.junit.Assert.assertFalse;
274 assertFalse("VtsMultiDeviceTest runner fails to delete vtsRunnerLogDir",
319 assertFalse("VtsMultiDeviceTest runner fails to delete vtsRunnerLogDir",
370 assertFalse("VtsMultiDeviceTest runner fails to delete vtsRunnerLogDir",

123