Home
last modified time | relevance | path

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

12

/frameworks/base/test-runner/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.java31 public void addError(Test test, Throwable t) { in addError()
38 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
45 public void endTest(Test test) { in endTest()
53 public void startTest(Test test) { in startTest()
59 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()
DInstrumentationTestRunner.java549 public void startTest(Test test) { in startTest()
557 public void addError(Test test, Throwable t) { in addError()
564 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
571 public void endTest(Test test) { in endTest()
628 public void startTest(Test test) { in startTest()
687 public void addError(Test test, Throwable t) { in addError()
699 public void addFailure(Test test, AssertionFailedError t) { in addFailure()
711 public void endTest(Test test) { in endTest()
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()
/frameworks/base/tests/CoreTests/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/tests/FrameworkTest/src/com/android/frameworktest/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/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/tests/CoreTests/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.java84 Test test = mStubAndroidTestRunner.getTest(); in testMultipleTestClass() local
124 Test test = mStubAndroidTestRunner.getTest(); in assertTestRunnerCalledWithExpectedParameters() local
230 public void setTest(Test test) { in setTest()
/frameworks/base/test-runner/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/tests/CoreTests/android/core/
DStringTest.java53 String test = "0123456789"; in testString() local
/frameworks/base/core/java/android/test/
DInstrumentationTestSuite.java65 public void runTest(Test test, TestResult result) { in runTest()
/frameworks/base/test-runner/android/test/suitebuilder/
DTestSuiteBuilder.java252 private boolean satisfiesAllPredicates(TestMethod test) { in satisfiesAllPredicates()
266 private void addTest(Test test) { in addTest()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DLayoutTestsAutoTest.java211 private String getResultFile(String test) { in getResultFile()
217 private String getExpectedResultFile(String test) { in getExpectedResultFile()
270 private void runTestAndWaitUntilDone(TestShellActivity activity, String test, int timeout) { in runTestAndWaitUntilDone()

12