HomeSort by relevance Sort by last modified time
    Searched refs:testResult (Results 1 - 25 of 51) sorted by null

1 2 3

  /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);
gUnitExecutor.java 112 StringTemplate testResultST = getTemplateGroup().getInstanceOf("testResult");
266 gUnitTestResult testResult = new gUnitTestResult(false, err.toString(), true);
267 testResult.setError(err.toString());
268 return testResult;
386 gUnitTestResult testResult = new gUnitTestResult(false, err.toString());
387 testResult.setError(err.toString());
388 return testResult;
554 gUnitTestResult testResult = new gUnitTestResult(false, err.toString());
555 testResult.setError(err.toString());
556 return testResult;
    [all...]
  /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);
  /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.
483 TestResult testResult = getCurrentTestResult()
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
BaseSensorSemiAutomatedTestActivity.java 33 import com.android.cts.verifier.TestResult;
82 SensorTestResult testResult = SensorTestResult.PASS;
87 testResult = SensorTestResult.SKIPPED;
90 testResult = SensorTestResult.FAIL;
93 setTestResult(testResult, message);
163 private void setTestResult(SensorTestResult testResult, String message) {
165 switch(testResult) {
168 TestResult.setPassedResult(this, this.getTestId(), message);
172 TestResult.setPassedResult(this, this.getTestId(), message);
176 TestResult.setFailedResult(this, this.getTestId(), message)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
AbstractTestListActivity.java 58 TestResult testResult = TestResult.fromActivityResult(resultCode, data);
59 mAdapter.setTestResult(testResult);
TestListAdapter.java 135 public void setTestResult(TestResult testResult) {
136 new SetTestResultTask(testResult.getName(), testResult.getResult(),
137 testResult.getDetails()).execute();
193 int testResult = cursor.getInt(2);
195 results.put(testName, testResult);
291 : TestResult.TEST_RESULT_NOT_EXECUTED;
304 || (mTestResults.get(item.testName) != TestResult.TEST_RESULT_PASSED))) {
327 int testResult = getTestResult(position)
    [all...]
TestResult.java 29 public class TestResult {
55 private static Intent createResult(Activity activity, int testResult, String testName,
59 data.putExtra(TEST_RESULT, testResult);
65 * Convert the test activity's result into a {@link TestResult}. Only meant to be used by
68 static TestResult fromActivityResult(int resultCode, Intent data) {
72 return new TestResult(name, result, details);
75 private TestResult(String name, int result, String details) {
TestResultsReport.java 142 private String getTestResultString(int testResult) {
143 switch (testResult) {
144 case TestResult.TEST_RESULT_PASSED:
147 case TestResult.TEST_RESULT_FAILED:
150 case TestResult.TEST_RESULT_NOT_EXECUTED:
154 throw new IllegalArgumentException("Unknown test result: " + 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 130 boolean testResult = true;
149 testResult = false;
162 assertTrue("playback " + mediaName, testResult);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
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;
  /external/skia/tests/
PathOpsSkpClipTest.cpp 59 struct TestResult {
74 TestResult test;
127 TestResult fResult;
283 static bool addError(TestState* data, const TestResult& testResult) {
286 int pixelError = testResult.fPixelError;
289 strcpy(data->fFilesFound[dCount], testResult.fFilename);
290 data->fDirsFound[dCount] = testResult.fDirNo;
302 strcpy(data->fFilesFound[smallestIndex], testResult.fFilename);
303 data->fDirsFound[smallestIndex] = testResult.fDirNo
    [all...]
  /external/antlr/antlr-3.4/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
GUnitExecuteMojo.java 308 Result testResult = new Result();
309 testResult.tests = executor.numOfTest;
310 testResult.failures = executor.numOfFailure;
311 testResult.invalids = executor.numOfInvalidInput;
313 System.out.println( testResult.render() );
315 runningResults.add( testResult );
  /frameworks/base/core/tests/coretests/src/android/app/activity/
SubActivityTest.java 37 public void testResult() throws Exception {
  /cts/suite/cts/utils/
get_csv_report.py 97 testResult = doc.getElementsByTagName("TestResult")[0]
98 buildInfos = testResult.getElementsByTagName("BuildInfo")
113 packages = getChildrenWithTag(testResult, "TestPackage")
148 xmls = executeWithResult("find " + path + " -name testResult.xml -print")

Completed in 518 milliseconds

1 2 3