Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 45) sorted by relevance

12

/development/tools/templates/
Djava_tests_file.template3 import android.test.ActivityInstrumentationTestCase2;
6 * This is a simple framework for a test of an Application. See
7 * {@link android.test.ApplicationTestCase ApplicationTestCase} for more information on
10 * To run this test, you can type:
13 * PACKAGE.tests/android.test.InstrumentationTestRunner
/development/testrunner/test_defs/
Dtest_defs.py90 def _AddTest(self, test): argument
98 if self.GetTest(test.GetName()) is not None:
99 logger.SilentLog("Overriding test definition %s" % test.GetName())
100 self._testname_map[test.GetName()] = test
107 for test in self.GetTests():
108 if test.IsContinuous():
109 con_tests.append(test)
/development/samples/ApiDemos/tests/src/com/example/android/apis/
DApiDemosApplicationTests.java19 import android.test.ApplicationTestCase;
20 import android.test.suitebuilder.annotation.MediumTest;
21 import android.test.suitebuilder.annotation.SmallTest;
DApiDemosTest.java19 import android.test.ActivityInstrumentationTestCase2;
DAllTests.java22 import android.test.suitebuilder.TestSuiteBuilder;
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/
DLocalServiceTest.java25 import android.test.MoreAsserts;
26 import android.test.ServiceTestCase;
27 import android.test.suitebuilder.annotation.MediumTest;
28 import android.test.suitebuilder.annotation.SmallTest;
DForwardingTest.java24 import android.test.ActivityUnitTestCase;
25 import android.test.suitebuilder.annotation.MediumTest;
/development/tools/hosttestlib/src/com/android/hosttest/
DDeviceTestSuite.java53 public void runTest(Test test, TestResult result) { in runTest() argument
54 if (test instanceof DeviceTest) { in runTest()
55 DeviceTest deviceTest = (DeviceTest)test; in runTest()
59 test.run(result); in runTest()
DDeviceTestRunner.java120 public TestResult doRun(Test test, boolean wait) { in doRun() argument
121 if (test instanceof DeviceTest) { in doRun()
122 DeviceTest deviceTest = (DeviceTest)test; in doRun()
127 test.getClass().getName())); in doRun()
129 return super.doRun(test, wait); in doRun()
140 Test test = DeviceTestSuite.createTest(testClass, method); in runSingleMethod() local
141 return doRun(test, wait); in runSingleMethod()
/development/testrunner/
Druntest.py238 for test in self._known_tests:
239 print "%-25s %-40s %s" % (test.GetName(), test.GetBuildPath(),
240 test.GetDescription())
320 for test in tests:
321 if test.IsFullMake():
322 if test.GetExtraBuildArgs():
324 extra_args_set.add(test.GetExtraBuildArgs())
327 " extra_build_args" % test.GetName())
373 test = self._known_tests.GetTest(name)
374 if test is None:
[all …]
/development/tools/emulator/test-apps/ConnectivityTest/src/com/android/emulator/connectivity/test/
DConnectivityTest.java17 package com.android.emulator.connectivity.test;
26 import android.test.AndroidTestCase;
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivityTest.java22 import android.test.ActivityInstrumentationTestCase2;
23 import android.test.suitebuilder.annotation.SmallTest;
/development/ndk/samples/hello-jni/tests/src/com/example/hellojni/
DHelloJniTest.java3 import android.test.ActivityInstrumentationTestCase;
/development/ndk/samples/two-libs/tests/src/com/example/twolibs/
DTwoLibsTest.java3 import android.test.ActivityInstrumentationTestCase;
/development/samples/Snake/tests/src/com/example/android/snake/
DSnakeTest.java19 import android.test.ActivityInstrumentationTestCase2;
/development/samples/SkeletonApp/tests/src/com/example/android/skeletonapp/
DSkeletonAppTest.java19 import android.test.ActivityInstrumentationTestCase2;
/development/samples/HelloActivity/tests/src/com/example/android/helloactivity/
DHelloActivityTest.java19 import android.test.ActivityInstrumentationTestCase2;
/development/samples/SpinnerTest/src/com/android/example/spinner/test/
DSpinnerActivityTest.java17 package com.android.example.spinner.test;
22 import android.test.ActivityInstrumentationTestCase2;
23 import android.test.UiThreadTest;
/development/samples/ApiDemos/tests/src/com/example/android/apis/view/
DFocus2ActivityTest.java21 import android.test.ActivityInstrumentationTestCase2;
22 import android.test.suitebuilder.annotation.MediumTest;
/development/tools/emulator/test-apps/GpsLocationTest/src/com/android/emulator/gps/test/
DGpsLocationTest.java16 package com.android.emulator.gps.test;
24 import android.test.AndroidTestCase;
/development/tools/emulator/opengl/tests/gles_android_wrapper/
Dgles_emul.cfg6 test-opengl-gl2_basic
/development/samples/LunarLander/tests/src/com/example/android/lunarlander/
DLunarLanderTest.java19 import android.test.ActivityInstrumentationTestCase2;
/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadActivityTest.java19 import android.test.ActivityInstrumentationTestCase2;
/development/samples/UiAutomator/
DREADME10 …# adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.Laun…
22 …# adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.LogB…
31 …# adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.SetT…
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/
DAllTests.java21 import android.test.suitebuilder.TestSuiteBuilder;

12