Searched refs:test (Results 201 - 225 of 583) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
H A DTouchModeFocusableTest.java23 import android.test.ActivityInstrumentationTestCase;
24 import android.test.suitebuilder.annotation.LargeTest;
25 import android.test.suitebuilder.annotation.MediumTest;
H A DChangeTouchModeTest.java25 import android.test.ActivityInstrumentationTestCase;
26 import android.test.suitebuilder.annotation.LargeTest;
27 import android.test.suitebuilder.annotation.MediumTest;
/frameworks/base/test-runner/tests/src/android/test/
H A DInstrumentationTestRunnerTest.java17 package android.test;
21 import android.test.mock.MockContext;
22 import android.test.suitebuilder.ListTestCaseNames;
23 import android.test.suitebuilder.ListTestCaseNames.TestDescriptor;
24 import android.test.suitebuilder.annotation.SmallTest;
44 mTargetContextPackageName = "android.test.suitebuilder.examples";
84 Test test = mStubAndroidTestRunner.getTest();
86 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test),
151 Test test = mStubAndroidTestRunner.getTest();
152 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test),
257 setTest(Test test) argument
[all...]
H A DAndroidTestRunnerTest.java17 package android.test;
19 import android.test.mock.MockContext;
20 import android.test.suitebuilder.annotation.SmallTest;
148 // Use the test suite provided by the interface method rather than the static suite method.
190 // running the failing test should pass - ie as if its not run
260 public void addError(Test test, Throwable t) { argument
263 public void addFailure(Test test, AssertionFailedError t) { argument
266 public void endTest(Test test) { argument
269 public void startTest(Test test) { argument
270 if (test instanceo
[all...]
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSMSDispatcherTest.java19 import android.test.suitebuilder.annotation.MediumTest;
22 import com.android.internal.telephony.test.SimulatedCommands;
23 import com.android.internal.telephony.test.SimulatedRadioControl;
24 import android.test.AndroidTestCase;
25 import android.test.suitebuilder.annotation.Suppress;
/frameworks/base/test-runner/src/junit/textui/
H A DTestRunner.java16 * will be invoked and the returned test is run. Otherwise all
17 * the methods starting with "test" having no arguments are run.
61 * Runs a single test and collects its results.
62 * This method can be used to start a test run
66 * test.textui.TestRunner.run(suite());
70 static public TestResult run(Test test) { argument
72 return runner.doRun(test);
76 * Runs a single test and waits until the user
92 public void testFailed(int status, Test test, Throwable t) { argument
102 * Creates the TestResult to be used for the test ru
108 doRun(Test test) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java17 package android.test;
19 import static android.test.suitebuilder.TestPredicates.REJECT_PERFORMANCE;
32 import android.test.suitebuilder.TestMethod;
33 import android.test.suitebuilder.TestPredicates;
34 import android.test.suitebuilder.TestSuiteBuilder;
35 import android.test.suitebuilder.annotation.HasAnnotation;
36 import android.test.suitebuilder.annotation.LargeTest;
63 * <ul><li>{@link android.test.ActivityInstrumentationTestCase2}</li>
64 * <li>{@link android.test.ActivityUnitTestCase}</li>
65 * <li>{@link android.test
642 startTest(Test test) argument
650 addError(Test test, Throwable t) argument
657 addFailure(Test test, AssertionFailedError t) argument
664 endTest(Test test) argument
721 startTest(Test test) argument
780 addError(Test test, Throwable t) argument
792 addFailure(Test test, AssertionFailedError t) argument
804 endTest(Test test) argument
[all...]
H A DProviderTestCase.java17 package android.test;
22 import android.test.mock.MockContext;
23 import android.test.mock.MockContentResolver;
27 * If you would like to test a single content provider with an
50 * The content provider that will be set up for use in each test method.
63 final String filenamePrefix = "test.";
88 final String filenamePrefix = "test.";
H A DProviderTestCase2.java17 package android.test;
23 import android.test.mock.MockContext;
24 import android.test.mock.MockContentResolver;
31 * ContentProvider. It uses a {@link android.test.mock.MockContentResolver} to
34 * {@link android.test.IsolatedContext} to isolate the ContentProvider from the
69 * The content provider that will be set up for use in each test method.
82 final String filenamePrefix = "test.";
/frameworks/base/telephony/tests/telephonytests/src/com/android/telephonytest/unit/
H A DCallerInfoUnitTest.java18 import android.test.AndroidTestCase;
19 import android.test.suitebuilder.annotation.SmallTest;
28 import android.test.ActivityInstrumentationTestCase;
58 * the number is an emergency one. There is no test for the
125 public class MockResources extends android.test.mock.MockResources
139 public class MockContext extends android.test.mock.MockContext {
144 mResolver = new android.test.mock.MockContentResolver();
162 * 1st quit the thread is maked dead, ie no further test can use
197 // the test has exited. The corresponding stack trace
/frameworks/base/core/tests/coretests/src/android/view/
H A DViewStubTest.java22 import android.test.ActivityInstrumentationTestCase;
23 import android.test.suitebuilder.annotation.MediumTest;
24 import android.test.UiThreadTest;
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusChangeWithInterestingRectHintTest.java22 import android.test.ActivityInstrumentationTestCase;
23 import android.test.suitebuilder.annotation.LargeTest;
24 import android.test.suitebuilder.annotation.MediumTest;
H A DRequestFocusTest.java23 import android.test.ActivityInstrumentationTestCase;
24 import android.test.suitebuilder.annotation.LargeTest;
25 import android.test.suitebuilder.annotation.MediumTest;
58 // can't go in SetUp, or the test will hang.
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridSetSelectionBaseTest.java21 import android.test.ActivityInstrumentationTestCase;
22 import android.test.suitebuilder.annotation.MediumTest;
23 import android.test.ViewAsserts;
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchStackFromBottomTest.java20 import android.test.TouchUtils;
21 import android.test.suitebuilder.annotation.MediumTest;
23 import android.test.ActivityInstrumentationTestCase;
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
H A DFrameLayoutMarginTest.java19 import android.test.ActivityInstrumentationTestCase;
20 import android.test.suitebuilder.annotation.MediumTest;
21 import android.test.ViewAsserts;
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineAlignmentCenterGravityTest.java20 import android.test.ActivityInstrumentationTestCase;
21 import android.test.suitebuilder.annotation.MediumTest;
22 import android.test.ViewAsserts;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemRequestRectAboveThinFirstItemTest.java20 import android.test.ActivityInstrumentationTestCase;
21 import android.test.suitebuilder.annotation.LargeTest;
22 import android.test.suitebuilder.annotation.MediumTest;
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListInterleaveFocusablesTest.java19 import android.test.ActivityInstrumentationTestCase;
20 import android.test.suitebuilder.annotation.LargeTest;
21 import android.test.suitebuilder.annotation.MediumTest;
H A DListWithScreenOfNoSelectablesTest.java21 import android.test.ActivityInstrumentationTestCase;
22 import android.test.suitebuilder.annotation.LargeTest;
23 import android.test.suitebuilder.annotation.MediumTest;
/frameworks/base/core/tests/coretests/src/android/os/
H A DTraceTest.java20 import android.test.AndroidTestCase;
21 import android.test.suitebuilder.annotation.LargeTest;
22 import android.test.suitebuilder.annotation.SmallTest;
23 import android.test.suitebuilder.annotation.Suppress;
27 * This class is used to test the native tracing support. Run this test
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextLayoutTest.java19 import android.test.suitebuilder.annotation.SmallTest;
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListSetSelectionTest.java19 import android.test.ActivityInstrumentationTestCase;
20 import android.test.suitebuilder.annotation.LargeTest;
21 import android.test.suitebuilder.annotation.MediumTest;
22 import android.test.TouchUtils;
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
H A DExternalSharedPermsFLTest.java24 import android.test.InstrumentationTestCase;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DEntropyServiceTest.java21 import android.test.AndroidTestCase;

Completed in 1901 milliseconds

1234567891011>>