Home
last modified time | relevance | path

Searched refs:TestCase (Results 1 – 25 of 187) sorted by relevance

12345678

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFadingEdgeTest.java67 private static final TestCase[] TEST_DATA = {
69 new TestCase("Should not fade when text:empty, fading:disabled",
71 new TestCase("Should not fade when text:short, dir:LTR, fading:disabled",
73 new TestCase("Should not fade when text:short, dir:RTL, fading:disabled",
75 new TestCase("Should not fade when text:long , dir:LTR, fading:disabled",
77 new TestCase("Should not fade when text:long , dir:RTL, fading:disabled",
79 new TestCase("Should not fade when text:long, dir:LTR, scroll:middle",
81 new TestCase("Should not fade when text:long, dir:RTL, scroll:middle",
85 new TestCase("Should not fade when text:empty",
87 new TestCase("Should not fade when text:short, dir:LTR",
[all …]
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityRecordTest.java31 import junit.framework.TestCase;
85 TestCase.assertEquals("addedCount not properly recycled", -1, record.getAddedCount()); in assertAccessibilityRecordCleared()
86 TestCase.assertNull("beforeText not properly recycled", record.getBeforeText()); in assertAccessibilityRecordCleared()
87 TestCase.assertFalse("checked not properly recycled", record.isChecked()); in assertAccessibilityRecordCleared()
88 TestCase.assertNull("className not properly recycled", record.getClassName()); in assertAccessibilityRecordCleared()
89 TestCase.assertNull("contentDescription not properly recycled", in assertAccessibilityRecordCleared()
91 TestCase.assertEquals("currentItemIndex not properly recycled", -1, in assertAccessibilityRecordCleared()
93 TestCase.assertFalse("enabled not properly recycled", record.isEnabled()); in assertAccessibilityRecordCleared()
94 TestCase.assertEquals("fromIndex not properly recycled", -1, record.getFromIndex()); in assertAccessibilityRecordCleared()
95 TestCase.assertFalse("fullScreen not properly recycled", record.isFullScreen()); in assertAccessibilityRecordCleared()
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java111 List<TestCase> testCases = mTestCaseBuilder.getTestCases(); in tearDown()
117 for (TestCase testCase : testCases) { in tearDown()
145 private TestPositionInfo runRenderSpec(TestCase testCase) { in runRenderSpec()
166 private Bitmap captureRenderSpec(TestCase testCase) { in captureRenderSpec()
204 private List<TestCase> mTestCases;
222 for (TestCase testCase : mTestCases) { in runWithComparer()
243 for (TestCase testCase : mTestCases) { in runWithVerifier()
269 for (TestCase testCase : mTestCases) { in runWithAnimationVerifier()
315 mTestCases.add(new TestCase(layoutId, viewInitializer, useHardware)); in addLayout()
321 TestCase test = new TestCase(layoutId, viewInitializer, useHardware); in addLayout()
[all …]
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java111 List<TestCase> testCases = mTestCaseBuilder.getTestCases(); in tearDown()
117 for (TestCase testCase : testCases) { in tearDown()
145 private TestPositionInfo runRenderSpec(TestCase testCase) { in runRenderSpec()
166 private Bitmap captureRenderSpec(TestCase testCase) { in captureRenderSpec()
204 private List<TestCase> mTestCases;
221 for (TestCase testCase : mTestCases) { in runWithComparer()
237 for (TestCase testCase : mTestCases) { in runWithVerifier()
260 for (TestCase testCase : mTestCases) { in runWithAnimationVerifier()
303 mTestCases.add(new TestCase(layoutId, viewInitializer, useHardware)); in addLayout()
309 TestCase test = new TestCase(layoutId, viewInitializer, useHardware); in addLayout()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DIntentTests.java27 import android.server.wm.intent.Persistence.TestCase;
88 private TestCase mTestCase;
90 public IntentTests(TestCase testCase, String name) { in IntentTests()
122 public static List<TestCase> readAllFromAssets() throws IOException, JSONException { in readAllFromAssets()
123 List<TestCase> testCases = Lists.newArrayList(); in readAllFromAssets()
141 TestCase testCase = TestCase.fromJson( in readAllFromAssets()
151 static void writeToDocumentsStorage(TestCase testCase, int number, String dirName) in writeToDocumentsStorage()
DIntentGenerationTests.java25 import android.server.wm.intent.Persistence.TestCase;
125 TestCase testCase = readFromStorage(test); in verifySingle()
129 private TestCase readFromStorage(String fileName) throws IOException, JSONException { in readFromStorage()
136 return TestCase.fromJson(jsonInTestFile, TABLE, fileName); in readFromStorage()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java25 import junit.framework.TestCase;
137 TestCase.assertTrue(result, result.startsWith("Success")); in run()
168 TestCase.assertTrue(result, result.startsWith("Success")); in run()
179 TestCase.assertTrue(result, result.startsWith("Success")); in run()
181 TestCase.assertFalse(result, result.startsWith("Success")); in run()
184 TestCase.assertTrue(result, result.contains(failure)); in run()
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java25 import junit.framework.TestCase;
137 TestCase.assertTrue(result, result.startsWith("Success")); in run()
168 TestCase.assertTrue(result, result.startsWith("Success")); in run()
179 TestCase.assertTrue(result, result.startsWith("Success")); in run()
181 TestCase.assertFalse(result, result.startsWith("Success")); in run()
184 TestCase.assertTrue(result, result.contains(failure)); in run()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseInstallMultiple.java25 import junit.framework.TestCase;
227 TestCase.assertTrue(result, result.startsWith("Success")); in runNonIncremental()
264 TestCase.assertTrue(result, result.startsWith("Success")); in runNonIncremental()
276 TestCase.assertTrue(result, result.startsWith("Success")); in runNonIncremental()
287 TestCase.assertTrue(result, result.startsWith("Success")); in runNonIncremental()
289 TestCase.assertFalse(result, result.startsWith("Success")); in runNonIncremental()
292 TestCase.assertTrue(result, result.contains(failure)); in runNonIncremental()
335 TestCase.assertTrue(result, result.startsWith("Success")); in runIncremental()
337 TestCase.assertFalse(result, result.startsWith("Success")); in runIncremental()
340 TestCase.assertTrue(result, result.contains(failure)); in runIncremental()
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java23 import junit.framework.TestCase;
103 TestCase.assertTrue(result, result.startsWith("Success")); in run()
140 TestCase.assertTrue(result, result.startsWith("Success")); in run()
150 TestCase.assertTrue(result, result.contains("Success")); in run()
152 TestCase.assertFalse(result, result.contains("Success")); in run()
169 TestCase.assertTrue(firstBadResult, firstBadResult.isEmpty()); in run()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryTest.java19 import junit.framework.TestCase;
21 public class SQLiteQueryTest extends TestCase {
/cts/tests/camera/src/android/hardware/cts/
DCamera_ParametersTest.java19 import junit.framework.TestCase;
22 public class Camera_ParametersTest extends TestCase {
/cts/tests/tests/os/src/android/os/cts/
DRemoteExceptionTest.java18 import junit.framework.TestCase;
22 public class RemoteExceptionTest extends TestCase {
DDeadObjectExceptionTest.java18 import junit.framework.TestCase;
21 public class DeadObjectExceptionTest extends TestCase {
DDebug_InstructionCountTest.java22 import junit.framework.TestCase;
24 public class Debug_InstructionCountTest extends TestCase {
DNoExecutePermissionTest.java25 import junit.framework.TestCase;
31 public class NoExecutePermissionTest extends TestCase {
/cts/tests/tests/drm/src/android/drm/cts/
DNativeCodeTest.java19 import junit.framework.TestCase;
21 public class NativeCodeTest extends TestCase {
/cts/tests/tests/telephony/current/src/android/telephony/gsm/cts/
DSmsMessage_MessageClassTest.java19 import junit.framework.TestCase;
24 public class SmsMessage_MessageClassTest extends TestCase {
/cts/tests/tests/jni/src/android/jni/cts/
DJniTestCase.java21 import junit.framework.TestCase;
23 class JniTestCase extends TestCase {
/cts/tests/tests/security/src/android/security/cts/
DNativeCodeTest.java21 import junit.framework.TestCase;
23 public class NativeCodeTest extends TestCase {
DLinuxRngTest.java20 import junit.framework.TestCase;
24 public class LinuxRngTest extends TestCase {
/cts/tests/tests/bionic_app/com/android/bionic_app/
DBionicAppTest.java19 import junit.framework.TestCase;
21 public class BionicAppTest extends TestCase {
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBluetoothSharingRestrictionTest.java30 import junit.framework.TestCase;
122 TestCase.fail("The state of " + component + " should have been " + expectedState in assertComponentStateAfterTimeout()
145 TestCase.fail(component + " is available as a handler for " + intent); in assertHandlerAvailable()
151 TestCase.fail(component + " isn't available as a handler for " + intent); in assertHandlerAvailable()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsReportHandler.java44 private CtsReport.TestPackage.TestSuite.TestCase.Builder mTestCaseBld;
66 mTestCaseBld = CtsReport.TestPackage.TestSuite.TestCase.newBuilder(); in startElement()
69 CtsReport.TestPackage.TestSuite.TestCase.Test.Builder testBld; in startElement()
70 testBld = CtsReport.TestPackage.TestSuite.TestCase.Test.newBuilder(); in startElement()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestResult.java22 import junit.framework.TestCase;
138 protected void run(TestCase testCase) { in run()
152 private final TestCase mTestCase;
154 public TestNode(TestCase testCase) { in TestNode()

12345678