Home
last modified time | relevance | path

Searched refs:addFailure (Results 1 – 25 of 44) sorted by relevance

12

/external/junit/src/main/java/org/junit/internal/runners/
DMethodRoadie.java78 addFailure(new TestTimedOutException(timeout, TimeUnit.MILLISECONDS)); in runWithTimeout()
80 addFailure(e); in runWithTimeout()
110addFailure(new AssertionError("Expected exception: " + testMethod.getExpectedException().getName()… in runTestMethod()
117 addFailure(actual); in runTestMethod()
121 addFailure(new Exception(message, actual)); in runTestMethod()
124 addFailure(e); in runTestMethod()
141 addFailure(e); in runBefores()
152 addFailure(e.getTargetException()); in runAfters()
154 addFailure(e); // Untested, but seems impossible in runAfters()
159 protected void addFailure(Throwable e) { in addFailure() method in MethodRoadie
DClassRoadie.java37 protected void addFailure(Throwable targetException) { in addFailure() method in ClassRoadie
64 addFailure(e); in runBefores()
75 addFailure(e.getTargetException()); in runAfters()
77 addFailure(e); // Untested, but seems impossible in runAfters()
/external/junit/src/main/java/junit/framework/
DTestResult.java47 public synchronized void addFailure(Test test, AssertionFailedError e) { in addFailure() method in TestResult
50 each.addFailure(test, e); in addFailure()
144 addFailure(test, e); in runProtected()
DTestListener.java15 public void addFailure(Test test, AssertionFailedError e); in addFailure() method
/external/python/cpython2/Lib/unittest/test/
Dsupport.py66 def addFailure(self, *args): member in LoggingResult
68 super(LoggingResult, self).addFailure(*args)
112 def addFailure(self, test): member in ResultWithNoStartTestRunStopTestRun
/external/python/cpython3/Lib/unittest/test/
Dsupport.py61 def addFailure(self, *args): member in _BaseLoggingResult
63 super().addFailure(*args)
131 def addFailure(self, test): member in ResultWithNoStartTestRunStopTestRun
/external/jsoncpp/src/test_lib_json/
Djsontest.h72 TestResult& addFailure(const char* file, unsigned int line,
179 result.addFailure(file, line, expr); in checkEqual()
204 result_->addFailure(__FILE__, __LINE__, #expr)
241 result_->addFailure(__FILE__, __LINE__, \
Djsontest.cpp85 TestResult& TestResult::addFailure(const char* file, unsigned int line, in addFailure() function in JsonTest::TestResult
244 result.addFailure(__FILE__, __LINE__, "Unexpected exception caught:") in runTestAt()
423 result.addFailure(file, line, expr); in checkStringEqual()
/external/vogar/src/vogar/target/junit/
DParentRunnerHelper.java56 eachNotifier.addFailure(cause); in abortingRunLeaf()
62 eachNotifier.addFailure(e); in abortingRunLeaf()
/external/junit/src/main/java/org/junit/internal/runners/model/
DEachTestNotifier.java19 public void addFailure(Throwable targetException) { in addFailure() method in EachTestNotifier
29 addFailure(each); in addMultipleFailureException()
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dtesting_refleaks.py57 def addFailure(self, test, error): member in LocalTestResult
58 self.parent_result.addFailure(test, error)
/external/python/absl-py/absl/testing/
D_pretty_print_reporter.py49 def addFailure(self, test, err): member in TextTestResult
50 super(TextTestResult, self).addFailure(test, err)
/external/protobuf/python/google/protobuf/internal/
Dtesting_refleaks.py57 def addFailure(self, test, error): member in LocalTestResult
58 self.parent_result.addFailure(test, error)
/external/cronet/build/util/lib/common/
Dunittest_util.py49 def addFailure(self, test, err): member in _TextTestResult
50 unittest.TestResult.addFailure(self, test, err)
/external/angle/build/util/lib/common/
Dunittest_util.py49 def addFailure(self, test, err): member in _TextTestResult
50 unittest.TestResult.addFailure(self, test, err)
/external/grpc-grpc/src/python/grpcio_tests/tests/
D_result.py161 def addFailure(self, test, err): member in AugmentedResult
163 super(AugmentedResult, self).addFailure(test, err)
294 def addFailure(self, test, err): member in TerminalResult
296 super(TerminalResult, self).addFailure(test, err)
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DCheckForCopy.java75 addFailure(result, failure); in handleCheck()
226 private void addFailure(List<CheckStatus> result, Failure failure) { in addFailure() method in CheckForCopy
/external/junit-params/src/main/java/junitparams/internal/
DInvokableFrameworkMethod.java52 eachNotifier.addFailure(e); in runMethodInvoker()
/external/python/cpython3/Lib/test/support/
Dtestresult.py109 def addFailure(self, test, err): member in RegressionTestResult
111 super().addFailure(test, err)
/external/python/cpython2/Lib/unittest/
Drunner.py73 def addFailure(self, test, err): member in TextTestResult
74 super(TextTestResult, self).addFailure(test, err)
/external/autotest/server/cros/ap_configurators/
Dpyauto_utils.py268 def addFailure(self, test, err): member in _GTestTextTestResult
269 unittest.TestResult.addFailure(self, test, err)
/external/python/cpython3/Lib/unittest/
Drunner.py76 def addFailure(self, test, err): member in TextTestResult
77 super(TextTestResult, self).addFailure(test, err)
/external/python/absl-py/absl/testing/tests/
Dxml_reporter_test.py153 result.addFailure(test, self.get_sample_failure())
309 result.addFailure(test, self.get_sample_failure())
433 result.addFailure(test, self.get_sample_failure())
471 result.addFailure(test, self.get_sample_failure())
890 side_effect=lambda t: result.addFailure(t, self.get_sample_failure())):
/external/antlr/runtime/Python/
Dxmlrunner.py122 def addFailure(self, test, err): member in _XMLTestResult
123 unittest.TestResult.addFailure(self, test, err)
/external/junit/src/main/java/junit/textui/
DResultPrinter.java116 public void addFailure(Test test, AssertionFailedError t) { in addFailure() method in ResultPrinter

12