Home
last modified time | relevance | path

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

12345678

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFadingEdgeTest.java75 private static final TestCase[] TEST_DATA = {
77 new TestCase("Should not fade when text:empty, fading:disabled",
79 new TestCase("Should not fade when text:short, dir:LTR, fading:disabled",
81 new TestCase("Should not fade when text:short, dir:RTL, fading:disabled",
83 new TestCase("Should not fade when text:long , dir:LTR, fading:disabled",
85 new TestCase("Should not fade when text:long , dir:RTL, fading:disabled",
87 new TestCase("Should not fade when text:long, dir:LTR, scroll:middle",
89 new TestCase("Should not fade when text:long, dir:RTL, scroll:middle",
93 new TestCase("Should not fade when text:empty",
95 new TestCase("Should not fade when text:short, dir:LTR",
[all …]
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityRecordTest.java32 import junit.framework.TestCase;
86 TestCase.assertEquals("addedCount not properly recycled", -1, record.getAddedCount()); in assertAccessibilityRecordCleared()
87 TestCase.assertNull("beforeText not properly recycled", record.getBeforeText()); in assertAccessibilityRecordCleared()
88 TestCase.assertFalse("checked not properly recycled", record.isChecked()); in assertAccessibilityRecordCleared()
89 TestCase.assertNull("className not properly recycled", record.getClassName()); in assertAccessibilityRecordCleared()
90 TestCase.assertNull("contentDescription not properly recycled", in assertAccessibilityRecordCleared()
92 TestCase.assertEquals("currentItemIndex not properly recycled", -1, in assertAccessibilityRecordCleared()
94 TestCase.assertFalse("enabled not properly recycled", record.isEnabled()); in assertAccessibilityRecordCleared()
95 TestCase.assertEquals("fromIndex not properly recycled", -1, record.getFromIndex()); in assertAccessibilityRecordCleared()
96 TestCase.assertFalse("fullScreen not properly recycled", record.isFullScreen()); in assertAccessibilityRecordCleared()
[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/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java110 List<TestCase> testCases = mTestCaseBuilder.getTestCases(); in tearDown()
116 for (TestCase testCase : testCases) { in tearDown()
172 private TestPositionInfo runRenderSpec(TestCase testCase) { in runRenderSpec()
196 private Bitmap captureRenderSpec(TestCase testCase) { in captureRenderSpec()
226 private List<TestCase> mTestCases;
244 for (TestCase testCase : mTestCases) { in runWithComparer()
264 for (TestCase testCase : mTestCases) { in runWithVerifier()
290 for (TestCase testCase : mTestCases) { in runWithAnimationVerifier()
336 mTestCases.add(new TestCase(layoutId, viewInitializer, useHardware)); in addLayout()
342 TestCase test = new TestCase(layoutId, viewInitializer, useHardware); in addLayout()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DIntentTests.java26 import android.server.wm.intent.Persistence.TestCase;
82 private TestCase mTestCase;
84 public IntentTests(TestCase testCase, String name) { in IntentTests()
116 public static List<TestCase> readAllFromAssets() throws IOException, JSONException { in readAllFromAssets()
117 List<TestCase> testCases = Lists.newArrayList(); in readAllFromAssets()
135 TestCase testCase = TestCase.fromJson( in readAllFromAssets()
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/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/telephony/current/src/android/telephony/gsm/cts/
DSmsMessage_MessageClassTest.java19 import junit.framework.TestCase;
24 public class SmsMessage_MessageClassTest 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/jni/src/android/jni/cts/
DJniTestCase.java21 import junit.framework.TestCase;
23 class JniTestCase extends TestCase {
/cts/tests/tests/os/src/android/os/cts/
DRemoteExceptionTest.java18 import junit.framework.TestCase;
23 public class RemoteExceptionTest extends TestCase {
DNoExecutePermissionTest.java25 import junit.framework.TestCase;
31 public class NoExecutePermissionTest extends TestCase {
DDeadObjectExceptionTest.java18 import junit.framework.TestCase;
23 public class DeadObjectExceptionTest extends TestCase {
DDebug_InstructionCountTest.java23 import junit.framework.TestCase;
26 public class Debug_InstructionCountTest extends TestCase {
DCpuInstructionsTest.java25 import junit.framework.TestCase;
28 public class CpuInstructionsTest extends TestCase {
DSPMITest.java30 import junit.framework.TestCase;
33 public class SPMITest extends TestCase {
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java22 import junit.framework.TestCase;
94 TestCase.assertTrue(result, result.startsWith("Success")); in run()
131 TestCase.assertTrue(result, result.startsWith("Success")); in run()
141 TestCase.assertTrue(result, result.contains("Success")); in run()
143 TestCase.assertFalse(result, result.contains("Success")); in run()
160 TestCase.assertTrue(firstBadResult, firstBadResult.isEmpty()); in run()
/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/tests/tests/bionic_app/com/android/bionic_app/
DBionicAppTest.java19 import junit.framework.TestCase;
21 public class BionicAppTest extends TestCase {
/cts/tests/tests/security/src/android/security/cts/
DLinuxRngTest.java20 import junit.framework.TestCase;
24 public class LinuxRngTest extends TestCase {
/cts/tests/tests/gesture/src/android/gesture/cts/
DGesturePointTest.java21 import junit.framework.TestCase;
26 public class GesturePointTest extends TestCase {
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DDreamsFeatureTest.java23 import junit.framework.TestCase;
25 public class DreamsFeatureTest extends TestCase {
/cts/tests/tests/content/src/android/content/res/cts/
DResources_NotFoundExceptionTest.java19 import static junit.framework.TestCase.assertEquals;
20 import static junit.framework.TestCase.assertSame;
21 import static junit.framework.TestCase.fail;

12345678