Searched defs:test (Results 176 - 200 of 222) sorted by relevance

123456789

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity6.java17 package com.android.test.hwui;
H A DDisplayListLayersActivity.java18 package com.android.test.hwui;
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUnitTest.java17 package com.android.rs.test;
92 RSTest.log("Unit test got unexpected message");
H A DRSTestCore.java17 package com.android.rs.test;
109 refreshTestResults(); /* Kick off the first test */
124 /* Properly clean up on our last test */
138 /* This routine will only get called once when a new test
174 /* Wait to exit until we finish the current test */
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DProfiledWebView.java17 package com.test.tilebenchmark;
25 import com.test.tilebenchmark.ProfileActivity.ProfileCallback;
26 import com.test.tilebenchmark.RunData.TileData;
38 // before test is forced
H A DPlaybackActivity.java17 package com.test.tilebenchmark;
H A DPlaybackGraphs.java17 package com.test.tilebenchmark;
26 import com.test.tilebenchmark.RunData.TileData;
/frameworks/base/tests/TileBenchmark/tests/src/com/test/tilebenchmark/
H A DPerformanceTest.java17 package com.test.tilebenchmark;
19 import com.test.tilebenchmark.ProfileActivity.ProfileCallback;
28 import android.test.ActivityInstrumentationTestCase2;
99 Log.d(LOGTAG, "test starting for url " + url);
152 Log.d(LOGTAG, "test completion callback");
/frameworks/base/tools/aidl/
H A Doptions_test.cpp57 test(const Answer& answer) function
140 /* argv */ { "test", "-i/moof", "-I/blah", "-Ibleh", "-imoo", "inputFileName.aidl_cpp", NULL, NULL },
152 /* argv */ { "test", "inputFileName.aidl_cpp", "-oh", "outputH", NULL, NULL, NULL, NULL },
164 /* argv */ { "test", "inputFileName.aidl_cpp", "-ocpp", "outputCPP", NULL, NULL, NULL, NULL },
176 /* argv */ { "test", "inputFileName.aidl_cpp", "-ojava", "outputJava", NULL, NULL, NULL, NULL },
188 /* argv */ { "test", "inputFileName.aidl_cpp", "-oh", "outputH", "-ocpp", "outputCPP", "-ojava", "outputJava" },
200 /* argv */ { "test", "inputFileName.aidl_cpp", "-oh", "outputH", "-oh", "outputH1", NULL, NULL },
212 /* argv */ { "test", "inputFileName.aidl_cpp", "-ocpp", "outputCPP", "-ocpp", "outputCPP1", NULL, NULL },
224 /* argv */ { "test", "inputFileName.aidl_cpp", "-ojava", "outputJava", "-ojava", "outputJava1", NULL, NULL },
256 matches[i] = test(g_test
[all...]
/frameworks/base/test-runner/src/android/test/
H A DAndroidTestRunner.java17 package android.test;
59 public void setTest(Test test) { argument
60 setTest(test, test.getClass());
63 private void setTest(Test test, Class<? extends Test> testClass) { argument
64 mTestCases = (List<TestCase>) TestCaseUtil.getTests(test, true);
66 mTestClassName = TestCaseUtil.getTestName(test);
87 runFailed("Could not find test class. Class: " + testClassName);
98 runFailed("Could not access test class. Class: " + testClass.getName());
100 runFailed("Could not instantiate test clas
173 setContextIfAndroidTestCase(Test test, Context context, Context testContext) argument
184 setInstrumentationIfInstrumentationTestCase( Test test, Instrumentation instrumentation) argument
191 setPerformanceWriterIfPerformanceCollectorTestCase( Test test, PerformanceResultsWriter writer) argument
229 testFailed(int status, Test test, Throwable t) argument
[all...]
H A DActivityUnitTestCase.java17 package android.test;
27 import android.test.mock.MockApplication;
31 * This class provides isolated testing of a single activity. The activity under test will
36 * <p>If you prefer a functional test, see {@link android.test.ActivityInstrumentationTestCase}.
38 * <p>It must be noted that, as a true unit test, your Activity will not be running in the
55 * <p>The following methods may be called but will not do anything. For test purposes, you can use
63 * <p>The following methods may be called but will not do anything. For test purposes, you can use
103 * Start the activity under test, in the same way as if it was started by
109 * cycle methods, you must call them yourself from your test cas
[all...]
H A DClassPathPackageInfoSource.java17 package android.test;
82 // Don't try to load classes that are generated. They usually aren't in test apks.
H A DRenamingDelegatingContext.java17 package android.test;
223 * cache dir as the parent directory and creates a test cache dir inside that.
H A DTestRunner.java17 package android.test;
38 * Support class that actually runs a test. Android uses this class,
40 * class yourself. See the full {@link android.test} package description
96 * start of a test.
98 * @param test
100 public void startTest(Test test) { argument
101 started(test.toString());
106 * end of the test.
108 * @param test
110 public void endTest(Test test) { argument
123 addError(Test test, Throwable t) argument
128 addFailure(Test test, junit.framework.AssertionFailedError t) argument
[all...]
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...]
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestSuiteBuilder.java17 package android.test.suitebuilder;
20 import android.test.AndroidTestRunner;
21 import android.test.TestCaseUtil;
25 import static android.test.suitebuilder.TestGrouping.SORT_BY_FULLY_QUALIFIED_NAME;
26 import static android.test.suitebuilder.TestPredicates.REJECT_SUPPRESSED;
59 * @param clazz Use the class from your .apk. Use the class name for the test suite name.
182 for (TestMethod test : testGrouping.getTests()) {
183 if (satisfiesAllPredicates(test)) {
184 addTest(test);
195 Log.i("TestSuiteBuilder", "Failed to create test
251 satisfiesAllPredicates(TestMethod test) argument
265 addTest(Test test) argument
[all...]
/frameworks/base/test-runner/tests/src/android/test/
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...]
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...]
/frameworks/base/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java17 package com.android.test;
/frameworks/base/test-runner/src/android/test/mock/
H A DMockIContentProvider.java17 package android.test.mock;
/frameworks/base/test-runner/src/junit/textui/
H A DResultPrinter.java85 getWriter().println (" (" + result.runCount() + " test" + (result.runCount() == 1 ? "": "s") + ")");
114 public void addError(Test test, Throwable t) { argument
121 public void addFailure(Test test, AssertionFailedError t) { argument
128 public void endTest(Test test) { argument
134 public void startTest(Test test) { argument
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/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java17 package com.google.android.test.dpi;
57 "com.google.android.test.dpi", 0);
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java17 package com.google.android.test.transform;
/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...]

Completed in 208 milliseconds

123456789