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.java26 import junit.framework.TestCase;
70 TestCase.assertEquals("addedCount not properly recycled", -1, record.getAddedCount()); in assertAccessibilityRecordCleared()
71 TestCase.assertNull("beforeText not properly recycled", record.getBeforeText()); in assertAccessibilityRecordCleared()
72 TestCase.assertFalse("checked not properly recycled", record.isChecked()); in assertAccessibilityRecordCleared()
73 TestCase.assertNull("className not properly recycled", record.getClassName()); in assertAccessibilityRecordCleared()
74 TestCase.assertNull("contentDescription not properly recycled", in assertAccessibilityRecordCleared()
76 TestCase.assertEquals("currentItemIndex not properly recycled", -1, in assertAccessibilityRecordCleared()
78 TestCase.assertFalse("enabled not properly recycled", record.isEnabled()); in assertAccessibilityRecordCleared()
79 TestCase.assertEquals("fromIndex not properly recycled", -1, record.getFromIndex()); in assertAccessibilityRecordCleared()
80 TestCase.assertFalse("fullScreen not properly recycled", record.isFullScreen()); in assertAccessibilityRecordCleared()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DMacAddressTest.java37 static class TestCase { class in MacAddressTest
43 TestCase(String macAddress, String ouiString, int addressType, boolean isLocallyAssigned) { in TestCase() method in MacAddressTest.TestCase
73 TestCase[] tests = { in testMacAddress()
74 new TestCase("ff:ff:ff:ff:ff:ff", "ff:ff:ff", TYPE_BROADCAST, LOCALLY_ASSIGNED), in testMacAddress()
75 new TestCase("d2:c4:22:4d:32:a8", "d2:c4:22", TYPE_UNICAST, LOCALLY_ASSIGNED), in testMacAddress()
76 new TestCase("33:33:aa:bb:cc:dd", "33:33:aa", TYPE_MULTICAST, LOCALLY_ASSIGNED), in testMacAddress()
77 new TestCase("06:00:00:00:00:00", "06:00:00", TYPE_UNICAST, LOCALLY_ASSIGNED), in testMacAddress()
78 new TestCase("07:00:d3:56:8a:c4", "07:00:d3", TYPE_MULTICAST, LOCALLY_ASSIGNED), in testMacAddress()
79 new TestCase("00:01:44:55:66:77", "00:01:44", TYPE_UNICAST, GLOBALLY_UNIQUE), in testMacAddress()
80 new TestCase("08:00:22:33:44:55", "08:00:22", TYPE_UNICAST, GLOBALLY_UNIQUE), in testMacAddress()
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java105 List<TestCase> testCases = mTestCaseBuilder.getTestCases(); in tearDown()
111 for (TestCase testCase : testCases) { in tearDown()
138 protected TestPositionInfo runRenderSpec(TestCase testCase) { in runRenderSpec()
156 protected Bitmap captureRenderSpec(TestCase testCase) { in captureRenderSpec()
194 private List<TestCase> mTestCases;
211 for (TestCase testCase : mTestCases) { in runWithComparer()
227 for (TestCase testCase : mTestCases) { in runWithVerifier()
250 for (TestCase testCase : mTestCases) { in runWithAnimationVerifier()
293 mTestCases.add(new TestCase(layoutId, viewInitializer, useHardware)); in addLayout()
299 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/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 {
DSPMITest.java28 import junit.framework.TestCase;
30 public class SPMITest extends TestCase {
DParcelFormatExceptionTest.java18 import junit.framework.TestCase;
21 public class ParcelFormatExceptionTest 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/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/telephony/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/camera/src/android/hardware/cts/
DCamera_ParametersTest.java19 import junit.framework.TestCase;
24 public class Camera_ParametersTest 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/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/dexmetadata/host/src/com/android/cts/dexmetadata/
DBaseInstallMultiple.java23 import junit.framework.TestCase;
84 TestCase.assertTrue(result, result.startsWith("Success")); in run()
115 TestCase.assertTrue(result, result.startsWith("Success")); in run()
125 TestCase.assertTrue(result, result.contains("Success")); in run()
127 TestCase.assertFalse(result, result.contains("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 {

12345678