Home
last modified time | relevance | path

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

12

/system/timezone/input_tools/android/common/src/test/java/com/android/libcore/timezone/util/
DErrorsTest.java21 import static org.junit.Assert.assertFalse;
34 assertFalse(errors.hasError()); in warnings()
35 assertFalse(errors.hasFatal()); in warnings()
38 assertFalse(errors.isEmpty()); in warnings()
39 assertFalse(errors.hasError()); in warnings()
40 assertFalse(errors.hasFatal()); in warnings()
49 assertFalse(errors.hasError()); in error()
50 assertFalse(errors.hasFatal()); in error()
53 assertFalse(errors.isEmpty()); in error()
55 assertFalse(errors.hasFatal()); in error()
[all …]
/system/extras/simpleperf/scripts/test/
Ddebug_unwind_reporter_test.py30 self.assertFalse('__start_thread' in output)
40 self.assertFalse('sample_time: 626968109563718' in output)
43 self.assertFalse('sample_time: 626968109563718' in output)
49 self.assertFalse('sample_time: 626968109563718' in output)
56 self.assertFalse('sample_time: 626968109563718' in output)
59 self.assertFalse('sample_time: 626968109563718' in output)
64 self.assertFalse('sample_time: 626968109563718' in output)
67 self.assertFalse('sample_time: 626968109563718' in output)
Dreport_lib_test.py119 self.assertFalse(has_art_frame(report_lib))
122 self.assertFalse(has_art_frame(report_lib))
Dapp_profiler_test.py101 self.assertFalse(self.list_lib_on_device(downloader.dir_on_device + name))
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
DTreeNodeTest.java27 import static org.junit.Assert.assertFalse;
93 assertFalse(node1.isLeaf()); in testTreeNode_many()
94 assertFalse(node11.isRoot()); in testTreeNode_many()
95 assertFalse(node11.isLeaf()); in testTreeNode_many()
96 assertFalse(node111.isRoot()); in testTreeNode_many()
110 assertFalse(node11.isLeaf()); in testTreeNode_many()
DCountryZoneUsageTest.java24 import static org.junit.Assert.assertFalse;
41 assertFalse(countryZoneUsage.hasEntry(missingZoneId)); in testNoEntry()
DCountryZoneTreeTest.java28 import static org.junit.Assert.assertFalse;
76 assertFalse(zoneTree.validateNoPriorityClashes().isEmpty()); in testCountryRequiringPriority()
DZoneInfoTest.java30 import static org.junit.Assert.assertFalse;
93 assertFalse(denverPeriodsKey.equals(boisePeriodsKey)); in testCreateKey()
DZoneOffsetPeriodTest.java29 import static org.junit.Assert.assertFalse;
137 assertFalse(honoluluPeriod.equals(phoenixPeriod)); in testEqualPeriods_withoutDstTransitions()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DUtilsTest.java32 import static org.junit.Assert.assertFalse;
58 assertFalse(Utils.allLowerCaseAscii(list("one", "a", "Z"))); in allLowerCaseAscii()
59 assertFalse(Utils.allLowerCaseAscii(list("one", "A", "z"))); in allLowerCaseAscii()
60 assertFalse(Utils.allLowerCaseAscii(list("onE", "a", "z"))); in allLowerCaseAscii()
120 assertFalse(Utils.allUnique(list("One", "Two", "One"))); in allUnique()
129 assertFalse(Utils.setEquals(list("One", "Two", "Three"), list("Two", "One"))); in setEquals()
DTzLookupGeneratorTest.java24 import static org.junit.Assert.assertFalse;
77 assertFalse(tzLookupGenerator.execute()); in invalidCountryZonesFile()
98 assertFalse(tzLookupGenerator.execute()); in invalidRulesVersion()
120 assertFalse(tzLookupGenerator.execute()); in countryWithNoTimeZoneMappings()
147 assertFalse(tzLookupGenerator.execute()); in countryWithDuplicateTimeZoneMappings()
172 assertFalse(tzLookupGenerator.execute()); in badDefaultId()
196 assertFalse(tzLookupGenerator.execute()); in explicitDefaultIdInvalid()
257 assertFalse(tzLookupGenerator.execute()); in countryZonesContainsNonLowercaseIsoCode()
281 assertFalse(tzLookupGenerator.execute()); in countryZonesContainsDuplicate()
302 assertFalse(tzLookupGenerator.execute()); in countryZonesAndZoneTabCountryMismatch()
[all …]
/system/timezone/distro/core/src/test/com/android/timezone/distro/
DFileUtilsTest.java90 assertFalse(FileUtils.isSymlink(dir)); in testIsSymlink()
91 assertFalse(FileUtils.isSymlink(subDir)); in testIsSymlink()
92 assertFalse(FileUtils.isSymlink(fileInSubDir)); in testIsSymlink()
93 assertFalse(FileUtils.isSymlink(normalFile)); in testIsSymlink()
97 assertFalse(FileUtils.isSymlink(normalFileViaSymlink)); in testIsSymlink()
139 assertFalse(subDir.exists()); in testEnsureDirectoryExists()
168 assertFalse(unreadableSubDir.canRead() && unreadableSubDir.canExecute()); in testEnsureDirectoriesExist_noPermissions()
169 assertFalse(toCreate.exists()); in testEnsureDirectoriesExist_noPermissions()
180 assertFalse(exists1.exists()); in testEnsureFileDoesNotExist()
186 assertFalse(symlink.exists()); in testEnsureFileDoesNotExist()
[all …]
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubBadNanoAppsTestExecutor.java71 Assert.assertFalse("Invalid nanoapp binary (" + numBytes in runInvalidBinaryTest()
75 Assert.assertFalse("Invalid nanoapp binary (" + numBytes + " bytes) successfully loaded", in runInvalidBinaryTest()
DContextHubEventBetweenAppsTestExecutor.java77 assertFalse("Multiple CONTINUE messages from app 0x" + Long.toHexString(nanoAppId), in handleMessageFromNanoApp()
90 assertFalse( in handleMessageFromNanoApp()
DContextHubNanoAppInfoEventsTestExecutor.java92 assertFalse("Too much data provided in CONTINUE message", buffer.hasRemaining()); in handleMessageFromNanoApp()
DContextHubGeneralTestExecutor.java193 Assert.assertFalse("init() must not be invoked when already initialized", mInitialized); in init()
318 protected void assertFalse(String errorMessage, boolean condition) { in assertFalse() method in ContextHubGeneralTestExecutor
/system/tools/aidl/tests/java/src/android/aidl/tests/
DUnionTests.java20 import static org.junit.Assert.assertFalse;
111 assertFalse(a.equals(b)); in shouldBeDifferent()
112 assertFalse(b.equals(a)); in shouldBeDifferent()
113 assertFalse(a.hashCode() == b.hashCode()); in shouldBeDifferent()
/system/timezone/apex/tests/src/java/android/tzdata/mts/
DTimeZoneRulesTest.java19 import static org.junit.Assert.assertFalse;
57 assertFalse(tz.inDaylightTime(new Date(beforeFirstTransitionTimeMillis))); in preHistoricInDaylightTime()
74 assertFalse(tz.useDaylightTime()); in minimalTransitionZones()
75 assertFalse(tz.inDaylightTime(new Date(Integer.MIN_VALUE))); in minimalTransitionZones()
76 assertFalse(tz.inDaylightTime(new Date(0))); in minimalTransitionZones()
77 assertFalse(tz.inDaylightTime(new Date(Integer.MAX_VALUE))); in minimalTransitionZones()
235 assertFalse(timeZone.inDaylightTime(new Date(winterTimeMillis))); in dstMeansSummer()
255 assertFalse(timeZone.inDaylightTime(new Date(winterTimeMillis))); in dstMeansSummer()
/system/extras/tests/bootloader/
Dhaltest.py51 self.assertFalse(self.bootctl.is_slot_marked_successful(slot))
100 self.assertFalse(self.bootctl.is_slot_bootable(new_slot))
106 self.assertFalse(self.bootctl.is_slot_bootable(new_slot))
/system/timezone/input_tools/android/common/src/testing/java/com/android/libcore/timezone/testing/
DTestUtils.java29 import static org.junit.Assert.assertFalse;
69 assertFalse(s + " must not contain " + absent, s.contains(absent)); in assertAbsent()
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java535 assertFalse(workingDir.exists()); in testStageUninstall_oldDirsAlreadyExists()
536 assertFalse(oldStagedDataDir.exists()); in testStageUninstall_oldDirsAlreadyExists()
687 assertFalse(stagedDistroOperation.isUninstall); in assertInstallDistroStaged()
713 assertFalse(workingDir.exists()); in assertInstallDistroStaged()
740 assertFalse(stagedTzDataDir.exists()); in assertNoDistroOperationStaged()
744 assertFalse(workingDir.exists()); in assertNoDistroOperationStaged()
747 assertFalse(oldDataDir.exists()); in assertNoDistroOperationStaged()
764 assertFalse(workingDir.exists()); in assertDistroUninstallStaged()
767 assertFalse(oldDataDir.exists()); in assertDistroUninstallStaged()
772 assertFalse(currentTzDataDir.exists()); in simulateInstalledDistro()
[all …]
/system/timezone/input_tools/android/telephonylookup_generator/src/test/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupGeneratorTest.java22 import static org.junit.Assert.assertFalse;
60 assertFalse(telephonyLookupGenerator.execute()); in invalidTelephonyLookupFile()
145 assertFalse(telephonyLookupGenerator.execute()); in checkGenerationFails()
/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
DContextHubChrePermissionsTestExecutor.java134 Assert.assertFalse(mHubResetDuringTest.get()); in deinit()
DContextHubFrameworkPermissionsTestExecutor.java149 Assert.assertFalse(mHubResetDuringTest.get()); in permissionsDisabledTest()
/system/extras/ext4_utils/
Dtest_mkuserimg_mke2fs.py45 self.assertFalse(args.android_sparse)

12