Home
last modified time | relevance | path

Searched refs:TestResult (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTestActivity.java19 import static com.android.server.adb.AdbDebuggingManagerTest.TestResult;
54 TestResult result = new TestResult(TestResult.RESULT_UNEXPECTED_KEY, key); in onCreate()
62 TestResult result = new TestResult( in onCreate()
63 AdbDebuggingManagerTest.TestResult.RESULT_ACTIVITY_LAUNCHED); in onCreate()
87 private void postResult(TestResult result) { in postResult()
DAdbDebuggingManagerTest.java90 private BlockingQueue<TestResult> mBlockingQueue;
1055 TestResult activityResult = mBlockingQueue.poll(TIMEOUT, TIMEOUT_TIME_UNIT); in runAdbTest()
1060 TestResult.RESULT_ACTIVITY_LAUNCHED, activityResult.mReturnCode); in runAdbTest()
1065 TestResult threadResult = mBlockingQueue.poll(TIMEOUT, TIMEOUT_TIME_UNIT); in runAdbTest()
1070 TestResult.RESULT_RESPONSE_RECEIVED, threadResult.mReturnCode); in runAdbTest()
1159 TestResult result = new TestResult(TestResult.RESULT_RESPONSE_RECEIVED, msg); in sendResponse()
1174 public static class TestResult { class in AdbDebuggingManagerTest
1182 public TestResult(int returnCode) { in TestResult() method in AdbDebuggingManagerTest.TestResult
1186 public TestResult(int returnCode, String message) { in TestResult() method in AdbDebuggingManagerTest.TestResult
/frameworks/base/test-junit/src/junit/textui/
DTestRunner.java8 import junit.framework.TestResult;
75 static public TestResult run(Test test) { in run()
104 protected TestResult createTestResult() { in createTestResult()
105 return new TestResult(); in createTestResult()
108 public TestResult doRun(Test test) { in doRun()
112 public TestResult doRun(Test suite, boolean wait) { in doRun()
113 TestResult result= createTestResult(); in doRun()
138 TestResult r= aTestRunner.start(args); in main()
152 public TestResult start(String args[]) throws Exception { in start()
186 …protected TestResult runSingleMethod(String testCase, String method, boolean wait) throws Exceptio… in runSingleMethod()
DResultPrinter.java14 import junit.framework.TestResult;
28 synchronized void print(TestResult result, long runTime) { in print()
48 protected void printErrors(TestResult result) { in printErrors()
52 protected void printFailures(TestResult result) { in printFailures()
82 protected void printFooter(TestResult result) { in printFooter()
/frameworks/base/test-junit/src/junit/framework/
DTestCase.java106 protected TestResult createResult() { in createResult()
107 return new TestResult(); in createResult()
115 public TestResult run() { in run()
116 TestResult result= createResult(); in run()
123 public void run(TestResult result) { in run()
DTest.java16 public abstract void run(TestResult result); in run()
DTestResult.java18 public class TestResult extends Object { class
27 public TestResult() { in TestResult() method in TestResult
DTestSuite.java234 public void run(TestResult result) {
242 public void runTest(Test test, TestResult result) {
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java26 import junit.framework.TestResult;
43 private TestResult mTestResult;
157 protected TestResult createTestResult() { in createTestResult()
161 return new TestResult(); in createTestResult()
176 public TestResult getTestResult() { in getTestResult()
184 public void runTest(TestResult testResult) { in runTest()
DNoExecTestResult.java19 import junit.framework.TestResult;
28 class NoExecTestResult extends TestResult {
/frameworks/base/test-base/src/android/test/
DInstrumentationTestSuite.java23 import junit.framework.TestResult;
71 public void runTest(Test test, TestResult result) { in runTest()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DUnitTestSuiteBuilderTest.java26 import junit.framework.TestResult;
61 TestResult result = new TestResult(); in runSuite()
DTestSuiteBuilderTest.java33 import junit.framework.TestResult;
183 TestResult result = new TestResult();
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dshared.rsh10 } TestResult;
11 //TestResult *g_results;
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dshared.rsh10 } TestResult;
11 //TestResult *g_results;
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dshared.rsh10 } TestResult;
11 //TestResult *g_results;
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java47 import junit.framework.TestResult;
121 TestResult testRunResult = new TestResult(); in start()
233 public void print(TestResult result, long runTime, Bundle testOutput); in print()
349 public void print(TestResult result, long runTime, Bundle testOutput) { in print()
379 public void print(TestResult result, long runTime, Bundle testOutput) { in print()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DRcsStatsTest.java77 private class TestResult { class in RcsStatsTest
83 TestResult(String tagName, int tagValue, long duration, in TestResult() method in RcsStatsTest.TestResult
677 List<TestResult> expectedResults = getTestResult(timeGap, false); in onSipTransportFeatureTagStats_addMultipleEntries()
690 TestResult expectedResult = expectedResults.get(i); in onSipTransportFeatureTagStats_addMultipleEntries()
752 TestResult expectedResult = new TestResult(customTag, in onSipTransportFeatureTagStats_addCustomTag()
803 List<TestResult> expectedResults = getTestResult(timeGap, true); in concludeSipTransportFeatureTagsStat_addMultipleEntries()
816 TestResult expectedResult = expectedResults.get(i); in concludeSipTransportFeatureTagsStat_addMultipleEntries()
828 private List<TestResult> getTestResult(long timeGap, boolean concludeTest) { in getTestResult()
829 List<TestResult> results = new ArrayList<>(); in getTestResult()
830 results.add(new TestResult(FeatureTags.FEATURE_TAG_FILE_TRANSFER, in getTestResult()
[all …]
/frameworks/base/test-base/hiddenapi/src/junit/framework/
DTestCase.java43 public void run(TestResult result) { in run()
DTestSuite.java55 public void run(TestResult result) { in run()
/frameworks/base/test-base/api/
Dcurrent.txt152 method public void run(junit.framework.TestResult);
159 method protected junit.framework.TestResult createResult();
161 method public junit.framework.TestResult run();
162 method public void run(junit.framework.TestResult);
188 public class TestResult {
189 ctor public TestResult();
225 method public void run(junit.framework.TestResult);
226 method public void runTest(junit.framework.Test, junit.framework.TestResult);
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DReduceBrightColorsAutoAddableTest.kt34 import kotlinx.coroutines.test.TestResult
112 body: suspend TestScope.() -> TestResult in testWithFeatureAvailability()
DNightDisplayAutoAddableTest.kt35 import kotlinx.coroutines.test.TestResult
113 body: suspend TestScope.() -> TestResult in testWithFeatureAvailability()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dshared.rsh26 } TestResult;
27 //TestResult *g_results;
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DScreenRecordTestBase.kt69 ): CapturedActivity.TestResult { in withScreenRecording()

12