/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 85 assertTrue("failed to disable WiFi", disableWifi()); in test3GToWifiNotification() 88 assertTrue("failed to wait for mobile connection", waitForNetworkState( in test3GToWifiNotification() 97 assertTrue("failed to enable WiFi", enableWifi()); in test3GToWifiNotification() 99 assertTrue("WiFi state is not DISCONNECTED after enabling", waitForWifiState( in test3GToWifiNotification() 103 assertTrue("connectivity has changed since wifi enable", in test3GToWifiNotification() 109 assertTrue("no network connectivity at end of test", checkNetworkConnectivity()); in test3GToWifiNotification() 118 assertTrue("failed to connect to " + mSsid, connectToWifi(mSsid, mPassword)); in testConnectToWifi() 120 assertTrue("wifi not enabled", waitForWifiState( in testConnectToWifi() 123 assertTrue("wifi not connected", waitForNetworkState( in testConnectToWifi() 132 assertTrue("no network connectivity at end of test", checkNetworkConnectivity()); in testConnectToWifi() [all …]
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardUtilsTests.java | 28 assertTrue(VCardUtils.containsOnlyPrintableAscii((String)null)); in testContainsOnlyPrintableAscii() 29 assertTrue(VCardUtils.containsOnlyPrintableAscii((String[])null)); in testContainsOnlyPrintableAscii() 30 assertTrue(VCardUtils.containsOnlyPrintableAscii((List<String>)null)); in testContainsOnlyPrintableAscii() 31 assertTrue(VCardUtils.containsOnlyPrintableAscii("")); in testContainsOnlyPrintableAscii() 32 assertTrue(VCardUtils.containsOnlyPrintableAscii("abcdefghijklmnopqrstuvwxyz")); in testContainsOnlyPrintableAscii() 33 assertTrue(VCardUtils.containsOnlyPrintableAscii("ABCDEFGHIJKLMNOPQRSTUVWXYZ")); in testContainsOnlyPrintableAscii() 38 assertTrue(VCardUtils.containsOnlyPrintableAscii(builder.toString())); in testContainsOnlyPrintableAscii() 39 assertTrue(VCardUtils.containsOnlyPrintableAscii("\r\n")); in testContainsOnlyPrintableAscii() 45 assertTrue(VCardUtils.containsOnlyNonCrLfPrintableAscii((String)null)); in testContainsOnlyNonCrLfPrintableAscii() 46 assertTrue(VCardUtils.containsOnlyNonCrLfPrintableAscii((String[])null)); in testContainsOnlyNonCrLfPrintableAscii() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyUtilsTest.java | 52 assertTrue(rm.isRetryForever()); in testRetryManagerEmpty() 53 assertTrue(rm.isRetryNeeded()); in testRetryManagerEmpty() 58 assertTrue(rm.isRetryForever()); in testRetryManagerEmpty() 59 assertTrue(rm.isRetryNeeded()); in testRetryManagerEmpty() 71 assertTrue(rm.configure(1, 500, 10)); in testRetryManagerSimplest() 75 assertTrue(rm.isRetryNeeded()); in testRetryManagerSimplest() 77 assertTrue((time >= 500) && (time < 600)); in testRetryManagerSimplest() 86 assertTrue(rm.isRetryNeeded()); in testRetryManagerSimplest() 96 assertTrue(rm.configure(3, 1000, 0)); 97 assertTrue(rm.isRetryNeeded()); [all …]
|
D | IntRangeManagerTest.java | 115 assertTrue("enabling range", testManager.enableRange(123, 123, "client1")); in testAddSingleChannel() 121 assertTrue("updating ranges", testManager.updateRanges()); in testAddSingleChannel() 130 assertTrue("enabling range", testManager.enableRange(123, 123, "client1")); in testRemoveSingleChannel() 134 assertTrue("disabling range", testManager.disableRange(123, 123, "client1")); in testRemoveSingleChannel() 139 assertTrue("updating ranges", testManager.updateRanges()); in testRemoveSingleChannel() 155 assertTrue("enabling range 1", testManager.enableRange(100, 120, "client1")); in testAddTwoChannels() 161 assertTrue("enabling range 2", testManager.enableRange(200, 250, "client2")); in testAddTwoChannels() 167 assertTrue("updating ranges", testManager.updateRanges()); in testAddTwoChannels() 179 assertTrue("enabling range 1", testManager.enableRange(100, 200, "client1")); in testOverlappingChannels() 185 assertTrue("enabling range 2", testManager.enableRange(150, 250, "client2")); in testOverlappingChannels() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/ |
D | MediaPlayerApiTest.java | 73 assertTrue("MP3CBR getDuration", duratoinWithinTolerence); in testMP3CBRGetDuration() 81 assertTrue("MP3VBR getDuration", duratoinWithinTolerence); in testMP3VBRGetDuration() 88 assertTrue("MIDI getDuration", duratoinWithinTolerence); in testMIDIGetDuration() 95 assertTrue("AMR getDuration", duratoinWithinTolerence); in testAMRGetDuration() 110 assertTrue("MP3CBR GetCurrentPosition", currentPosition); in testMP3CBRGetCurrentPosition() 116 assertTrue("MP3VBR GetCurrentPosition", currentPosition); in testMP3VBRGetCurrentPosition() 122 assertTrue("MIDI GetCurrentPosition", currentPosition); in testMIDIGetCurrentPosition() 128 assertTrue("AMR GetCurrentPosition", currentPosition); in testAMRGetCurrentPosition() 141 assertTrue("MP3CBR Pause", isPaused); in testMP3CBRPause() 147 assertTrue("MP3VBR Pause", isPaused); in testMP3VBRPause() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PerformanceCollectorTest.java | 49 assertTrue((Long)readPrivateField("mSnapshotCpuTime", mPerfCollector) > 0); in testBeginSnapshotNoWriter() 50 assertTrue((Long)readPrivateField("mSnapshotExecTime", mPerfCollector) > 0); in testBeginSnapshotNoWriter() 69 assertTrue((Long)readPrivateField("mCpuTime", mPerfCollector) > 0); in testStartTimingNoWriter() 70 assertTrue((Long)readPrivateField("mExecTime", mPerfCollector) > 0); in testStartTimingNoWriter() 109 assertTrue((Long)readPrivateField("mSnapshotCpuTime", mPerfCollector) > 0); in testBeginSnapshot() 110 assertTrue((Long)readPrivateField("mSnapshotExecTime", mPerfCollector) > 0); in testBeginSnapshot() 136 assertTrue((Long)readPrivateField("mCpuTime", mPerfCollector) > 0); in testStartTiming() 137 assertTrue((Long)readPrivateField("mExecTime", mPerfCollector) > 0); in testStartTiming() 182 assertTrue(results.containsKey("testAddMeasurementLongZero")); in testAddMeasurementLong() 184 assertTrue(results.containsKey("testAddMeasurementLongPos")); in testAddMeasurementLong() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | PatternsTest.java | 32 assertTrue("Missed valid TLD", t); in testTldPattern() 36 assertTrue("Missed valid TLD", t); in testTldPattern() 40 assertTrue("Missed valid TLD", t); in testTldPattern() 44 assertTrue("Missed valid TLD", t); in testTldPattern() 61 assertTrue("Valid URL", t); in testUrlPattern() 65 assertTrue("Valid URL", t); in testUrlPattern() 67 assertTrue("Valid URL", t); in testUrlPattern() 71 assertTrue("Valid URL", t); in testUrlPattern() 73 assertTrue("Valid URL", t); in testUrlPattern() 78 assertTrue("Valid URL", t); in testUrlPattern() [all …]
|
/frameworks/base/keystore/tests/src/android/security/ |
D | KeyStoreTest.java | 139 assertTrue(mKeyStore.password(TEST_PASSWD)); in testPassword() 147 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testGet() 149 assertTrue(Arrays.equals(TEST_KEYVALUE, mKeyStore.get(TEST_KEYNAME))); in testGet() 158 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testPut() 160 assertTrue(Arrays.equals(TEST_KEYVALUE, mKeyStore.get(TEST_KEYNAME))); in testPut() 169 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, Process.WIFI_UID, in testPut_grantedUid_Wifi() 171 assertTrue(mKeyStore.contains(TEST_KEYNAME, Process.WIFI_UID)); in testPut_grantedUid_Wifi() 190 assertTrue(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE, KeyStore.UID_SELF, in testI18n() 192 assertTrue(mKeyStore.contains(TEST_I18N_KEY)); in testI18n() 200 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testDelete() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraUtilsDecoratorTest.java | 109 assertTrue(mIface.addValues(1, 2, 3) == 6); in testDecorator() 110 assertTrue(mDummyListener.beforeCalled); in testDecorator() 111 assertTrue(mDummyListener.afterCalled); in testDecorator() 114 assertTrue(resultValue == 6); in testDecorator() 115 assertTrue(mDummyListener.finallyCalled); in testDecorator() 127 assertTrue(e.getMessage() == "Test exception"); in testDecoratorExceptions() 129 assertTrue(gotExceptions); in testDecoratorExceptions() 130 assertTrue(mDummyListener.beforeCalled); in testDecoratorExceptions() 132 assertTrue(mDummyListener.catchCalled); in testDecoratorExceptions() 133 assertTrue(mDummyListener.finallyCalled); in testDecoratorExceptions() [all …]
|
D | MediaPlayerStopStateUnitTest.java | 40 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() 43 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 46 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 49 assertTrue(stateErrors.errorInIdleState); in checkStateErrors() 50 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 51 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors() [all …]
|
D | MediaPlayerGetDurationStateUnitTest.java | 40 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 41 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 45 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() 46 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 49 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors() 50 assertTrue(stateErrors.errorInErrorState); in checkStateErrors() 51 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors() [all …]
|
D | MediaPlayerPauseStateUnitTest.java | 40 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 42 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 43 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 46 assertTrue(stateErrors.errorInPreparedState); in checkStateErrors() 47 assertTrue(stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 48 assertTrue(stateErrors.errorInIdleState); in checkStateErrors() 49 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 50 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors() 51 assertTrue(stateErrors.errorInStoppedState); in checkStateErrors() [all …]
|
D | MediaPlayerGetCurrentPositionStateUnitTest.java | 40 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 42 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 43 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 44 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 45 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 46 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() 47 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 50 assertTrue(stateErrors.errorInErrorState); in checkStateErrors() 51 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors() [all …]
|
D | MediaPlayerGetVideoHeightStateUnitTest.java | 40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 46 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors() 47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors() 49 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() [all …]
|
D | MediaPlayerStartStateUnitTest.java | 40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 48 assertTrue(stateErrors.errorInIdleState); in checkStateErrors() 49 assertTrue(stateErrors.errorInErrorState); in checkStateErrors() 50 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 51 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors() [all …]
|
D | MediaPlayerResetStateUnitTest.java | 40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 46 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors() 47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors() 49 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() [all …]
|
D | MediaPlayerSetLoopingStateUnitTest.java | 41 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 43 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 45 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 46 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors() 49 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() 50 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors() [all …]
|
D | MediaPlayerIsPlayingStateUnitTest.java | 40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 46 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors() 47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors() 49 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() [all …]
|
D | MediaPlayerSetVolumeStateUnitTest.java | 40 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 42 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 43 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 46 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 47 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors() 48 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() 49 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors() [all …]
|
D | MediaPlayerSeekToStateUnitTest.java | 40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 43 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 47 assertTrue(stateErrors.errorInIdleState); in checkStateErrors() 48 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 49 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors() 50 assertTrue(stateErrors.errorInStoppedState); in checkStateErrors() 51 assertTrue(stateErrors.errorInErrorState); in checkStateErrors() [all …]
|
D | MediaPlayerGetVideoWidthStateUnitTest.java | 40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 41 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 42 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 43 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 44 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 45 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors() 46 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 47 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors() 48 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() 49 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() [all …]
|
D | MediaPlayerSetAudioStreamTypeStateUnitTest.java | 41 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors() 42 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors() 43 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors() 44 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors() 45 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors() 46 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors() 47 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors() 48 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors() 49 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors() 50 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | ComprehensiveCountryDetectorTest.java | 155 assertTrue(sameCountry(country, resultCountry)); 176 assertTrue(sameCountry(country, resultCountry)); 177 assertTrue(countryDetector.locationBasedDetectorStarted()); 179 assertTrue(listener.notified()); 180 assertTrue(sameCountry(listener.getCountry(), locationBasedCountry)); 181 assertTrue(countryDetector.locationBasedDetectorStopped()); 182 assertTrue(countryDetector.locationRefreshStarted()); 184 assertTrue(countryDetector.locationRefreshCancelled()); 199 assertTrue(sameCountry(country, resultCountry)); 201 assertTrue(countryDetector.locationBasedDetectorStarted()); [all …]
|
/frameworks/multidex/library/test/src/android/support/multidex/ |
D | MultiDexTest.java | 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() 37 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.1.0000")); in testVersionCheck() 38 Assert.assertTrue(MultiDex.isVMMultidexCapable("2.2.0000")); in testVersionCheck() 39 Assert.assertTrue(MultiDex.isVMMultidexCapable("002.0001.0010")); in testVersionCheck() 40 Assert.assertTrue(MultiDex.isVMMultidexCapable("3.0")); in testVersionCheck() 41 Assert.assertTrue(MultiDex.isVMMultidexCapable("3.0.0")); in testVersionCheck() 42 Assert.assertTrue(MultiDex.isVMMultidexCapable("3.0.1")); in testVersionCheck() 43 Assert.assertTrue(MultiDex.isVMMultidexCapable("3.1.0")); in testVersionCheck() [all …]
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | TypefaceTest.java | 41 assertTrue("basic", Typeface.DEFAULT != null); in testBasic() 42 assertTrue("basic", Typeface.DEFAULT_BOLD != null); in testBasic() 43 assertTrue("basic", Typeface.SANS_SERIF != null); in testBasic() 44 assertTrue("basic", Typeface.SERIF != null); in testBasic() 45 assertTrue("basic", Typeface.MONOSPACE != null); in testBasic() 53 assertTrue("unique", mFaces[i] != mFaces[j]); in testUnique() 60 assertTrue("style", mFaces[0].getStyle() == Typeface.NORMAL); in testStyles() 61 assertTrue("style", mFaces[1].getStyle() == Typeface.BOLD); in testStyles() 62 assertTrue("style", mFaces[2].getStyle() == Typeface.NORMAL); in testStyles() 63 assertTrue("style", mFaces[3].getStyle() == Typeface.BOLD); in testStyles() [all …]
|