Home
last modified time | relevance | path

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

1234

/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/scripts/
Ddisassemble_test.py6 for test in disassemble_test_input.tests:
7 print test
8 …for line in disassemble_tombstone.Disassemble(iter(disassemble_test_input.tests[test].splitlines(T…
/development/vndk/tools/sourcedr/sourcedr/tests/testdata/android_src/
Dbuild.ninja13 build dlopen/test.o: cc dlopen/test.c
15 build dlopen/test.so: ld dlopen/test.o
/development/vndk/tools/definition-tool/tests/testdata/test_elfdump/input/
Dmain.c16 void (*test)(void) = dlsym(handle, "test"); in main() local
17 if (!test) { in main()
20 test(); in main()
Dtest.c1 extern void test();
5 void test() { in test() function
/development/tools/hosttestlib/src/com/android/hosttest/
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()
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()
/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;
/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/winscope/
Dwebpack.config.js31 test: /\.vue$/, property
40 test: /\.js$/, property
45 test: /\.proto$/, property
55 test: /\.(png|jpg|gif|svg)$/, property
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson3/
DClickFunActivityTest.java22 import android.test.ActivityInstrumentationTestCase2;
23 import android.test.TouchUtils;
24 import android.test.ViewAsserts;
25 import android.test.suitebuilder.annotation.MediumTest;
/development/testrunner/
Druntest.py258 for test in self._known_tests:
259 print "%-25s %-40s %s" % (test.GetName(), test.GetBuildPath(),
260 test.GetDescription())
389 for test in tests:
390 if test.IsFullMake() and test.IsGrantedPermissions() == test_requires_permissions:
391 if test.GetExtraBuildArgs():
393 extra_args_set.add(test.GetExtraBuildArgs())
396 " extra_build_args" % test.GetName())
443 test = self._known_tests.GetTest(name)
444 if test is None:
[all …]
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson5/
DSenderActivityTest.java23 import android.test.ActivityInstrumentationTestCase2;
24 import android.test.TouchUtils;
25 import android.test.suitebuilder.annotation.MediumTest;
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivityTest.java22 import android.test.ActivityInstrumentationTestCase2;
23 import android.test.suitebuilder.annotation.SmallTest;
/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/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/SkeletonApp/tests/src/com/example/android/skeletonapp/
DSkeletonAppTest.java19 import android.test.ActivityInstrumentationTestCase2;
/development/samples/Snake/tests/src/com/example/android/snake/
DSnakeTest.java19 import android.test.ActivityInstrumentationTestCase2;
/development/samples/HelloActivity/tests/src/com/example/android/helloactivity/
DHelloActivityTest.java19 import android.test.ActivityInstrumentationTestCase2;
/development/samples/BrokenKeyDerivation/tests/src/com/example/android/brokenkeyderivation/
DBrokenKeyDerivationTest.java19 import android.test.ActivityInstrumentationTestCase2;
/development/samples/LunarLander/tests/src/com/example/android/lunarlander/
DLunarLanderTest.java19 import android.test.ActivityInstrumentationTestCase2;

1234