Home
last modified time | relevance | path

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

123456789

/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.java25 import junit.framework.TestCase;
83 TestCase.assertEquals("addedCount not properly recycled", -1, record.getAddedCount()); in assertAccessibilityRecordCleared()
84 TestCase.assertNull("beforeText not properly recycled", record.getBeforeText()); in assertAccessibilityRecordCleared()
85 TestCase.assertFalse("checked not properly recycled", record.isChecked()); in assertAccessibilityRecordCleared()
86 TestCase.assertNull("className not properly recycled", record.getClassName()); in assertAccessibilityRecordCleared()
87 TestCase.assertNull("contentDescription not properly recycled", in assertAccessibilityRecordCleared()
89 TestCase.assertEquals("currentItemIndex not properly recycled", -1, in assertAccessibilityRecordCleared()
91 TestCase.assertFalse("enabled not properly recycled", record.isEnabled()); in assertAccessibilityRecordCleared()
92 TestCase.assertEquals("fromIndex not properly recycled", -1, record.getFromIndex()); in assertAccessibilityRecordCleared()
93 TestCase.assertFalse("fullScreen not properly recycled", record.isFullScreen()); in assertAccessibilityRecordCleared()
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java107 List<TestCase> testCases = mTestCaseBuilder.getTestCases(); in tearDown()
113 for (TestCase testCase : testCases) { in tearDown()
139 protected Point runRenderSpec(TestCase testCase) { in runRenderSpec()
157 protected Bitmap captureRenderSpec(TestCase testCase) { in captureRenderSpec()
176 private List<TestCase> mTestCases;
193 for (TestCase testCase : mTestCases) { in runWithComparer()
209 for (TestCase testCase : mTestCases) { in runWithVerifier()
232 for (TestCase testCase : mTestCases) { in runWithAnimationVerifier()
275 mTestCases.add(new TestCase(layoutId, viewInitializer, useHardware)); in addLayout()
281 TestCase test = new TestCase(layoutId, viewInitializer, useHardware); in addLayout()
[all …]
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryTest.java19 import junit.framework.TestCase;
21 public class SQLiteQueryTest extends TestCase {
/cts/tests/tests/telephony/src/android/telephony/cts/
DSmsMessage_MessageClassTest.java19 import junit.framework.TestCase;
23 public class SmsMessage_MessageClassTest 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/networksecurityconfig/networksecurityconfig-debug-basic-disabled/src/android/security/net/config/cts/
DBasicDebugOverrideDisabledTest.java19 import junit.framework.TestCase;
21 public class BasicDebugOverrideDisabledTest extends TestCase {
/cts/tests/tests/networksecurityconfig/networksecurityconfig-debug-basic-enabled/src/android/security/net/config/cts/
DBasicDebugOverrideEnabledTest.java19 import junit.framework.TestCase;
21 public class BasicDebugOverrideEnabledTest 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 {
DCpuInstructionsTest.java24 import junit.framework.TestCase;
26 public class CpuInstructionsTest 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/src/android/telephony/gsm/cts/
DSmsMessage_MessageClassTest.java19 import junit.framework.TestCase;
24 public class SmsMessage_MessageClassTest extends TestCase {
/cts/tests/tests/networksecurityconfig/networksecurityconfig-invalid-pin/src/android/security/net/config/cts/
DInvalidPinTest.java19 import junit.framework.TestCase;
21 public class InvalidPinTest extends TestCase {
/cts/tests/tests/jni/src/android/jni/cts/
DJniTestCase.java21 import junit.framework.TestCase;
23 class JniTestCase extends TestCase {
/cts/tests/tests/debug/src/android/debug/cts/
DDebugTest.java19 import junit.framework.TestCase;
21 public class DebugTest extends TestCase {
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
DCollectorUtilTest.java18 import junit.framework.TestCase;
23 public class CollectorUtilTest extends TestCase {
/cts/tests/tests/security/src/android/security/cts/
DCharDeviceTest.java21 import junit.framework.TestCase;
24 public class CharDeviceTest extends TestCase {
DActivityManagerTest.java20 import junit.framework.TestCase;
23 public class ActivityManagerTest extends TestCase {
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseInstallMultiple.java25 import junit.framework.TestCase;
123 TestCase.assertTrue(result, result.startsWith("Success")); in run()
154 TestCase.assertTrue(result, result.startsWith("Success")); in run()
164 TestCase.assertTrue(result, result.startsWith("Success")); in run()
166 TestCase.assertFalse(result, result.startsWith("Success")); in run()
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DDreamsFeatureTest.java23 import junit.framework.TestCase;
25 public class DreamsFeatureTest 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/networksecurityconfig/networksecurityconfig-nested-domains/src/android/security/net/config/cts/
DNestedDomainConfigTest.java21 import junit.framework.TestCase;
23 public class NestedDomainConfigTest 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()

123456789