Home
last modified time | relevance | path

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

12345

/external/jsoncpp/src/test_lib_json/
Djsontest.cpp76 TestResult::TestResult() in TestResult() function in JsonTest::TestResult
84 void TestResult::setTestName(const std::string& name) { name_ = name; } in setTestName()
86 TestResult&
87 TestResult::addFailure(const char* file, unsigned int line, const char* expr) { in addFailure()
111 void TestResult::addFailureInfo(const char* file, in addFailureInfo()
125 TestResult& TestResult::popPredicateContext() { in popPredicateContext()
141 bool TestResult::failed() const { return !failures_.empty(); } in failed()
143 unsigned int TestResult::getAssertionNestingLevel() const { in getAssertionNestingLevel()
153 void TestResult::printFailure(bool printTestName) const { in printFailure()
182 std::string TestResult::indentText(const std::string& text, in indentText()
[all …]
Djsontest.h55 class TestResult {
57 TestResult();
71 TestResult&
77 TestResult& popPredicateContext();
84 template <typename T> TestResult& operator<<(const T& value) {
93 TestResult& operator<<(bool value);
95 TestResult& operator<<(Json::Int64 value);
96 TestResult& operator<<(Json::UInt64 value);
99 TestResult& addToLastFailure(const std::string& message);
124 void run(TestResult& result);
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dprogress_reporter.py61 result = TestResult(progress_reporters)
74 class TestResult(unittest.TestResult): class
76 super(TestResult, self).__init__()
85 super(TestResult, self).startTest(test)
94 super(TestResult, self).startTestRun()
99 super(TestResult, self).stopTest(test)
108 super(TestResult, self).stopTestRun()
113 super(TestResult, self).addError(test, err)
118 super(TestResult, self).addFailure(test, err)
123 super(TestResult, self).addSuccess(test)
[all …]
/external/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()
/external/testng/src/main/java/org/testng/junit/
DJUnitTestRunner.java25 import junit.framework.TestResult;
107 org.testng.internal.TestResult tr= recordResults(test, tri); in endTest()
117 private org.testng.internal.TestResult recordResults(Test test, TestRunInfo tri) { in recordResults()
121 org.testng.internal.TestResult tr= new org.testng.internal.TestResult(tc, in recordResults()
256 public TestResult start(Class testCase, String... methods) { in start()
281 protected TestResult createTestResult() { in createTestResult()
282 return new TestResult(); in createTestResult()
285 protected TestResult doRun(Test suite) { in doRun()
286 TestResult result = createTestResult(); in doRun()
DJUnit4TestRunner.java16 import org.testng.internal.TestResult;
120 tr.setStatus(TestResult.SKIP);
137 tr.setStatus(TestResult.FAILURE);
150 tr.setStatus(TestResult.SUCCESS);
163 tr.setStatus(TestResult.SKIP);
193 TestResult tr = new TestResult(tc,
/external/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()
/external/skia/tests/
DPathOpsSkpClipTest.cpp168 struct TestResult { struct
222 class SortByPixel : public TestResult { argument
229 class SortByTime : public TestResult {
236 class SortByName : public TestResult {
250 TestResult fResult;
360 static bool addError(TestState* data, const TestResult& testResult) { in addError()
439 void TestResult::testOne() { in testOne()
624 SkTDArray<TestResult>* tests, SkTDArray<SortByName*>* sorted) { in buildTestDir()
632 TestResult test; in buildTestDir()
653 SkTDArray<TestResult>& testSet = tests[dirNo - firstDirNo]; in buildTestDir()
[all …]
DSkpSkGrTest.cpp72 struct TestResult { struct
87 TestResult test; in Test() argument
129 TestResult fResult; argument
380 void TestResult::testOne() { in testOne()
502 bool fetch(SkFILEStream& reader, TestResult* result) { in fetch()
553 bool match(const SkString& filename, SkFILEWStream* stream, TestResult* result) { in match()
568 SkTArray<TestResult, true> fResults;
581 SkTArray<TestResult, true> errors; in DEF_TEST()
615 TestResult& result = state.fResult; in DEF_TEST()
652 TestResult::Test(state.fDirsFound[index], state.fFilesFound[index], kEncodeFiles, in DEF_TEST()
[all …]
/external/autotest/frontend/tko/
Dresources.py4 class TestResult(resource_lib.InstanceEntry): class
26 rep = super(TestResult, self).short_representation()
37 rep = super(TestResult, self).full_representation()
46 entry_class = TestResult
/external/testng/src/test/java/test/junit/testsetup/
DLoggingTestSuite.java5 import junit.framework.TestResult;
16 public void run( TestResult result ) in run()
22 public void runTest( Test test, TestResult result ) in runTest()
/external/junit/src/junit/extensions/
DTestDecorator.java5 import junit.framework.TestResult;
23 public void basicRun(TestResult result) { in basicRun()
31 public void run(TestResult result) { in run()
DActiveTestSuite.java5 import junit.framework.TestResult;
33 public void run(TestResult result) { in run()
40 public void runTest(final Test test, final TestResult result) { in runTest()
/external/icu/icu4c/source/test/letest/
Dletest.h40 struct TestResult struct
49 typedef struct TestResult TestResult; argument
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DFeatureSpecificTestSuiteBuilderTest.java23 import junit.framework.TestResult;
77 TestResult result = new TestResult(); in testLifecycle()
/external/autotest/tko/parsers/test/
Dunittest_hotfix.py21 unittest.TestResult.__init__ = TestResult__init__
31 unittest.TestResult.addSkipped = TestResult_addSkipped
39 unittest.TestResult.__repr__ = TestResult__repr__
105 unittest.TestResult.addSkipped(self, test, err)
/external/antlr/antlr-3.4/runtime/Python/
Dxmlrunner.py85 class _XMLTestResult(unittest.TestResult):
94 unittest.TestResult.__init__(self)
102 unittest.TestResult.startTest(self, test)
109 unittest.TestResult.stopTest(self, test)
119 unittest.TestResult.addError(self, test, err)
123 unittest.TestResult.addFailure(self, test, err)
/external/protobuf/gtest/src/
Dgtest-internal-inl.h385 TestResult* result() { return &result_; } in result()
386 const TestResult* result() const { return &result_; } in result()
417 TestResult result_;
650 TestResult* current_test_result();
653 const TestResult* ad_hoc_test_result() const { return &ad_hoc_test_result_; } in ad_hoc_test_result()
912 TestResult ad_hoc_test_result_;
1056 static void RecordProperty(TestResult* test_result, in RecordProperty()
1061 static void ClearTestPartResults(TestResult* test_result) { in ClearTestPartResults()
1066 const TestResult& test_result) { in test_part_results()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/test/
DAbstractTestSuite.java18 import junit.framework.TestResult;
46 public void run(TestResult arg0) { in run()
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/test/
DAbstractTestSuite.java18 import junit.framework.TestResult;
46 public void run(TestResult arg0) { in run()
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/test/
DAbstractTestSuite.java18 import junit.framework.TestResult;
46 public void run(TestResult arg0) { in run()
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
DAbstractTestSuite.java18 import junit.framework.TestResult;
46 public void run(TestResult arg0) { in run()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/test/
DAbstractTestSuite.java18 import junit.framework.TestResult;
46 public void run(TestResult arg0) { in run()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/test/
DAbstractTestSuite.java18 import junit.framework.TestResult;
46 public void run(TestResult arg0) { in run()

12345