Searched refs:test (Results 226 - 250 of 771) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleWithInternalScrollTest.java21 import android.test.ActivityInstrumentationTestCase;
22 import android.test.ViewAsserts;
23 import android.test.suitebuilder.annotation.Suppress;
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DMultiPageTextWithPaddingTest.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/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;
22 import android.test.mock.MockContext;
23 import android.test.suitebuilder.ListTestCaseNames;
24 import android.test.suitebuilder.ListTestCaseNames.TestDescriptor;
25 import android.test.suitebuilder.annotation.SmallTest;
45 mTargetContextPackageName = "android.test.suitebuilder.examples";
85 Test test = mStubAndroidTestRunner.getTest();
87 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test),
188 Test test = mStubAndroidTestRunner.getTest();
189 assertContentsInOrder(ListTestCaseNames.getTestNames((TestSuite) test),
301 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/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchTest.java23 import android.test.ActivityInstrumentationTestCase2;
24 import android.test.TouchUtils;
25 import android.test.suitebuilder.annotation.LargeTest;
29 * To run the test, please use command
68 * Run tests and wait until the test has been run for iterations.
75 fail("test didn't stop correctly");
/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;
H A DCallerInfoTest.java19 import android.test.AndroidTestCase;
20 import android.test.suitebuilder.annotation.SmallTest;
29 import android.test.ActivityInstrumentationTestCase;
59 * the number is an emergency one. There is no test for the
126 public class MockResources extends android.test.mock.MockResources
140 public class MockContext extends android.test.mock.MockContext {
145 mResolver = new android.test.mock.MockContentResolver();
163 * 1st quit the thread is maked dead, ie no further test can use
198 // the test has exited. The corresponding stack trace
/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/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java21 import android.test.MoreAsserts;
23 import android.test.suitebuilder.annotation.LargeTest;
24 import android.test.suitebuilder.annotation.SmallTest;
77 "test", "emergency", "system");
78 assertEquals("This is a test of the emergency broadcast system.",
355 TextUtils.writeToParcel("test", p, 0);
357 assertEquals("conversion to/from parcel failed", "test", text);
376 TextUtils.writeToParcel(new SpannableString("test"), p, 0);
379 assertEquals("conversion to/from parcel failed", "test", text.toString());
387 TextUtils.writeToParcel("test",
476 public void test() { method in class:TextUtilsTest.MockSpanned
[all...]
H A DTextLayoutTest.java19 import android.test.suitebuilder.annotation.SmallTest;
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java17 package android.test;
30 import android.test.suitebuilder.TestMethod;
31 import android.test.suitebuilder.TestPredicates;
32 import android.test.suitebuilder.TestSuiteBuilder;
33 import android.test.suitebuilder.annotation.HasAnnotation;
34 import android.test.suitebuilder.annotation.LargeTest;
69 * <ul><li>{@link android.test.ActivityInstrumentationTestCase2}</li>
70 * <li>{@link android.test.ActivityUnitTestCase}</li>
71 * <li>{@link android.test.AndroidTestCase}</li>
72 * <li>{@link android.test
672 startTest(Test test) argument
680 addError(Test test, Throwable t) argument
687 addFailure(Test test, AssertionFailedError t) argument
694 endTest(Test test) argument
751 startTest(Test test) argument
823 addError(Test test, Throwable t) argument
835 addFailure(Test test, AssertionFailedError t) argument
847 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.";
77 * Tears down the environment for the test fixture.
100 final String filenamePrefix = "test.";
/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/notificationtests/src/android/app/
H A DNotificationStressTest.java24 import android.test.InstrumentationTestCase;
25 import android.test.RepetitiveTest;
26 import android.test.TimedTest;
/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/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;

Completed in 208 milliseconds

1234567891011>>