Home
last modified time | relevance | path

Searched refs:addFailure (Results 1 – 25 of 42) 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/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/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/protobuf/python/google/protobuf/internal/
Dtesting_refleaks.py65 def addFailure(self, test, error): member in LocalTestResult
66 self.parent_result.addFailure(test, error)
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dsupport.py29 def addFailure(self, test, err): member in OldTestResult
64 def addFailure(self, *args): member in LoggingResult
66 super(LoggingResult, self).addFailure(*args)
Dtest_result.py172 result.addFailure(test, exc_info_tuple)
283 result.addFailure(None, None)
/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/java/org/unicode/cldr/test/
DCheckForCopy.java80 addFailure(result, failure); in handleCheck()
202 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/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Drunner.py94 def addFailure(self, test, err): member in TextTestResult
95 super(TextTestResult, self).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/python/cpython3/Lib/unittest/
Drunner.py74 def addFailure(self, test, err): member in TextTestResult
75 super(TextTestResult, self).addFailure(test, err)
/external/python/cpython3/Lib/test/support/
Dtestresult.py116 def addFailure(self, test, err): member in RegressionTestResult
118 super().addFailure(test, err)
/external/autotest/server/cros/ap_configurators/
Dpyauto_utils.py260 def addFailure(self, test, err): member in _GTestTextTestResult
261 unittest.TestResult.addFailure(self, test, err)
/external/antlr/runtime/Python/
Dxmlrunner.py122 def addFailure(self, test, err): member in _XMLTestResult
123 unittest.TestResult.addFailure(self, test, err)
/external/llvm-project/lldb/packages/Python/lldbsuite/test/
Dtest_result.py235 def addFailure(self, test, err): member in LLDBTestResult
244 super(LLDBTestResult, self).addFailure(test, err)
/external/junit/src/main/java/junit/textui/
DResultPrinter.java116 public void addFailure(Test test, AssertionFailedError t) { in addFailure() method in ResultPrinter
/external/autotest/tko/parsers/test/
Dunittest_hotfix.py73 result.addFailure(self, exc_info())

12