Home
last modified time | relevance | path

Searched refs:assertNotEquals (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseTest.kt30 import kotlin.test.assertNotEquals
66 assertNotEquals(lease, DhcpLease(null, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
68 assertNotEquals(lease, DhcpLease(byteArrayOf(42), TEST_HWADDR, TEST_INETADDR, in testEquals()
72 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, MacAddress.fromString("12:34:56:78:9A:0B"), in testEquals()
76 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, in testEquals()
81 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, 24, in testEquals()
85 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
89 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
91 assertNotEquals(lease, DhcpLease(TEST_CLIENT_ID, TEST_HWADDR, TEST_INETADDR, TEST_PREFIXLEN, in testEquals()
DDhcpLeaseRepositoryTest.java29 import static org.junit.Assert.assertNotEquals;
278 assertNotEquals(TEST_INETADDR_1, offer.getNetAddr()); in testGetOffer_DifferentClientId()
299 assertNotEquals(TEST_INETADDR_1, offer.getNetAddr()); in testGetOffer_RequestedAddressInUse()
306 assertNotEquals(TEST_RESERVED_ADDR, offer.getNetAddr()); in testGetOffer_RequestedAddressReserved()
314 assertNotEquals(invalidAddr, offer.getNetAddr()); in testGetOffer_RequestedAddressInvalid()
322 assertNotEquals(invalidAddr, offer.getNetAddr()); in testGetOffer_RequestedAddressOutsideSubnet()
538 assertNotEquals(lease.getNetAddr(), newLease.getNetAddr()); in testMarkLeaseDeclined()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/
DLauncherUIScrollTest.java22 import static org.junit.Assert.assertNotEquals;
95 assertNotEquals("Workspace was not scrolled", in testWorkspacePagesBound()
115 assertNotEquals("All Apps was not scrolled", currentScroll, newScroll); in testAllAppsScroll()
134 assertNotEquals("Widgets was not scrolled", currentScroll, newScroll); in testWidgetsListScroll()
157 assertNotEquals("Folder page was not scrolled", 0, folderPages.getNextPage()); in testFolderPageScroll()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapDataTest.java23 import static org.junit.Assert.assertNotEquals;
76 assertNotEquals(eapData, eapDataDifferent); in testEquals()
83 assertNotEquals(0, eapData.hashCode()); in testHashCode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeUdp4SocketTest.java20 import static org.junit.Assert.assertNotEquals;
92 assertNotEquals(ikeSocketOne, ikeSocketTwo); in testGetAndCloseIkeUdp4SocketDifferentNetwork()
103 assertNotEquals(fdOne, fdTwo); in testGetAndCloseIkeUdp4SocketDifferentNetwork()
DIkeUdp6SocketTest.java20 import static org.junit.Assert.assertNotEquals;
92 assertNotEquals(ikeSocketOne, ikeSocketTwo); in testGetAndCloseIkeUdp6SocketDifferentNetwork()
103 assertNotEquals(fdOne, fdTwo); in testGetAndCloseIkeUdp6SocketDifferentNetwork()
DIkeUdpEncapSocketTest.java21 import static org.junit.Assert.assertNotEquals;
165 assertNotEquals(ikeSocketOne, ikeSocketTwo); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
177 assertNotEquals(fdOne, fdTwo); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java29 import static org.junit.Assert.assertNotEquals;
451 assertNotEquals(ActivityInfo.SCREEN_ORIENTATION_LOCKED, activity.getRequestedOrientation()); in testShowSetWallpaperDialog_TemporarilyLocksScreenOrientation()
461 assertNotEquals(ActivityInfo.SCREEN_ORIENTATION_LOCKED, activity.getRequestedOrientation()); in testShowSetWallpaperDialog_TemporarilyLocksScreenOrientation()
468 assertNotEquals(ActivityInfo.SCREEN_ORIENTATION_LOCKED, activity.getRequestedOrientation()); in testSetWallpaper_TemporarilyLocksScreenOrientation()
481 assertNotEquals(ActivityInfo.SCREEN_ORIENTATION_LOCKED, activity.getRequestedOrientation()); in testSetWallpaper_TemporarilyLocksScreenOrientation()
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DInitialConfigurationTest.java24 import static org.junit.Assert.assertNotEquals;
85 assertNotEquals(mConfig, newConfig); in assertNotEqualsAfterChange()
DProvisioningConfigurationTest.java25 import static org.junit.Assert.assertNotEquals;
179 assertNotEquals(mConfig, newConfig); in assertNotEqualsAfterChange()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTrafficSelectorTest.java22 import static org.junit.Assert.assertNotEquals;
159 assertNotEquals(mTsOne, mTsTwo); in testEquals()
354 assertNotEquals(mTsIpv6Three, tsThreeOtherDifferentPort); in testIpv6TsEquals()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testmode/
DDeterministicSecureRandomTest.java23 import static org.junit.Assert.assertNotEquals;
47 assertNotEquals(secureRandom.nextLong(), secureRandom.nextLong()); in testDeterministicSecureRandomNonRepeating()
/packages/modules/NetworkStack/tests/hostdriven/host/src/com/android/networkstack/hosttests/
DNetworkStackHostTests.kt32 import kotlin.test.assertNotEquals
79 assertNotEquals(initialUpdateTime, getLastUpdateTime(), "Update time did not change") in testInstallAndRollback()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtNotificationTest.java30 import static org.junit.Assert.assertNotEquals;
107 assertNotEquals(knownCode.toString(), unknownCode.toString()); in testToString()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimChallengeStateTest.java48 import static org.junit.Assert.assertNotEquals;
202 assertNotEquals(resultA, resultC); in testRandChallengeResultEquals()
215 assertNotEquals(resultA.hashCode(), resultC.hashCode()); in testRandChallengeResultHashCode()
/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/
DInetDiagSocketIntegrationTest.java27 import static org.junit.Assert.assertNotEquals;
150 assertNotEquals(Process.myUid(), uid); in checkConnectionOwnerUid()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DViewInflationDuringSwipeUp.java28 import static org.junit.Assert.assertNotEquals;
221 assertNotEquals(1, mInitTracker.viewInitCount); in executeSwipeUpTestWithWidget()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/
DAbstractCopyJobTest.java21 import static org.junit.Assert.assertNotEquals;
102 assertNotEquals(copyPercentage.equals(NumberFormat.getPercentInstance().format(Double.NaN)), in runCopyEmptyDirTest()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt59 import kotlin.test.assertNotEquals
209 assertNotEquals(testFile1.name, testFile2.name) in makeDownloadIntent()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java20 import static org.junit.Assert.assertNotEquals;
243 assertNotEquals("Can not find MIXED type properties in HAL", in testMixedTypeProperty()
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DTrackRecordTest.kt39 import kotlin.test.assertNotEquals in <lambda>()
143 assertNotEquals(ABSENT_VALUE, it) in <lambda>()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java20 import static org.junit.Assert.assertNotEquals;
405 assertNotEquals(null, wifiConf.enterpriseConfig); in assertEnterpriseConfigBase()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBaseOverview.java110 mLauncher.assertNotEquals("Unable to find a task", 0, taskViews.size()); in getCurrentTask()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java24 import static org.junit.Assert.assertNotEquals;
606 assertNotEquals(mEncrAesGcm8Key128Transform, mEncrAesGcm8Key192Transform); in testTransformEquals()
611 assertNotEquals(mEncrAesGcm8Key128Transform, mIntegHmacSha1Transform); in testTransformEquals()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java21 import static org.junit.Assert.assertNotEquals;
97 assertNotEquals(publisherId, publisherId2); in testPublisherId_MultiplePublishers()

12