Home
last modified time | relevance | path

Searched defs:test (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/
DBundleTestListener.java39 public void addError(Test test, Throwable t) { in addError()
44 public void addFailure(Test test, junit.framework.AssertionFailedError t) { in addFailure()
49 public void endTest(Test test) { in endTest()
55 public void startTest(Test test) { in startTest()
59 private String getComboName(Test test) { in getComboName()
DBundlePrinter.java47 public void addError(Test test, Throwable t) { in addError()
54 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
61 public void endTest(Test test) { in endTest()
69 public void startTest(Test test) { in startTest()
75 private String getComboName(Test test) { in getComboName()
DTouchUtils.java45 public static void dragQuarterScreenDown(ActivityInstrumentationTestCase test) { in dragQuarterScreenDown()
54 public static void dragQuarterScreenDown(InstrumentationTestCase test, Activity activity) { in dragQuarterScreenDown()
75 public static void dragQuarterScreenUp(ActivityInstrumentationTestCase test) { in dragQuarterScreenUp()
84 public static void dragQuarterScreenUp(InstrumentationTestCase test, Activity activity) { in dragQuarterScreenUp()
108 public static void scrollToBottom(ActivityInstrumentationTestCase test, ViewGroup v) { in scrollToBottom()
120 public static void scrollToBottom(InstrumentationTestCase test, Activity activity, in scrollToBottom()
149 public static void scrollToTop(ActivityInstrumentationTestCase test, ViewGroup v) { in scrollToTop()
161 public static void scrollToTop(InstrumentationTestCase test, Activity activity, ViewGroup v) { in scrollToTop()
188 public static void dragViewToBottom(ActivityInstrumentationTestCase test, View v) { in dragViewToBottom()
199 public static void dragViewToBottom(InstrumentationTestCase test, Activity activity, View v) { in dragViewToBottom()
[all …]
DTestCaseUtil.java44 public static List<String> getTestCaseNames(Test test, boolean flatten) { in getTestCaseNames()
53 public static List<? extends Test> getTests(Test test, boolean flatten) { in getTests()
57 private static List<? extends Test> getTests(Test test, boolean flatten, in getTests()
123 public static String getTestName(Test test) { in getTestName()
146 Test test = (Test) enumeration.nextElement(); in getTestAtIndex() local
158 Test test = invokeSuiteMethodIfPossible(testClass, in createTestSuite() local
DTestPrinter.java88 private void failed(Test test, Throwable t) { in failed()
93 public void addError(Test test, Throwable t) { in addError()
97 public void addFailure(Test test, junit.framework.AssertionFailedError t) { in addFailure()
101 public void endTest(Test test) { in endTest()
109 public void startTest(Test test) { in startTest()
DAndroidTestRunner.java59 public void setTest(Test test) { in setTest()
63 private void setTest(Test test, Class<? extends Test> testClass) { in setTest()
173 private void setContextIfAndroidTestCase(Test test, Context context, Context testContext) { in setContextIfAndroidTestCase()
185 Test test, Instrumentation instrumentation) { in setInstrumentationIfInstrumentationTestCase()
192 Test test, PerformanceResultsWriter writer) { in setPerformanceWriterIfPerformanceCollectorTestCase()
229 public void testFailed(int status, Test test, Throwable t) { in testFailed()
DTestRecorder.java165 public void addError(Test test, Throwable t) { in addError()
170 public void addFailure(Test test, junit.framework.AssertionFailedError t) { in addFailure()
175 public void endTest(Test test) { in endTest()
183 public void startTest(Test test) { in startTest()
DTestRunner.java100 public void startTest(Test test) { in startTest()
110 public void endTest(Test test) { in endTest()
123 public void addError(Test test, Throwable t) { in addError()
128 public void addFailure(Test test, junit.framework.AssertionFailedError t) { in addFailure()
289 Runnable test = (Runnable) clazz.newInstance(); in run() local
334 junit.framework.TestCase test = (junit.framework.TestCase) clazz.newInstance(); in run() local
352 Test test = suite.testAt(j); in run() local
447 Runnable test = (Runnable) testCase; in runInPerformanceMode() local
494 junit.framework.TestCase test = (junit.framework.TestCase) clazz.newInstance(); in runSingleJunitTest() local
DNoExecTestResult.java34 protected void run(final TestCase test) { in run()
DInstrumentationTestRunner.java656 public void startTest(Test test) { in startTest()
664 public void addError(Test test, Throwable t) { in addError()
671 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
678 public void endTest(Test test) { in endTest()
735 public void startTest(Test test) { in startTest()
796 public void addError(Test test, Throwable t) { in addError()
808 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
820 public void endTest(Test test) { in endTest()
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java45 public static void tapMenuKey(ActivityInstrumentationTestCase test) { in tapMenuKey()
58 public static void chordMenuKey(ActivityInstrumentationTestCase test, char shortcutKey) { in chordMenuKey()
77 public static void longClick(ActivityInstrumentationTestCase test) { in longClick()
DTouchModeFlexibleAsserts.java36 public static void assertInTouchModeAfterClick(InstrumentationTestCase test, View viewToTouch) { in assertInTouchModeAfterClick()
48 public static void assertInTouchModeAfterTap(InstrumentationTestCase test, View viewToTouch) { in assertInTouchModeAfterTap()
60 …public static void assertNotInTouchModeAfterKey(InstrumentationTestCase test, int keyCode, View ch… in assertNotInTouchModeAfterKey()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DUnitTestSuiteBuilderTest.java73 public void addError(Test test, Throwable t) { in addError()
77 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
81 public void endTest(Test test) { in endTest()
84 public void startTest(Test test) { in startTest()
104 private String testName(Test test) { in testName()
DInstrumentationTestSuiteBuilderTest.java80 public void addError(Test test, Throwable t) { in addError()
84 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
88 public void endTest(Test test) { in endTest()
91 public void startTest(Test test) { in startTest()
111 private String testName(Test test) { in testName()
/frameworks/base/test-runner/tests/src/android/test/
DTestCaseUtilTest.java47 Test test = TestCaseUtil.createTestSuite(OneTestTestCase.class); in testCreateTestForTestCase() local
52 Test test = TestCaseUtil.createTestSuite(TwoTestsInTestSuite.class); in testCreateTestForTestSuiteWithSuiteMethod() local
57 Test test = TestCaseUtil.createTestSuite(OneTestTestCaseWithSuite.class); in testCreateTestForTestCaseWithSuiteMethod() local
DAndroidTestRunnerTest.java260 public void addError(Test test, Throwable t) { in addError()
263 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
266 public void endTest(Test test) { in endTest()
269 public void startTest(Test test) { in startTest()
DInstrumentationTestRunnerTest.java85 Test test = mStubAndroidTestRunner.getTest(); in testMultipleTestClass() local
188 Test test = mStubAndroidTestRunner.getTest(); in assertTestRunnerCalledWithExpectedParameters() local
301 public void setTest(Test test) { in setTest()
/frameworks/base/test-runner/src/junit/textui/
DResultPrinter.java114 public void addError(Test test, Throwable t) { in addError()
121 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
128 public void endTest(Test test) { in endTest()
134 public void startTest(Test test) { in startTest()
DTestRunner.java70 static public TestResult run(Test test) { in run()
92 public void testFailed(int status, Test test, Throwable t) { in testFailed()
108 public TestResult doRun(Test test) { in doRun()
/frameworks/base/test-runner/src/junit/runner/
DBaseTestRunner.java24 public synchronized void startTest(Test test) { in startTest()
55 public synchronized void endTest(Test test) { in endTest()
59 public synchronized void addError(final Test test, final Throwable t) { in addError()
63 public synchronized void addFailure(final Test test, final AssertionFailedError t) { in addFailure()
73 public abstract void testFailed(int status, Test test, Throwable t); in testFailed()
109 Test test= null; in getTest() local
/frameworks/base/tools/localize/
Dtest.cpp12 test() in test() function
/frameworks/base/core/java/android/test/
DInstrumentationTestSuite.java65 public void runTest(Test test, TestResult result) { in runTest()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java252 private boolean satisfiesAllPredicates(TestMethod test) { in satisfiesAllPredicates()
266 private void addTest(Test test) { in addTest()
/frameworks/base/core/java/android/debug/
DJNITest.java27 public int test(int intArg, double doubleArg, String stringArg) { in test() method in JNITest
/frameworks/base/media/libstagefright/codecs/aacdec/
Dlong_term_prediction.cpp379 Int32 test; in long_term_prediction() local

12