Home
last modified time | relevance | path

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

12345678910>>...66

/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/protobuf/gtest/test/
Dgtest_output_test_golden_win.txt34 (expecting a failure that x should be 1)
40 (expecting a failure that x should be 1)
46 (expecting a failure on false)
65 This failure is expected, and shouldn't have a trace.
67 This failure is expected, and should have a trace.
71 This failure is expected, and shouldn't have a trace.
111 This failure is expected, and should contain trace point A.
115 This failure is expected, and should contain trace point A and B.
120 This failure is expected, and should contain trace point A, B, and C.
126 This failure is expected, and should contain trace point A, B, and D.
[all …]
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/v8/testing/gtest/test/
Dgtest_output_test_golden_lin.txt60 (expecting a failure that x should be 1)
67 (expecting a failure that x should be 1)
74 (expecting a failure on false)
97 This failure is expected, and shouldn't have a trace.
100 This failure is expected, and should have a trace.
105 This failure is expected, and shouldn't have a trace.
151 This failure is expected, and should contain trace point A.
156 This failure is expected, and should contain trace point A and B.
162 This failure is expected, and should contain trace point A, B, and C.
169 This failure is expected, and should contain trace point A, B, and D.
[all …]
/external/googletest/googletest/test/
Dgtest_output_test_golden_lin.txt64 (expecting a failure that x should be 1)
72 (expecting a failure that x should be 1)
80 (expecting a failure on false)
103 This failure is expected, and shouldn't have a trace.
106 This failure is expected, and should have a trace.
111 This failure is expected, and shouldn't have a trace.
162 This failure is expected, and should contain trace point A.
167 This failure is expected, and should contain trace point A and B.
173 This failure is expected, and should contain trace point A, B, and C.
180 This failure is expected, and should contain trace point A, B, and D.
[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/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_output_test_golden_lin.txt49 (expecting a failure that x should be 1)
56 (expecting a failure that x should be 1)
63 (expecting a failure on false)
86 This failure is expected, and shouldn't have a trace.
89 This failure is expected, and should have a trace.
94 This failure is expected, and shouldn't have a trace.
140 This failure is expected, and should contain trace point A.
145 This failure is expected, and should contain trace point A and B.
151 This failure is expected, and should contain trace point A, B, and C.
158 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.cpp186 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, const Locale& l, U… in failure() function in NumberFormatRegressionTest
203 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, const char *l, UBo… in failure() function in NumberFormatRegressionTest
220 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, UBool possibleData… in failure() function in NumberFormatRegressionTest
292 if (!failure(status, "new DecimalFormat", "")) { in Test4088161()
322 failure(status, "new DecimalFormatSymbols", ""); in Test4087245()
328 failure(status, "new DecimalFormat with symbols", ""); in Test4087245()
414 if (failure(status, "NumberFormat::createCurrencyInstance", Locale::getUS(), TRUE)){ in assignFloatValue()
425 failure(status, "nfcommon->parse", Locale::getUS()); in assignFloatValue()
444 failure(status, "new Decimalformat", Locale::getUS()); in Test4059870()
449 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/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/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/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/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/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/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/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 …]

12345678910>>...66