Home
last modified time | relevance | path

Searched refs:Assert (Results 1 – 25 of 1774) sorted by relevance

12345678910>>...71

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsServTest.java24 import junit.framework.Assert;
98 Assert.assertTrue(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach()
101 Assert.assertFalse(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach()
121 Assert.assertEquals(1010, serv.getStartTime()); in testParceling()
122 Assert.assertEquals(2021, serv.getRunningSince()); in testParceling()
123 Assert.assertTrue(serv.getRunning()); in testParceling()
124 Assert.assertEquals(4042, serv.getStarts()); in testParceling()
125 Assert.assertEquals(5053, serv.getLaunchedTime()); in testParceling()
126 Assert.assertEquals(6064, serv.getLaunchedSince()); in testParceling()
127 Assert.assertTrue(serv.getLaunched()); in testParceling()
[all …]
DBatteryStatsTimeBaseTest.java25 import junit.framework.Assert;
58 Assert.assertEquals(uptime, mUptimeUs); in verify()
59 Assert.assertEquals(realtime, mRealtimeUs); in verify()
60 Assert.assertEquals(running, mRunning); in verify()
61 Assert.assertEquals(pastUptime, mPastUptimeUs); in verify()
62 Assert.assertEquals(uptimeStart, mUptimeStartUs); in verify()
63 Assert.assertEquals(pastRealtime, mPastRealtimeUs); in verify()
64 Assert.assertEquals(realtimeStart, mRealtimeStartUs); in verify()
65 Assert.assertEquals(unpluggedUptime, mUnpluggedUptimeUs); in verify()
66 Assert.assertEquals(unpluggedRealtime, mUnpluggedRealtimeUs); in verify()
[all …]
DBatteryStatsTimerTest.java28 import junit.framework.Assert;
103 Assert.assertEquals(170, timer.lastComputeRunTimeRealtime); in testRunning()
104 Assert.assertEquals(17, timer.getTotalTime()); in testRunning()
105 Assert.assertEquals(3000, timer.getCount()); in testRunning()
128 Assert.assertTrue("parcel null object", parcel.readInt() != 0); in testParceling()
131 Assert.assertEquals(2, timer2.getCount()); // from computeTotalCountLocked() in testParceling()
132 Assert.assertEquals(201, timer2.getTotalTime()); // from computeRunTimeLocked() in testParceling()
133 Assert.assertEquals(9223372036854775803L, timer2.getTimeBeforeMark()); in testParceling()
148 Assert.assertEquals(0, parcel.readInt()); in testParcelingNull()
168 Assert.assertEquals(0, timer.getCount()); in testResetNoDetach()
[all …]
/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/
DTestMain.java16 import org.junit.Assert;
65 Assert.assertEquals(TestTarget.boostCount, 0); in testSimpleSynchronizedBlock()
66 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock()
67 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock()
70 Assert.assertEquals(TestTarget.boostCount, 1); in testSimpleSynchronizedBlock()
71 Assert.assertEquals(TestTarget.unboostCount, 0); in testSimpleSynchronizedBlock()
75 Assert.assertEquals(TestTarget.boostCount, 1); in testSimpleSynchronizedBlock()
76 Assert.assertEquals(TestTarget.unboostCount, 1); in testSimpleSynchronizedBlock()
77 Assert.assertEquals(TestTarget.invokeCount, 1); in testSimpleSynchronizedBlock()
85 Assert.assertEquals(TestTarget.boostCount, 0); in testSimpleSynchronizedMethod()
[all …]
/frameworks/base/tools/powermodel/test/com/android/powermodel/
DPowerProfileTest.java31 import org.junit.Assert;
58 Assert.assertEquals(12.0f, audio.onMa, EPSILON); in testReadGood()
63 Assert.assertEquals(0.02f, bluetooth.idleMa, EPSILON); in testReadGood()
64 Assert.assertEquals(3.0f, bluetooth.rxMa, EPSILON); in testReadGood()
65 Assert.assertEquals(5.0f, bluetooth.txMa, EPSILON); in testReadGood()
69 Assert.assertEquals(941.0f, camera.onMa, EPSILON); in testReadGood()
73 Assert.assertEquals(1.3f, cpu.suspendMa, EPSILON); in testReadGood()
74 Assert.assertEquals(3.9f, cpu.idleMa, EPSILON); in testReadGood()
75 Assert.assertEquals(18.33f, cpu.activeMa, EPSILON); in testReadGood()
76 Assert.assertEquals(2, cpu.clusters.length); in testReadGood()
[all …]
DRawBatteryStatsTest.java24 import org.junit.Assert;
54 Assert.assertEquals(0, bs.getWarnings().size()); in testVersion()
55 Assert.assertEquals(true, line.complete); in testVersion()
57 Assert.assertEquals(9, line.lineVersion); in testVersion()
58 Assert.assertEquals(0, line.uid); in testVersion()
59 Assert.assertEquals(RawBatteryStats.Category.INFO, line.category); in testVersion()
60 Assert.assertEquals("vers", line.lineType); in testVersion()
62 Assert.assertEquals(BS_VERSION, line.dumpsysVersion); in testVersion()
63 Assert.assertEquals(177, line.parcelVersion); in testVersion()
64 Assert.assertEquals("PPR1.180326.002", line.startPlatformVersion); in testVersion()
[all …]
DBatteryStatsReaderTest.java24 import org.junit.Assert;
42 Assert.assertNotNull(global); in testModemGlobal()
46 Assert.assertNotNull(modem); in testModemGlobal()
47 Assert.assertEquals(97840, modem.rxPacketCount); in testModemGlobal()
48 Assert.assertEquals(72941, modem.txPacketCount); in testModemGlobal()
49 Assert.assertEquals(5113727, modem.totalActiveTimeMs); in testModemGlobal()
56 Assert.assertEquals(1, gmailList.size()); in testModemApp()
61 Assert.assertNotNull(modem); in testModemApp()
62 Assert.assertEquals(9925, modem.rxPacketCount); in testModemApp()
63 Assert.assertEquals(5577, modem.txPacketCount); in testModemApp()
[all …]
DPowerReportTest.java24 import org.junit.Assert;
72 Assert.assertEquals(1, gmailList.size()); in testModemApp()
76 Assert.assertNotNull(modem); in testModemApp()
77 Assert.assertEquals(GMAIL_MODEM_MAH, modem.powerMah, EPSILON); in testModemApp()
84 Assert.assertNotNull(remainder); in testModemRemainder()
88 Assert.assertNotNull(modem); in testModemRemainder()
90 Assert.assertArrayEquals(new double[] { in testModemRemainder()
97 Assert.assertEquals(2443805 * 12 / MS_PER_HR, modem.scanningMah, EPSILON); in testModemRemainder()
98 Assert.assertEquals(4923676 * AVERAGE_MODEM_POWER / MS_PER_HR, modem.activeMah, EPSILON); in testModemRemainder()
100 Assert.assertEquals(REMAINDER_MODEM_MAH, modem.powerMah, EPSILON); in testModemRemainder()
[all …]
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpStorageManagerTest.java27 import org.junit.Assert;
83 Assert.fail(); in vWriteNewFile()
130 Assert.assertTrue(TEMP_DIR_FILE.mkdir()); in before()
183 Assert.assertEquals(obj.getName(), mainStorageDir.getPath()); in testMtpObjectGetNameRoot()
193 Assert.assertEquals(stream.get(0).getName(), newFile.getName()); in testMtpObjectGetNameNonRoot()
201 Assert.assertEquals(obj.getId(), mainMtpStorage.getStorageId()); in testMtpObjectGetIdRoot()
211 Assert.assertEquals(stream.get(0).getId(), 1); in testMtpObjectGetIdNonRoot()
219 Assert.assertTrue(obj.isDir()); in testMtpObjectIsDirTrue()
229 Assert.assertFalse(stream.get(0).isDir()); in testMtpObjectIsDirFalse()
239 Assert.assertEquals(stream.get(0).getFormat(), MtpConstants.FORMAT_ASSOCIATION); in testMtpObjectGetFormatDir()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DPackageManagerServiceTest.java23 import static org.junit.Assert.fail;
52 import org.junit.Assert;
124 Assert.assertNull(pri.mRemovedUsers); in testPackageRemoval()
125 Assert.assertNull(pri.mBroadcastUsers); in testPackageRemoval()
129 Assert.assertNull(pri.mBroadcastUsers); in testPackageRemoval()
145 Assert.assertNotNull(pri.mBroadcastUsers); in testPackageRemoval()
146 Assert.assertEquals(5, pri.mBroadcastUsers.length); in testPackageRemoval()
147 Assert.assertNotNull(pri.mInstantUserIds); in testPackageRemoval()
148 Assert.assertEquals(0, pri.mInstantUserIds.length); in testPackageRemoval()
157 Assert.assertNotNull(pri.mBroadcastUsers); in testPackageRemoval()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java26 import junit.framework.Assert;
42 Assert.assertEquals(id, item.getItemId()); in testItemId()
43 Assert.assertEquals(item, mMenu.findItem(id)); in testItemId()
44 Assert.assertEquals(0, mMenu.findItemIndex(id)); in testItemId()
58 Assert.assertEquals(groupId, item.getGroupId()); in testGroupId()
59 Assert.assertEquals(groupId, item2.getGroupId()); in testGroupId()
60 Assert.assertEquals(item1Index, mMenu.findGroupIndex(groupId)); in testGroupId()
61 Assert.assertEquals(item2Index, mMenu.findGroupIndex(groupId, item1Index + 1)); in testGroupId()
75 Assert.assertEquals(mMenu.findGroupIndex(GROUP_ONE), 0); in testGroup()
76 Assert.assertEquals(mMenu.findGroupIndex(GROUP_TWO), -1); in testGroup()
[all …]
/frameworks/multidex/library/test/src/androidx/multidex/
DMultiDexTest.java19 import org.junit.Assert;
28 Assert.assertFalse(MultiDex.isVMMultidexCapable(null)); in testVersionCheck()
29 Assert.assertFalse(MultiDex.isVMMultidexCapable("-1.32.54")); in testVersionCheck()
30 Assert.assertFalse(MultiDex.isVMMultidexCapable("1.32.54")); in testVersionCheck()
31 Assert.assertFalse(MultiDex.isVMMultidexCapable("1.32")); in testVersionCheck()
32 Assert.assertFalse(MultiDex.isVMMultidexCapable("2.0")); in testVersionCheck()
33 Assert.assertFalse(MultiDex.isVMMultidexCapable("2.000.1254")); in testVersionCheck()
34 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.1.1254")); in testVersionCheck()
35 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.1")); in testVersionCheck()
36 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.2")); in testVersionCheck()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_constant.java29 private void Assert(boolean b) { in Assert() method in UT_constant
36 Assert(ScriptC_constant.const_floatTest == 1.99f); in run()
37 Assert(ScriptC_constant.const_doubleTest == 2.05); in run()
38 Assert(ScriptC_constant.const_charTest == -8); in run()
39 Assert(ScriptC_constant.const_shortTest == -16); in run()
40 Assert(ScriptC_constant.const_intTest == -32); in run()
41 Assert(ScriptC_constant.const_longTest == 17179869184l); in run()
42 Assert(ScriptC_constant.const_longlongTest == 68719476736l); in run()
44 Assert(ScriptC_constant.const_ucharTest == 8); in run()
45 Assert(ScriptC_constant.const_ushortTest == 16); in run()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_constant.java27 private void Assert(boolean b) { in Assert() method in UT_constant
34 Assert(ScriptC_constant.const_floatTest == 1.99f); in run()
35 Assert(ScriptC_constant.const_doubleTest == 2.05); in run()
36 Assert(ScriptC_constant.const_charTest == -8); in run()
37 Assert(ScriptC_constant.const_shortTest == -16); in run()
38 Assert(ScriptC_constant.const_intTest == -32); in run()
39 Assert(ScriptC_constant.const_longTest == 17179869184l); in run()
40 Assert(ScriptC_constant.const_longlongTest == 68719476736l); in run()
42 Assert(ScriptC_constant.const_ucharTest == 8); in run()
43 Assert(ScriptC_constant.const_ushortTest == 16); in run()
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_constant.java31 private void Assert(boolean b) { in Assert() method in UT_constant
38 Assert(ScriptC_constant.const_floatTest == 1.99f); in run()
39 Assert(ScriptC_constant.const_doubleTest == 2.05); in run()
40 Assert(ScriptC_constant.const_charTest == -8); in run()
41 Assert(ScriptC_constant.const_shortTest == -16); in run()
42 Assert(ScriptC_constant.const_intTest == -32); in run()
43 Assert(ScriptC_constant.const_longTest == 17179869184l); in run()
44 Assert(ScriptC_constant.const_longlongTest == 68719476736l); in run()
46 Assert(ScriptC_constant.const_ucharTest == 8); in run()
47 Assert(ScriptC_constant.const_ushortTest == 16); in run()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainerTest.java34 import org.junit.Assert;
64 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_lowPriority()
71 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_headsUp()
79 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_lowPriority_expandedChildren()
87 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_lowPriority_userLocked()
93 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(true), in testGetMaxAllowedVisibleChildren_likeCollapsed()
101 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_expandedChildren()
108 Assert.assertEquals(mChildrenContainer.getMaxAllowedVisibleChildren(), in testGetMaxAllowedVisibleChildren_userLocked()
115 Assert.assertTrue(mChildrenContainer.showingAsLowPriority()); in testShowingAsLowPriority_lowPriority()
120 Assert.assertFalse(mChildrenContainer.showingAsLowPriority()); in testShowingAsLowPriority_notLowPriority()
[all …]
DNotificationRoundnessManagerTest.java47 import org.junit.Assert;
152 Assert.assertEquals(1.0f, mSecond.getBottomRoundness(), 0.0f); in testRoundnessSetOnLast()
153 Assert.assertEquals(mSmallRadiusRatio, mSecond.getTopRoundness(), 0.0f); in testRoundnessSetOnLast()
175 Assert.assertEquals(1f, row.getBottomRoundness(), 0.0f); in testRoundnessPulsing()
176 Assert.assertEquals(1f, row.getTopRoundness(), 0.0f); in testRoundnessPulsing()
180 Assert.assertEquals(mSmallRadiusRatio, row.getBottomRoundness(), 0.0f); in testRoundnessPulsing()
181 Assert.assertEquals(mSmallRadiusRatio, row.getTopRoundness(), 0.0f); in testRoundnessPulsing()
190 Assert.assertEquals(1.0f, mSecond.getBottomRoundness(), 0.0f); in testRoundnessSetOnSecondSectionLast()
191 Assert.assertEquals(mSmallRadiusRatio, mSecond.getTopRoundness(), 0.0f); in testRoundnessSetOnSecondSectionLast()
200 Assert.assertEquals(mSmallRadiusRatio, mSecond.getBottomRoundness(), 0.0f); in testRoundnessSetOnSecondSectionFirst()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DClientWakelockAccountantTest.java21 import junit.framework.Assert;
42 Assert.assertEquals(0, mClient.getPendingRequestCount()); in testStartAttributingWakelock()
44 Assert.assertEquals(1, mClient.getPendingRequestCount()); in testStartAttributingWakelock()
46 Assert.assertEquals(2, mClient.getPendingRequestCount()); in testStartAttributingWakelock()
59 Assert.assertEquals(2, mClient.getPendingRequestCount()); in testStopAttributingWakelock()
60 Assert.assertEquals(0, mClient.mRequestStats.getCompletedRequestsCount()); in testStopAttributingWakelock()
63 Assert.assertEquals(1, mClient.mRequestStats.getRequestHistograms().size()); in testStopAttributingWakelock()
65 Assert.assertEquals(0, mClient.getPendingRequestCount()); in testStopAttributingWakelock()
66 Assert.assertEquals(2, mClient.mRequestStats.getCompletedRequestsCount()); in testStopAttributingWakelock()
67 Assert.assertEquals(600, mClient.mRequestStats.getCompletedRequestsWakelockTime()); in testStopAttributingWakelock()
[all …]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/tests/
DNoActivityJUnit3Test.java31 import junit.framework.Assert;
46 Assert.assertEquals(10, TestApplication.get(true)); in testExceptionInMainDex()
51 Assert.assertEquals(11, IntermediateClass.get3(true)); in testExceptionInIntermediate()
52 Assert.assertEquals(11, MiniIntermediateClass.get3(true)); in testExceptionInIntermediate()
53 Assert.assertEquals(11, IntermediateClass.get4(true)); in testExceptionInIntermediate()
54 Assert.assertEquals(1, IntermediateClass.get5(null)); in testExceptionInIntermediate()
55 Assert.assertEquals(10, IntermediateClass.get5(new ExceptionInMainDex())); in testExceptionInIntermediate()
56 Assert.assertEquals(11, IntermediateClass.get5(new ExceptionInSecondaryDex())); in testExceptionInIntermediate()
57 Assert.assertEquals(12, IntermediateClass.get5(new ExceptionInMainDex2())); in testExceptionInIntermediate()
58 Assert.assertEquals(13, IntermediateClass.get5(new ExceptionInSecondaryDex2())); in testExceptionInIntermediate()
[all …]
/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DDexBuilderTest.java22 import org.junit.Assert;
49 Assert.assertEquals(5, method.invoke(null)); in return5()
57 Assert.assertEquals(5, method.invoke(null)); in returnInteger5()
65 Assert.assertEquals(5, method.invoke(null, 5)); in returnParam()
66 Assert.assertEquals(42, method.invoke(null, 42)); in returnParam()
74 Assert.assertEquals(13, method.invoke(null, "Hello, World!")); in returnStringLength()
82 Assert.assertEquals(5, method.invoke(null, 0)); in returnIfZero()
83 Assert.assertEquals(3, method.invoke(null, 17)); in returnIfZero()
91 Assert.assertEquals(3, method.invoke(null, 0)); in returnIfNotZero()
92 Assert.assertEquals(5, method.invoke(null, 17)); in returnIfNotZero()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DSettingsToPropertiesMapperTest.java32 import org.junit.Assert;
118 Assert.fail("globalSetting " in validateRegisteredGlobalSettings()
125 Assert.fail("empty globalSetting registered."); in validateRegisteredGlobalSettings()
128 Assert.fail(globalSetting + " contains invalid characters. " in validateRegisteredGlobalSettings()
139 Assert.fail("deviceConfigScope " in validateRegisteredDeviceConfigScopes()
146 Assert.fail("empty deviceConfigScope registered."); in validateRegisteredDeviceConfigScopes()
149 Assert.fail(deviceConfigScope + " contains invalid characters. " in validateRegisteredDeviceConfigScopes()
164 Assert.assertEquals("testValue", propValue); in testUpdatePropertiesFromSettings()
171 Assert.assertEquals("testValue2", propValue); in testUpdatePropertiesFromSettings()
178 Assert.assertEquals("", propValue); in testUpdatePropertiesFromSettings()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
DCutoutDecorProviderFactoryTest.kt33 import org.junit.Assert in <lambda>()
110 Assert.assertFalse(factory.hasProviders) in <lambda>()
111 Assert.assertEquals(0, factory.providers.size) in <lambda>()
124 Assert.assertTrue(factory.hasProviders) in <lambda>()
127 Assert.assertEquals(1, providers.size) in <lambda>()
128 Assert.assertEquals(1, providers[0].numOfAlignedBound) in <lambda>()
129 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_TOP, providers[0].alignedBounds[0]) in <lambda>()
144 Assert.assertTrue(factory.hasProviders) in <lambda>()
147 Assert.assertEquals(1, providers.size) in <lambda>()
148 Assert.assertEquals(1, providers[0].numOfAlignedBound) in <lambda>()
[all …]
DOverlayWindowTest.kt28 import org.junit.Assert
96 Assert.assertNotNull(view1FoundFromRootView) in testAddProvider()
97 Assert.assertEquals(view1FoundFromRootView, overlay.getView(TEST_DECOR_VIEW_ID_1)) in testAddProvider()
99 Assert.assertNotNull(view2FoundFromRootView) in testAddProvider()
100 Assert.assertEquals(view2FoundFromRootView, overlay.getView(TEST_DECOR_VIEW_ID_2)) in testAddProvider()
110 Assert.assertNull(viewFoundFromRootView) in testRemoveView()
111 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_1)) in testRemoveView()
160 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_1)) in testRemoveRedundantViewsWithNullParameter()
161 Assert.assertNull(overlay.rootView.findViewById(TEST_DECOR_VIEW_ID_1)) in testRemoveRedundantViewsWithNullParameter()
162 Assert.assertNull(overlay.getView(TEST_DECOR_VIEW_ID_2)) in testRemoveRedundantViewsWithNullParameter()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DFgsManagerControllerTest.java60 import org.junit.Assert;
134 Assert.assertEquals(0, mFmc.getNumRunningPackages()); in testNumPackages()
136 Assert.assertEquals(1, mFmc.getNumRunningPackages()); in testNumPackages()
138 Assert.assertEquals(2, mFmc.getNumRunningPackages()); in testNumPackages()
140 Assert.assertEquals(1, mFmc.getNumRunningPackages()); in testNumPackages()
142 Assert.assertEquals(0, mFmc.getNumRunningPackages()); in testNumPackages()
152 Assert.assertEquals(0, mFmc.getNumRunningPackages()); in testNumPackages_jobs()
154 Assert.assertEquals(1, mFmc.getNumRunningPackages()); in testNumPackages_jobs()
156 Assert.assertEquals(2, mFmc.getNumRunningPackages()); in testNumPackages_jobs()
158 Assert.assertEquals(1, mFmc.getNumRunningPackages()); in testNumPackages_jobs()
[all …]
/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/
DKeyRevocationListTest.java29 import org.junit.Assert;
64 Assert.assertNotNull(blocklist); in testFromJsonString()
65 Assert.assertFalse(blocklist.mEntries.isEmpty()); in testFromJsonString()
67 Assert.assertNotNull(blocklist); in testFromJsonString()
68 Assert.assertTrue(blocklist.mEntries.isEmpty()); in testFromJsonString()
101 Assert.assertNotNull(blocklist); in testFromUrl()
102 Assert.assertFalse(blocklist.mEntries.isEmpty()); in testFromUrl()
108 Assert.fail("Expected IOException not thrown"); in testFromUrl()
112 Assert.assertNull(blocklist); in testFromUrl()
123 Assert.assertNotNull(revocationStatus); in testIsRevoked()
[all …]

12345678910>>...71