/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
BooleanTest.java | 48 public String getResult(gUnitTestResult testResult) { 49 if ( testResult.isLexerTest() ) { 50 if ( testResult.isSuccess() ) return "OK"; 53 return testResult.getError(); 56 return (testResult.isSuccess())? "OK" : "FAIL";
|
OutputTest.java | 54 public String getResult(gUnitTestResult testResult) { 56 if ( testResult.isSuccess() ) return testResult.getReturned(); 59 return testResult.getError();
|
ReturnTest.java | 51 public String getResult(gUnitTestResult testResult) { 52 if ( testResult.isSuccess() ) return testResult.getReturned(); 55 return testResult.getError();
|
AbstractTest.java | 52 public abstract String getResult(gUnitTestResult testResult);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
FrameworkPerfTest.java | 30 Bundle testResult = new Bundle(); 34 testResult.putString(result.name, String.format("%f,%d,%d,%f,%d,%d", 39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
SensorCtsTestSuite.java | 20 import junit.framework.TestResult; 42 public void run(TestResult testResult) { 43 mWrappedTestSuite.run(new SensorCtsTestResult(mContext, testResult)); 62 public void runTest(Test test, TestResult testResult) { 63 mWrappedTestSuite.runTest(test, testResult);
|
SensorCtsTestResult.java | 25 import junit.framework.TestResult; 35 * A wrapper class for a {@link TestResult}. 40 class SensorCtsTestResult extends TestResult { 42 private final TestResult mWrappedTestResult; 46 public SensorCtsTestResult(Context context, TestResult testResult) { 48 mWrappedTestResult = testResult;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
SensorPowerTestActivity.java | 98 PowerTestHostLink.PowerTestResult testResult = mHostLink.run(); 103 testResult.passedCount, 104 testResult.skippedCount, 105 testResult.failedCount); 106 Assert.assertEquals(testDetails.getSummary(), 0, testResult.failedCount);
|
/external/deqp/framework/common/ |
tcuTestContext.cpp | 55 void TestContext::setTestResult (qpTestResult testResult, const char* description) 57 m_testResult = testResult; 61 static int testResultSeverity (qpTestResult testResult) 63 switch (testResult)
|
tcuTestExecutor.cpp | 199 const qpTestResult testResult = m_testCtx.getTestResult(); 202 DE_ASSERT(testResult != QP_TEST_RESULT_LAST); 205 m_testCtx.getLog().endCase(testResult, testResultDesc); 208 print(" %s (%s)\n", qpGetTestResultName(testResult), testResultDesc); 211 switch (testResult) 221 if (terminateAfter || !deinitOk || testResult == QP_TEST_RESULT_RESOURCE_ERROR)
|
/external/junit/src/org/junit/experimental/results/ |
PrintableResult.java | 19 * assertThat(testResult(HasExpectedException.class), isSuccessful()); 26 public static PrintableResult testResult(Class<?> type) { 27 return testResult(Request.aClass(type)); 33 public static PrintableResult testResult(Request request) {
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
GeeTestResultParser.java | 96 private TestResult mCurrentTestResult = null; 119 private static class TestResult { 146 * a current stack trace, it returns an error string. Use {@link TestResult#hasStackTrace} 158 /** Provides a more user readable string for TestResult, if possible */ 234 * Returns the current TestResult for test in progress, or a new default one. 236 * @return The TestResult for the current test run 238 private TestResult getCurrentTestResult() { 240 mCurrentTestResult = new TestResult(); 247 * Clears out the current TestResult. 484 TestResult testResult = getCurrentTestResult() [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
AbstractTestListActivity.java | 65 TestResult testResult = TestResult.fromActivityResult(resultCode, data); 66 mAdapter.setTestResult(testResult);
|
TestListAdapter.java | 177 public void setTestResult(TestResult testResult) { 178 new SetTestResultTask(testResult.getName(), testResult.getResult(), 179 testResult.getDetails(), testResult.getReportLog()).execute(); 244 int testResult = cursor.getInt(2); 247 results.put(testName, testResult); 351 : TestResult.TEST_RESULT_NOT_EXECUTED; 371 || (mTestResults.get(item.testName) != TestResult.TEST_RESULT_PASSED))) [all...] |
TestResultsReport.java | 150 private String getTestResultString(int testResult) { 151 switch (testResult) { 152 case TestResult.TEST_RESULT_PASSED: 155 case TestResult.TEST_RESULT_FAILED: 158 case TestResult.TEST_RESULT_NOT_EXECUTED: 162 throw new IllegalArgumentException("Unknown test result: " + testResult);
|
TestResult.java | 31 public class TestResult { 71 private static Intent createResult(Activity activity, int testResult, String testName, 75 data.putExtra(TEST_RESULT, testResult); 82 * Convert the test activity's result into a {@link TestResult}. Only meant to be used by 85 static TestResult fromActivityResult(int resultCode, Intent data) { 90 return new TestResult(name, result, details, reportLog); 93 private TestResult(
|
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/ |
gUnitTestResult.stg | 30 testResult(title, num_of_test, num_of_failure, failure, has_invalid, num_of_invalid, invalid) ::= <<
|
/cts/tools/utils/ |
rerun.py | 53 testResult = doc.getElementsByTagName("TestResult")[0] 54 packages = getChildrenWithTag(testResult, "TestPackage")
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaPlayerStressTest.java | 131 boolean testResult = true; 150 testResult = false; 163 assertTrue("playback " + mediaName, testResult);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaPlayerStreamingStressTest.java | 123 boolean testResult = true; 152 testResult = false; 162 assertTrue("testMediaSamples", testResult);
|
MediaPlayerStressTest.java | 118 boolean testResult = true; 139 testResult = false; 149 assertTrue("testMediaSamples", testResult);
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/testing/ |
example.js | 37 function endCommand(testName, testResult) { 40 testRowEl.classList.add(testResult); 41 testResultEl.textContent = testResult;
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
example.js | 40 function endCommand(testName, testResult) { 43 testRowEl.classList.add(testResult); 44 testResultEl.textContent = testResult;
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
example.js | 40 function endCommand(testName, testResult) { 43 testRowEl.classList.add(testResult); 44 testResultEl.textContent = testResult;
|
/external/chromium_org/native_client_sdk/src/tests/sdk_util_test/ |
example.js | 40 function endCommand(testName, testResult) { 43 testRowEl.classList.add(testResult); 44 testResultEl.textContent = testResult;
|