/external/junit/src/junit/extensions/ |
TestSetup.java | 5 import junit.framework.TestResult; 19 public void run(final TestResult result) {
|
ActiveTestSuite.java | 5 import junit.framework.TestResult; 33 public void run(TestResult result) { 40 public void runTest(final Test test, final TestResult result) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
AbstractTestListActivity.java | 58 TestResult testResult = TestResult.fromActivityResult(resultCode, data); 59 mAdapter.setTestResult(testResult);
|
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) {
|
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...] |
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
TestSummaryXmlTest.java | 32 "<TestResult>" + 34 "</TestResult>"; 37 "<TestResult>" + 39 "</TestResult>";
|
/external/embunit/ |
Android.mk | 12 src/TestResult.c \
|
/external/junit/src/junit/framework/ |
JUnit4TestCaseFacade.java | 25 public void run(TestResult result) {
|
TestCase.java | 73 * @see TestResult 96 * Counts the number of test cases executed by run(TestResult result). 102 * Creates a default TestResult object 104 * @see TestResult 106 protected TestResult createResult() { 107 return new TestResult(); 111 * default TestResult object. 113 * @see TestResult 115 public TestResult run() { 116 TestResult result= createResult() [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/chromium/chrome/browser/remoting/ |
directory_add_request_unittest.cc | 28 void TestResult(int response_code, const std::string& data, 50 TestResult(200, "{\"data\":{\"kind\":\"chromoting#host\"," 57 TestResult(400, "{\"error\":{\"errors\":[{\"domain\":\"global\"," 66 TestResult(400, "{\"error\":{\"errors\":[{\"domain\":\"global\"," 74 TestResult(401, "{\"error\":{\"errors\":[{\"domain\":\"global\","
|
/external/junit/src/junit/textui/ |
TestRunner.java | 8 import junit.framework.TestResult; 75 static public TestResult run(Test test) { 102 * Creates the TestResult to be used for the test run. 104 protected TestResult createTestResult() { 105 return new TestResult(); 108 public TestResult doRun(Test test) { 112 public TestResult doRun(Test suite, boolean wait) { 113 TestResult result= createTestResult(); 138 TestResult r= aTestRunner.start(args); 152 public TestResult start(String args[]) throws Exception [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
history_ui_unittest.cc | 12 struct TestResult { 24 TestResult* test_results, 41 const TestResult& correct_result) { 55 TestResult test_data[] = { 72 TestResult test_data[] = { 88 TestResult test_data[] = { 114 TestResult test_data[] = {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_result.py | 11 # Note: there are not separate tests for TestResult.wasSuccessful(), 12 # TestResult.errors, TestResult.failures, TestResult.testsRun or 13 # TestResult.shouldStop because these only have meaning in terms of 14 # other TestResult methods. 21 result = unittest.TestResult() 33 # run should be aborted by setting the TestResult's shouldStop 36 result = unittest.TestResult() 51 result = unittest.TestResult() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_result.py | 11 # Note: there are not separate tests for TestResult.wasSuccessful(), 12 # TestResult.errors, TestResult.failures, TestResult.testsRun or 13 # TestResult.shouldStop because these only have meaning in terms of 14 # other TestResult methods. 21 result = unittest.TestResult() 33 # run should be aborted by setting the TestResult's shouldStop 36 result = unittest.TestResult() 51 result = unittest.TestResult() [all...] |
/development/tools/hosttestlib/src/com/android/hosttest/ |
DeviceTestRunner.java | 23 import junit.framework.TestResult; 56 * @return {@link TestResult} 59 public TestResult start(String[] args) throws Exception { 101 TestResult r = aTestRunner.start(args); 120 public TestResult doRun(Test test, boolean wait) { 137 protected TestResult runSingleMethod(String testCase, String method, boolean wait)
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
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();
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/tests/ |
__init__.py | 17 class Result(unittest.TestResult): 23 unittest.TestResult.addSuccess(self, test) 27 unittest.TestResult.addError(self, test, err) 31 unittest.TestResult.addFailure(self, test, err)
|
/external/embunit/src/ |
TestCase.c | 37 #include "TestResult.h" 39 static TestResult* result_; 47 void TestCase_run(TestCase* self,TestResult* result) 54 TestResult* wr =result_; /*push*/
|
/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...] |
/external/chromium/chrome/browser/diagnostics/ |
diagnostics_test.cc | 33 DiagnosticsModel::TestResult DiagnosticTest::GetResult() { 42 DiagnosticsModel::TestResult result) {
|
/frameworks/base/test-runner/src/android/test/ |
AndroidTestRunner.java | 28 import junit.framework.TestResult; 38 private TestResult mTestResult; 152 protected TestResult createTestResult() { 156 return new TestResult(); 171 public TestResult getTestResult() { 179 public void runTest(TestResult testResult) { 180 mTestResult = testResult;
|
NoExecTestResult.java | 19 import junit.framework.TestResult; 27 class NoExecTestResult extends TestResult {
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit3/ |
NoExecTestResult.java | 19 import junit.framework.TestResult; 26 class NoExecTestResult extends TestResult {
|