Home
last modified time | relevance | path

Searched refs:failure (Results 1 – 25 of 1975) sorted by relevance

12345678910>>...79

/external/guava/guava-gwt/test/com/google/common/testing/
DTearDownStackTest_gwt.java23 Throwable failure = null; in testMultipleTearDownsHappenInOrder() local
27 failure = t; in testMultipleTearDownsHappenInOrder()
32 if (failure == null) { in testMultipleTearDownsHappenInOrder()
33 failure = t; in testMultipleTearDownsHappenInOrder()
36 if (failure instanceof Exception) { in testMultipleTearDownsHappenInOrder()
37 throw (Exception) failure; in testMultipleTearDownsHappenInOrder()
39 if (failure instanceof Error) { in testMultipleTearDownsHappenInOrder()
40 throw (Error) failure; in testMultipleTearDownsHappenInOrder()
42 if (failure != null) { in testMultipleTearDownsHappenInOrder()
43 throw new RuntimeException(failure); in testMultipleTearDownsHappenInOrder()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest_output_test_golden_lin.txt36 (expecting a failure that x should be 1)
43 (expecting a failure that x should be 1)
50 (expecting a failure on false)
73 This failure is expected, and shouldn't have a trace.
76 This failure is expected, and should have a trace.
81 This failure is expected, and shouldn't have a trace.
127 This failure is expected, and should contain trace point A.
132 This failure is expected, and should contain trace point A and B.
138 This failure is expected, and should contain trace point A, B, and C.
145 This failure is expected, and should contain trace point A, B, and D.
[all …]
/external/mockito/src/test/java/org/mockito/internal/junit/util/
DJUnitFailureHackerTest.java25 Failure failure = new Failure(Description.EMPTY, actualExc); in shouldReplaceException() local
28 hacker.appendWarnings(failure, "unused stubbing"); in shouldReplaceException()
31 assertEquals(ExceptionIncludingMockitoWarnings.class, failure.getException().getClass()); in shouldReplaceException()
32 assertEquals(actualExc, failure.getException().getCause()); in shouldReplaceException()
33 …Assertions.assertThat(actualExc.getStackTrace()).isEqualTo(failure.getException().getStackTrace()); in shouldReplaceException()
38 Failure failure = new Failure(Description.EMPTY, new RuntimeException("foo")); in shouldAppendWarning() local
41 hacker.appendWarnings(failure, "unused stubbing blah"); in shouldAppendWarning()
44 assertThat(failure.getException()).hasMessageContaining("unused stubbing blah"); in shouldAppendWarning()
50 Failure failure = new Failure(Description.EMPTY, ex); in shouldNotAppendWhenNoWarnings() local
53 hacker.appendWarnings(failure, ""); in shouldNotAppendWhenNoWarnings()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/
D3-1.c52 int unresolved = 0, failure = 0; in main() local
67 failure = 1; in main()
72 failure = 1; in main()
77 failure = 1; in main()
82 failure = 1; in main()
87 failure = 1; in main()
92 failure = 1; in main()
97 failure = 1; in main()
102 failure = 1; in main()
107 failure = 1; in main()
[all …]
D3-2.c54 int unresolved = 0, failure = 0; in main() local
70 failure = 1; in main()
76 failure = 1; in main()
82 failure = 1; in main()
88 failure = 1; in main()
94 failure = 1; in main()
104 failure = 1; in main()
114 failure = 1; in main()
124 failure = 1; in main()
134 failure = 1; in main()
[all …]
/external/icu/icu4c/source/test/intltest/
Dmsfmrgts.cpp61 MessageFormatRegressionTest::failure(UErrorCode status, const char* msg, UBool possibleDataError) in failure() function in MessageFormatRegressionTest
93 failure(status, "couldn't create MessageFormat"); in Test4074764()
98 failure(status, "messageFormat->applyPattern"); in Test4074764()
107 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) in Test4074764()
113 failure(status, "messageFormatter->applyPattern"); in Test4074764()
126 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764()
132 if (tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764()
186 failure(status, "new MessageFormat"); in Test4031438()
193 failure(status, "messageFormat->applyPattern"); in Test4031438()
201 …"Impossible {1} has occurred -- status code is 7 and message is {2}." || failure(status, "MessageF… in Test4031438()
[all …]
Dmiscdtfm.cpp45 DateFormatMiscTests::failure(UErrorCode status, const char* msg) in failure() function in DateFormatMiscTests
129 if(failure(status, "new SimpleDateFormat")) return; in test4097450()
134 failure(status, "resultFormatter->format"); in test4097450()
169 if(failure(status, "new SimpleDateFormat")) return; in test4099975()
174 failure(status, "df->toLocalizedPattern"); in test4099975()
184 failure(status, "df->toLocalizedPattern"); in test4099975()
199 if(failure(status, "new DateFormatSymbols")) return; in test4099975()
201 if(failure(status, "new SimpleDateFormat")) return; in test4099975()
207 failure(status, "df->toLocalizedPattern"); in test4099975()
217 failure(status, "df->toLocalizedPattern"); in test4099975()
[all …]
Dnumrgts.cpp188 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, const Locale& l, U… in failure() function in NumberFormatRegressionTest
205 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, const char *l, UBo… in failure() function in NumberFormatRegressionTest
222 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, UBool possibleData… in failure() function in NumberFormatRegressionTest
294 if (!failure(status, "new DecimalFormat", "")) { in Test4088161()
324 failure(status, "new DecimalFormatSymbols", ""); in Test4087245()
330 failure(status, "new DecimalFormat with symbols", ""); in Test4087245()
416 if (failure(status, "NumberFormat::createCurrencyInstance", Locale::getUS(), TRUE)){ in assignFloatValue()
427 failure(status, "nfcommon->parse", Locale::getUS()); in assignFloatValue()
446 failure(status, "new Decimalformat", Locale::getUS()); in Test4059870()
451 failure(status, "format->parse", Locale::getUS()); in Test4059870()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
D3-1.c55 int unresolved = 0, failure = 0; in main() local
72 failure = 1; in main()
78 failure = 1; in main()
84 failure = 1; in main()
90 failure = 1; in main()
96 failure = 1; in main()
101 failure = 1; in main()
106 failure = 1; in main()
111 failure = 1; in main()
116 failure = 1; in main()
[all …]
D3-2.c57 int unresolved = 0, failure = 0; in main() local
75 failure = 1; in main()
82 failure = 1; in main()
89 failure = 1; in main()
96 failure = 1; in main()
103 failure = 1; in main()
113 failure = 1; in main()
123 failure = 1; in main()
133 failure = 1; in main()
143 failure = 1; in main()
[all …]
/external/mesa3d/src/compiler/glsl/glcpp/tests/
D142-defined-within-macro.c5 failure
13 failure
22 failure
26 failure
36 failure
44 failure
54 failure
58 failure
73 failure
77 failure
[all …]
/external/googletest/googletest/test/
Dgoogletest-output-test-golden-lin.txt74 (expecting a failure that x should be 1)
84 (expecting a failure that x should be 1)
94 (expecting a failure on false)
135 This failure is expected, and shouldn't have a trace.
140 This failure is expected, and should have a trace.
147 This failure is expected, and shouldn't have a trace.
210 This failure is expected, and should contain trace point A.
217 This failure is expected, and should contain trace point A and B.
225 This failure is expected, and should contain trace point A, B, and C.
234 This failure is expected, and should contain trace point A, B, and D.
[all …]
/external/u-boot/board/gdsys/p1022/
Dcontrolcenterd-id.c168 goto failure; in ccdm_mmc_read()
176 goto failure; in ccdm_mmc_read()
187 goto failure; in ccdm_mmc_read()
197 goto failure; in ccdm_mmc_read()
202 failure: in ccdm_mmc_read()
403 goto failure; in compute_second_stage_hash()
407 goto failure; in compute_second_stage_hash()
419 goto failure; in compute_second_stage_hash()
425 failure: in compute_second_stage_hash()
781 goto failure; in load_sd_key_program()
[all …]
/external/autotest/client/site_tests/hardware_TPMttci/
Dhardware_TPMttci.py89 if self.ttci_obj.TTCI_Set_LEDs(0x1, failure=False, warning=False):
93 if self.ttci_obj.TTCI_Set_LEDs(0x3, failure=False, warning=False):
97 if self.ttci_obj.TTCI_Set_LEDs(0x7, failure=False, warning=False):
101 if self.ttci_obj.TTCI_Set_LEDs(0xf, failure=False, warning=False):
105 if self.ttci_obj.TTCI_Set_LEDs(0xf, failure=False, warning=True):
109 if self.ttci_obj.TTCI_Set_LEDs(0xf, failure=True, warning=True):
114 if self.ttci_obj.TTCI_Set_LEDs(0xf, failure=False, warning=True):
118 if self.ttci_obj.TTCI_Set_LEDs(0xf, failure=False, warning=False):
122 if self.ttci_obj.TTCI_Set_LEDs(0x7, failure=False, warning=False):
126 if self.ttci_obj.TTCI_Set_LEDs(0x3, failure=False, warning=False):
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_receive/
D1-1.c41 int unresolved = 0, failure = 0; in main() local
64 failure = 1; in main()
70 failure = 1; in main()
75 failure = 1; in main()
79 failure = 1; in main()
83 failure = 1; in main()
88 failure = 1; in main()
101 if (failure == 1) { in main()
/external/python/cpython3/Doc/c-api/
Dnumber.rst17 Returns the result of adding *o1* and *o2*, or *NULL* on failure. This is the
23 Returns the result of subtracting *o2* from *o1*, or *NULL* on failure. This is
29 Returns the result of multiplying *o1* and *o2*, or *NULL* on failure. This is
36 failure. This is the equivalent of the Python expression ``o1 @ o2``.
43 Return the floor of *o1* divided by *o2*, or *NULL* on failure. This is
50 *o2*, or *NULL* on failure. The return value is "approximate" because binary
58 Returns the remainder of dividing *o1* by *o2*, or *NULL* on failure. This is
66 See the built-in function :func:`divmod`. Returns *NULL* on failure. This is
74 See the built-in function :func:`pow`. Returns *NULL* on failure. This is the
82 Returns the negation of *o* on success, or *NULL* on failure. This is the
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/
D2-2.c35 int failure = 0; in main() local
46 failure = 1; in main()
50 failure = 1; in main()
66 failure = 1; in main()
70 failure = 1; in main()
73 if (failure) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/
D1-1.c42 int unresolved = 0, failure = 0; in main() local
67 failure = 1; in main()
73 failure = 1; in main()
78 failure = 1; in main()
84 failure = 1; in main()
89 failure = 1; in main()
94 failure = 1; in main()
107 if (failure == 1) { in main()
/external/parameter-framework/upstream/bindings/c/
DParameterFramework.cpp60 static bool failure() { return false; } in failure() function in Status
62 bool failure(const string &msg) in failure() function in Status
184 return status.failure("Criterion name is NULL"); in createCriteria()
187 return status.failure("Criterion values is NULL"); in createCriteria()
191 return status.failure("Criterion \"" + string(criterion.name) + "\" already exist"); in createCriteria()
204 return status.failure("Too many values for criterion " + in createCriteria()
214 return status.failure("Could not add value " + string(valueName) + in createCriteria()
231 return status.failure("Can not start an already started parameter framework"); in pfwStart()
239 return status.failure(); in pfwStart()
260 return status.failure("Can not set criterion \"" + string(name) + in pfwSetCriterion()
[all …]
/external/testng/src/main/java/org/testng/junit/
DJUnit4TestRunner.java117 public void testAssumptionFailure(Failure failure) {
118 notified.add(failure.getDescription());
119 ITestResult tr = runs.get(failure.getDescription());
122 tr.setThrowable(failure.getException());
130 public void testFailure(Failure failure) throws Exception {
131 if (isAssumptionFailed(failure)) {
132 this.testAssumptionFailure(failure);
135 notified.add(failure.getDescription());
136 ITestResult tr = runs.get(failure.getDescription());
139 tr.setThrowable(failure.getException());
[all …]
/external/autotest/client/common_lib/
Dsmogcheck_pca9555.py108 def _computeLEDmask(self, bit_value, failure, warning): argument
125 if failure:
152 def setLEDs(self, bit_value, failure, warning): argument
190 'warning=%r', bit_value, failure, warning)
194 bit_mask = self._computeLEDmask(bit_value, failure, warning)
238 failure = False
244 failure = True
249 bit_value, failure, warning)
254 return (ret, bit_value, failure, warning)
/external/python/cpython2/Doc/c-api/
Dnumber.rst17 Returns the result of adding *o1* and *o2*, or *NULL* on failure. This is the
23 Returns the result of subtracting *o2* from *o1*, or *NULL* on failure. This is
29 Returns the result of multiplying *o1* and *o2*, or *NULL* on failure. This is
35 Returns the result of dividing *o1* by *o2*, or *NULL* on failure. This is the
41 Return the floor of *o1* divided by *o2*, or *NULL* on failure. This is
50 *o2*, or *NULL* on failure. The return value is "approximate" because binary
60 Returns the remainder of dividing *o1* by *o2*, or *NULL* on failure. This is
68 See the built-in function :func:`divmod`. Returns *NULL* on failure. This is
76 See the built-in function :func:`pow`. Returns *NULL* on failure. This is the
84 Returns the negation of *o* on success, or *NULL* on failure. This is the
[all …]
/external/jsoncpp/src/test_lib_json/
Djsontest.cpp115 Failure failure; in addFailureInfo() local
116 failure.file_ = file; in addFailureInfo()
117 failure.line_ = line; in addFailureInfo()
119 failure.expr_ = expr; in addFailureInfo()
121 failure.nestingLevel_ = nestingLevel; in addFailureInfo()
122 failures_.push_back(failure); in addFailureInfo()
165 const Failure& failure = *it; in printFailure() local
166 std::string indent(failure.nestingLevel_ * 2, ' '); in printFailure()
167 if (failure.file_) { in printFailure()
168 printf("%s%s(%d): ", indent.c_str(), failure.file_, failure.line_); in printFailure()
[all …]
/external/curl/src/
Dtool_cb_wrt.c92 const size_t failure = bytes ? 0 : 1; in tool_write_cb() local
107 return failure; in tool_write_cb()
113 return failure; in tool_write_cb()
142 return failure; in tool_write_cb()
148 return failure; in tool_write_cb()
157 return failure; in tool_write_cb()
174 return failure; in tool_write_cb()
180 return failure; in tool_write_cb()
192 return failure; in tool_write_cb()
214 return failure; in tool_write_cb()
/external/vogar/src/vogar/target/
DTargetMonitorRunListener.java33 private Failure failure; field in TargetMonitorRunListener
41 failure = null; in testStarted()
46 public void testFailure(Failure failure) throws Exception { in testFailure() argument
47 this.failure = failure; in testFailure()
52 if (failure == null) { in testFinished()
56 Throwable thrown = failure.getException(); in testFinished()

12345678910>>...79