/external/testng/src/test/java/test/configuration/ |
MethodCallOrderTest.java | 4 import static org.testng.Assert.assertTrue; 21 assertTrue(s_beforeSuite); 22 assertTrue(s_beforeTest); 40 assertTrue(s_beforeSuite); 41 assertTrue(s_beforeTest); 42 assertTrue(s_beforeClass); 49 assertTrue(s_beforeSuite); 50 assertTrue(s_beforeTest); 51 assertTrue(s_beforeClass); 52 assertTrue(s_beforeMethod) [all...] |
ExternalConfigurationClass.java | 4 import static org.testng.Assert.assertTrue; 31 assertTrue(MethodCallOrderTest.s_beforeSuite); 41 assertTrue(s_afterMethod, "afterTestMethod should have been run"); 42 assertTrue(s_afterClass, "afterTestClass should have been run"); 49 assertTrue(s_afterMethod, "afterTestMethod should have been run"); 50 assertTrue(s_afterClass, "afterTestClass should have been run"); 51 assertTrue(s_afterTest, "afterTest should have been run");
|
/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
WakelockItemTest.java | 44 assertTrue(output.has(WakelockItem.WAKELOCKS)); 45 assertTrue(output.get(WakelockItem.WAKELOCKS) instanceof JSONArray); 50 assertTrue(wakelockInfo.getJSONObject(0).has(WakelockInfoItem.NAME)); 51 assertTrue(wakelockInfo.getJSONObject(0).has(WakelockInfoItem.PROCESS_UID)); 52 assertTrue(wakelockInfo.getJSONObject(0).has(WakelockInfoItem.HELD_TIME)); 53 assertTrue(wakelockInfo.getJSONObject(0).has(WakelockInfoItem.LOCKED_COUNT)); 54 assertTrue(wakelockInfo.getJSONObject(0).has(WakelockInfoItem.CATEGORY)); 56 assertTrue(wakelockInfo.getJSONObject(1).has(WakelockInfoItem.NAME)); 58 assertTrue(wakelockInfo.getJSONObject(1).has(WakelockInfoItem.HELD_TIME)); 59 assertTrue(wakelockInfo.getJSONObject(1).has(WakelockInfoItem.LOCKED_COUNT)) [all...] |
LocationDumpsItemTest.java | 42 assertTrue(output.has(LocationDumpsItem.LOCATION_CLIENTS)); 43 assertTrue(output.get(LocationDumpsItem.LOCATION_CLIENTS) instanceof JSONArray); 48 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.PACKAGE)); 49 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.EFFECTIVE_INTERVAL)); 50 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.MIN_INTERVAL)); 51 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.MAX_INTERVAL)); 52 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.REQUEST_PRIORITY)); 53 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.LOCATION_DURATION)); 55 assertTrue(locationClients.getJSONObject(1).has(LocationInfoItem.PACKAGE)); 56 assertTrue(locationClients.getJSONObject(1).has(LocationInfoItem.EFFECTIVE_INTERVAL)) [all...] |
/art/test/003-omnibus-opcodes/src/ |
IntMath.java | 35 Main.assertTrue(i1 == 0x44332211); 36 Main.assertTrue(i2 == 0xbbaa9988); 37 Main.assertTrue(l == 0xbbaa998844332211L); 48 Main.assertTrue(l == 0xbbaa998844332211L); 66 Main.assertTrue(result == 0x1122334455667788L); 82 Main.assertTrue((int) b == -1); 83 Main.assertTrue((int) s == -1); 84 Main.assertTrue((int) c == 0x0fff); 85 Main.assertTrue(i == 268435455); 96 Main.assertTrue(1 << thirtyTwo == 1) [all...] |
FloatMath.java | 33 Main.assertTrue(i == 1234); 37 Main.assertTrue(i == -1234); 42 Main.assertTrue(l == 1238); 46 Main.assertTrue(l == -1238); 51 Main.assertTrue(d > 1238.567 && d < 1238.568); 56 Main.assertTrue(i == 1234); 60 Main.assertTrue(i == -1234); 65 Main.assertTrue(l == 5678956789L); 69 Main.assertTrue(l == -5678956789L); 74 Main.assertTrue(f > 1238.567 && f < 1238.568) [all...] |
UnresTest2.java | 13 Main.assertTrue(false); 19 Main.assertTrue(false); 34 Main.assertTrue(false); 36 Main.assertTrue(ncdfe.getCause() instanceof ClassNotFoundException); 42 Main.assertTrue(false); 45 // Main.assertTrue(ncdfe.getCause() instanceof ClassNotFoundException); 51 Main.assertTrue(false);
|
/cts/tests/tests/security/src/android/security/cts/ |
NativeCodeTest.java | 40 assertTrue(doPerfEventTest2()); 45 assertTrue("Device is vulnerable to CVE-2014-3153, a vulnerability in the futex() system " 54 assertTrue("Device is vulnerable to CVE-2014-5332. " 63 assertTrue("Device is vulnerable to CVE-2015-3636, a vulnerability in the ping " 71 assertTrue("Device is vulnerable to CVE-2015-1805 and/or CVE-2016-0774," 81 assertTrue("Android does not support Sys V IPC, it must " 112 assertTrue("Device is vulnerable to CVE-2014-1710", doCVE20141710Test());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
UTFCharsetEncoderTest.java | 49 assertTrue(encoder.canEncode('\u0077')); 50 assertTrue(encoder.canEncode('\uc2a3')); 53 assertTrue(encoder.canEncode('\uc2c0')); 58 assertTrue(encoder.canEncode("\u0077")); 59 assertTrue(encoder.canEncode("\uc2a3")); 62 assertTrue(encoder.canEncode("\uc2c0")); 68 assertTrue(encoder.canEncode("\ud800\udc00"));
|
/libcore/luni/src/test/java/libcore/util/ |
TimeZoneDataFilesTest.java | 22 import static org.junit.Assert.assertTrue; 31 assertTrue(paths[0].contains("/misc/zoneinfo/current/")); 32 assertTrue(paths[0].endsWith("foo")); 34 assertTrue(paths[1].contains("/usr/share/zoneinfo/")); 35 assertTrue(paths[1].endsWith("foo")); 47 assertTrue(paths[0].contains("/misc/zoneinfo/current/icu")); 48 assertTrue(paths[1].contains("/usr/icu"));
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ScrollerTest.java | 21 import static org.junit.Assert.assertTrue; 62 assertTrue(mScroller.isFinished()); 75 assertTrue(mScroller.getDuration() > 0); 85 assertTrue(mScroller.getDuration() > 0); 91 assertTrue(mScroller.isFinished()); 95 assertTrue(mScroller.isFinished()); 106 assertTrue(mScroller.isFinished()); 110 assertTrue(mScroller.isFinished()); 125 assertTrue(mScroller.isFinished()); 138 assertTrue(mScroller.computeScrollOffset()) [all...] |
/external/mockito/src/test/java/org/mockito/internal/matchers/apachecommons/ |
EqualsBuilderTest.java | 142 assertTrue(EqualsBuilder.reflectionEquals(o1, o1)); 143 assertTrue(!EqualsBuilder.reflectionEquals(o1, o2)); 145 assertTrue(EqualsBuilder.reflectionEquals(o1, o2)); 147 assertTrue(!EqualsBuilder.reflectionEquals(o1, this)); 149 assertTrue(!EqualsBuilder.reflectionEquals(o1, null)); 150 assertTrue(!EqualsBuilder.reflectionEquals(null, o2)); 151 assertTrue(EqualsBuilder.reflectionEquals((Object) null, (Object) null)); 158 assertTrue(EqualsBuilder.reflectionEquals(new TestTTLeafObject(1, 2, 3, 4), new TestTTLeafObject(1, 2, 3, 4), true)); 159 assertTrue(EqualsBuilder.reflectionEquals(new TestTTLeafObject(1, 2, 3, 4), new TestTTLeafObject(1, 2, 3, 4), false)); 160 assertTrue(!EqualsBuilder.reflectionEquals(new TestTTLeafObject(1, 0, 0, 4), new TestTTLeafObject(1, 2, 3, 4) (…) [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
GnssLocationValuesTest.java | 87 softAssert.assertTrue("All locations generated by the LocationManager " 90 softAssert.assertTrue("Location Accuracy should be greater than 0.", 100 softAssert.assertTrue("When speed is greater than 0, all GNSS locations generated by " 103 softAssert.assertTrue("Bearing Accuracy should be greater than 0.", 108 softAssert.assertTrue("All GNSS locations generated by the LocationManager " 111 softAssert.assertTrue("Speed Accuracy should be greater than 0.", 114 softAssert.assertTrue("All GNSS locations generated by the LocationManager " 117 softAssert.assertTrue("Vertical Accuracy should be greater than 0.", 148 softAssert.assertTrue("All GNSS locations generated by the LocationManager " 151 softAssert.assertTrue("Altitude should be greater than -500 (meters)." [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
XMLFormatterTest.java | 60 assertTrue(result.indexOf("<message>" + rb.getString("pattern") 62 assertTrue(result.indexOf("<key>pattern</key>") > 0); 66 assertTrue(result.indexOf("<message>" + rb.getString("msg") 68 assertTrue(result.indexOf("<key>msg</key>") > 0); 72 assertTrue(result.indexOf("<message>pattern {0, number}</message>") > 0); 73 assertTrue(result.indexOf("<key>") < 0); 78 assertTrue(result.indexOf("<message>bad key</message>") > 0); 79 assertTrue(result.indexOf("<key>") < 0); 96 assertTrue(output.indexOf("<record>") >= 0); 97 assertTrue(output.indexOf("<date>") >= 0) [all...] |
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/ |
DvrRecordingServiceTest.java | 69 assertTrue(getService().mInForeground); 70 assertTrue(getService().mIsRecording); 80 assertTrue(getService().mInForeground); 88 assertTrue(getService().mInForeground); 89 assertTrue(getService().mForegroundForUpcomingRecording); 90 assertTrue(getService().mIsRecording); 102 assertTrue(getService().mInForeground); 103 assertTrue(getService().mForegroundForUpcomingRecording); 104 assertTrue(getService().mIsRecording); 106 assertTrue(getService().mInForeground) [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
AbstractWindowedCursorTest.java | 55 assertTrue(mWindow.setNumColumns(TEST_COLUMN_COUNT)); 57 assertTrue(mCursor.isNull(COLUMN_INDEX0)); 58 assertTrue(mWindow.allocRow()); 61 assertTrue(mWindow.putString(str, ROW_INDEX0, COLUMN_INDEX0)); 67 assertTrue(mWindow.setNumColumns(TEST_COLUMN_COUNT)); 68 assertTrue(mWindow.allocRow()); 74 assertTrue(mWindow.putString(str, ROW_INDEX0, COLUMN_INDEX0)); 75 assertTrue(mWindow.putBlob(new byte[10], ROW_INDEX0, COLUMN_INDEX1)); 76 assertTrue(mCursor.isBlob(COLUMN_INDEX1)); 84 assertTrue(mCursor.hasWindow()) [all...] |
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
PackageManagerOTATests.java | 85 assertTrue("Package should not be installed before test", res.isEmpty()); 128 assertTrue("Initial package should be installed", 130 assertTrue("Package version should be 1", 136 assertTrue("VIBRATE permission should be granted", 143 assertTrue("After system app push, package should still be installed", 145 assertTrue("After system app push, system app should be visible", 149 assertTrue("Package should have FLAG_SYSTEM", 151 assertTrue("VIBRATE permission should be granted", 153 assertTrue("ACCESS_CACHE_FILESYSTEM permission should be granted", 168 assertTrue("Initial package should be installed" [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_strop.py | 13 self.assertTrue(strop.atoi(" 1 ") == 1)
18 self.assertTrue(strop.atol(" 1 ") == 1L)
23 self.assertTrue(strop.atof(" 1 ") == 1.0)
28 self.assertTrue(strop.capitalize(" hello ") == " hello ")
29 self.assertTrue(strop.capitalize("hello ") == "Hello ")
32 self.assertTrue(strop.find("abcdefghiabc", "abc") == 0)
33 self.assertTrue(strop.find("abcdefghiabc", "abc", 1) == 9)
34 self.assertTrue(strop.find("abcdefghiabc", "def", 4) == -1)
37 self.assertTrue(strop.rfind("abcdefghiabc", "abc") == 9)
40 self.assertTrue(strop.lower("HeLLo") == "hello") [all...] |
/external/python/cpython2/Lib/test/ |
test_strop.py | 14 self.assertTrue(strop.atoi(" 1 ") == 1) 19 self.assertTrue(strop.atol(" 1 ") == 1L) 24 self.assertTrue(strop.atof(" 1 ") == 1.0) 29 self.assertTrue(strop.capitalize(" hello ") == " hello ") 30 self.assertTrue(strop.capitalize("hello ") == "Hello ") 33 self.assertTrue(strop.find("abcdefghiabc", "abc") == 0) 34 self.assertTrue(strop.find("abcdefghiabc", "abc", 1) == 9) 35 self.assertTrue(strop.find("abcdefghiabc", "def", 4) == -1) 38 self.assertTrue(strop.rfind("abcdefghiabc", "abc") == 9) 41 self.assertTrue(strop.lower("HeLLo") == "hello" [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_strop.py | 13 self.assertTrue(strop.atoi(" 1 ") == 1) 18 self.assertTrue(strop.atol(" 1 ") == 1L) 23 self.assertTrue(strop.atof(" 1 ") == 1.0) 28 self.assertTrue(strop.capitalize(" hello ") == " hello ") 29 self.assertTrue(strop.capitalize("hello ") == "Hello ") 32 self.assertTrue(strop.find("abcdefghiabc", "abc") == 0) 33 self.assertTrue(strop.find("abcdefghiabc", "abc", 1) == 9) 34 self.assertTrue(strop.find("abcdefghiabc", "def", 4) == -1) 37 self.assertTrue(strop.rfind("abcdefghiabc", "abc") == 9) 40 self.assertTrue(strop.lower("HeLLo") == "hello" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_strop.py | 13 self.assertTrue(strop.atoi(" 1 ") == 1) 18 self.assertTrue(strop.atol(" 1 ") == 1L) 23 self.assertTrue(strop.atof(" 1 ") == 1.0) 28 self.assertTrue(strop.capitalize(" hello ") == " hello ") 29 self.assertTrue(strop.capitalize("hello ") == "Hello ") 32 self.assertTrue(strop.find("abcdefghiabc", "abc") == 0) 33 self.assertTrue(strop.find("abcdefghiabc", "abc", 1) == 9) 34 self.assertTrue(strop.find("abcdefghiabc", "def", 4) == -1) 37 self.assertTrue(strop.rfind("abcdefghiabc", "abc") == 9) 40 self.assertTrue(strop.lower("HeLLo") == "hello" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strop.py | 13 self.assertTrue(strop.atoi(" 1 ") == 1) 18 self.assertTrue(strop.atol(" 1 ") == 1L) 23 self.assertTrue(strop.atof(" 1 ") == 1.0) 28 self.assertTrue(strop.capitalize(" hello ") == " hello ") 29 self.assertTrue(strop.capitalize("hello ") == "Hello ") 32 self.assertTrue(strop.find("abcdefghiabc", "abc") == 0) 33 self.assertTrue(strop.find("abcdefghiabc", "abc", 1) == 9) 34 self.assertTrue(strop.find("abcdefghiabc", "def", 4) == -1) 37 self.assertTrue(strop.rfind("abcdefghiabc", "abc") == 9) 40 self.assertTrue(strop.lower("HeLLo") == "hello" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strop.py | 13 self.assertTrue(strop.atoi(" 1 ") == 1) 18 self.assertTrue(strop.atol(" 1 ") == 1L) 23 self.assertTrue(strop.atof(" 1 ") == 1.0) 28 self.assertTrue(strop.capitalize(" hello ") == " hello ") 29 self.assertTrue(strop.capitalize("hello ") == "Hello ") 32 self.assertTrue(strop.find("abcdefghiabc", "abc") == 0) 33 self.assertTrue(strop.find("abcdefghiabc", "abc", 1) == 9) 34 self.assertTrue(strop.find("abcdefghiabc", "def", 4) == -1) 37 self.assertTrue(strop.rfind("abcdefghiabc", "abc") == 9) 40 self.assertTrue(strop.lower("HeLLo") == "hello" [all...] |
/cts/tests/acceleration/src/android/acceleration/cts/ |
HardwareAccelerationTest.java | 38 assertTrue(mHardwareView.isHardwareAccelerated()); 39 assertTrue(mSoftwareView.isHardwareAccelerated()); 40 assertTrue(mManualHardwareView.isHardwareAccelerated()); 41 assertTrue(mManualSoftwareView.isHardwareAccelerated()); 43 assertTrue(mHardwareView.isCanvasHardwareAccelerated()); 45 assertTrue(mManualHardwareView.isCanvasHardwareAccelerated());
|
WindowFlagHardwareAccelerationTest.java | 35 assertTrue(mHardwareView.isHardwareAccelerated()); 36 assertTrue(mSoftwareView.isHardwareAccelerated()); 37 assertTrue(mManualHardwareView.isHardwareAccelerated()); 38 assertTrue(mManualSoftwareView.isHardwareAccelerated()); 40 assertTrue(mHardwareView.isCanvasHardwareAccelerated()); 42 assertTrue(mManualHardwareView.isCanvasHardwareAccelerated());
|