Searched refs:test (Results 26 - 50 of 583) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/content/
H A DBrickDeniedTest.java20 import android.test.AndroidTestCase;
21 import android.test.suitebuilder.annotation.MediumTest;
28 // since this test application doesn't have the required permission.
29 // If it does work, well, the test certainly won't pass.
/frameworks/base/core/tests/coretests/src/android/util/
H A DTouchModeFlexibleAsserts.java21 import android.test.InstrumentationTestCase;
22 import android.test.TouchUtils;
36 public static void assertInTouchModeAfterClick(InstrumentationTestCase test, View viewToTouch) { argument
40 TouchUtils.clickView(test, viewToTouch);
48 public static void assertInTouchModeAfterTap(InstrumentationTestCase test, View viewToTouch) { argument
52 TouchUtils.tapView(test, viewToTouch);
60 public static void assertNotInTouchModeAfterKey(InstrumentationTestCase test, int keyCode, View checkForTouchMode) { argument
61 test.sendKeys(keyCode);
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/
H A DOuterTest.java17 package android.test.suitebuilder.examples;
19 import android.test.suitebuilder.TestSuiteBuilder;
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/suppress/
H A DPartiallySuppressedTest.java17 package android.test.suitebuilder.examples.suppress;
19 import android.test.suitebuilder.annotation.Suppress;
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestRunner.java19 import android.test.InstrumentationTestRunner;
20 import android.test.InstrumentationTestSuite;
/frameworks/base/core/java/android/test/
H A DInstrumentationTestSuite.java17 package android.test;
35 * test before running it.
48 * @param theClass Inspected for methods starting with 'test'
49 * @param instr The instrumentation to inject into each test before
65 public void runTest(Test test, TestResult result) { argument
67 if (test instanceof InstrumentationTestCase) {
68 ((InstrumentationTestCase) test).injectInstrumentation(mInstrumentation);
71 // run the test as usual
72 super.runTest(test, result);
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java19 import android.test.suitebuilder.annotation.SmallTest;
20 import android.test.suitebuilder.annotation.Suppress;
184 DateTest test = dayTests[index];
185 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1);
188 local.monthDay += test.offset;
190 if (local.year != test
[all...]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DInstrumentationTestSuiteBuilderTest.java17 package android.test.suitebuilder;
19 import static android.test.suitebuilder.ListTestCaseNames.getTestCaseNames;
20 import android.test.suitebuilder.examples.OuterTest;
21 import android.test.suitebuilder.examples.instrumentation.InstrumentationTest;
80 public void addError(Test test, Throwable t) { argument
81 errors.add(testName(test));
84 public void addFailure(Test test, AssertionFailedError t) { argument
85 failures.add(testName(test));
88 public void endTest(Test test) { argument
91 public void startTest(Test test) { argument
111 testName(Test test) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java17 package android.test;
38 * @param test The test case that is being run
40 * @deprecated {@link android.test.ActivityInstrumentationTestCase} is deprecated in favor of
41 * {@link android.test.ActivityInstrumentationTestCase2}, which provides more options for
42 * configuring the Activity under test
45 public static void dragQuarterScreenDown(ActivityInstrumentationTestCase test) { argument
46 dragQuarterScreenDown(test, test.getActivity());
51 * @param test Th
54 dragQuarterScreenDown(InstrumentationTestCase test, Activity activity) argument
75 dragQuarterScreenUp(ActivityInstrumentationTestCase test) argument
84 dragQuarterScreenUp(InstrumentationTestCase test, Activity activity) argument
108 scrollToBottom(ActivityInstrumentationTestCase test, ViewGroup v) argument
120 scrollToBottom(InstrumentationTestCase test, Activity activity, ViewGroup v) argument
149 scrollToTop(ActivityInstrumentationTestCase test, ViewGroup v) argument
161 scrollToTop(InstrumentationTestCase test, Activity activity, ViewGroup v) argument
188 dragViewToBottom(ActivityInstrumentationTestCase test, View v) argument
199 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v) argument
215 dragViewToBottom(ActivityInstrumentationTestCase test, View v, int stepCount) argument
228 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v, int stepCount) argument
251 tapView(InstrumentationTestCase test, View v) argument
291 touchAndCancelView(InstrumentationTestCase test, View v) argument
326 clickView(InstrumentationTestCase test, View v) argument
377 longClickView(ActivityInstrumentationTestCase test, View v) argument
387 longClickView(InstrumentationTestCase test, View v) argument
437 dragViewToTop(ActivityInstrumentationTestCase test, View v) argument
453 dragViewToTop(ActivityInstrumentationTestCase test, View v, int stepCount) argument
463 dragViewToTop(InstrumentationTestCase test, View v) argument
474 dragViewToTop(InstrumentationTestCase test, View v, int stepCount) argument
547 dragViewBy(ActivityInstrumentationTestCase test, View v, int gravity, int deltaX, int deltaY) argument
569 dragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX, int deltaY) argument
602 dragViewTo(ActivityInstrumentationTestCase test, View v, int gravity, int toX, int toY) argument
619 dragViewTo(InstrumentationTestCase test, View v, int gravity, int toX, int toY) argument
653 dragViewToX(ActivityInstrumentationTestCase test, View v, int gravity, int toX) argument
669 dragViewToX(InstrumentationTestCase test, View v, int gravity, int toX) argument
700 dragViewToY(ActivityInstrumentationTestCase test, View v, int gravity, int toY) argument
716 dragViewToY(InstrumentationTestCase test, View v, int gravity, int toY) argument
747 drag(ActivityInstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument
762 drag(InstrumentationTestCase test, float fromX, float toX, float fromY, float toY, int stepCount) argument
[all...]
H A DInstrumentationCoreTestRunner.java17 package android.test;
35 import android.test.suitebuilder.TestMethod;
36 import android.test.suitebuilder.annotation.HasAnnotation;
40 * This test runner extends the default InstrumentationTestRunner. It overrides
58 * True if (and only if) we are running in single-test mode (as opposed to
92 * The last test class we executed code from.
97 * The minimum time we expect a test to take.
102 * The start time of our current test in System.currentTimeMillis().
106 public void startTest(Test test) {
107 if (test
[all...]
H A DPackageInfoSources.java17 package android.test;
H A DPerformanceCollectorTestCase.java17 package android.test;
H A DTimedTest.java17 package android.test;
23 * This annotation can be used on an {@link junit.framework.TestCase}'s test methods. When the
24 * annotation is present, the test method is timed and the results written through instrumentation
25 * output. It can also be used on the class itself, which is equivalent to tagging all test methods
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListGetSelectedViewTest.java19 import android.test.ActivityInstrumentationTestCase;
20 import android.test.suitebuilder.annotation.LargeTest;
21 import android.test.suitebuilder.annotation.MediumTest;
22 import android.test.TouchUtils;
29 * This test is made to check that getSelectedView() will return
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
H A DFocusableInTouchModeClickTest.java21 import android.test.ActivityInstrumentationTestCase2;
22 import android.test.TouchUtils;
23 import android.test.suitebuilder.annotation.LargeTest;
24 import android.test.suitebuilder.annotation.MediumTest;
/frameworks/base/graphics/tests/graphicstests/
H A DAndroid.mk7 # Include all test java files.
10 LOCAL_JAVA_LIBRARIES := android.test.runner
/frameworks/base/keystore/tests/
H A DAndroid.mk8 LOCAL_JAVA_LIBRARIES := android.test.runner
10 # Include all test java files.
/frameworks/base/location/tests/locationtests/
H A DAndroid.mk7 # Include all test java files.
10 LOCAL_JAVA_LIBRARIES := android.test.runner
/frameworks/base/sax/tests/saxtests/
H A DAndroid.mk7 # Include all test java files.
10 LOCAL_JAVA_LIBRARIES := android.test.runner
/frameworks/base/services/tests/servicestests/
H A DAndroid.mk7 # Include all test java files.
11 LOCAL_JAVA_LIBRARIES := android.test.runner services
/frameworks/base/test-runner/tests/src/android/test/
H A DStubTestBrowserActivity.java17 package android.test;
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/error/
H A DErrorTest.java17 package android.test.suitebuilder.examples.error;
H A DFailingTest.java17 package android.test.suitebuilder.examples.error;
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/simple/
H A DSimpleTest.java17 package android.test.suitebuilder.examples.simple;
/frameworks/base/tests/CoreTests/android/core/
H A DAndroidPerformanceTests.java19 import android.test.TestListActivity;

Completed in 444 milliseconds

1234567891011>>