Home
last modified time | relevance | path

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

12345678910>>...36

/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/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/gtest/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/parameter-framework/bindings/c/
DParameterFramework.cpp58 static bool failure() { return false; } in failure() function in Status
60 bool failure(const string &msg) { mMsg = msg; return false; } in failure() function in Status
170 return status.failure("Criterion name is NULL"); in createCriteria()
173 return status.failure("Criterion values is NULL"); in createCriteria()
177 return status.failure("Criterion \"" + string(criterion.name) + in createCriteria()
191 return status.failure("Too many values for criterion " + in createCriteria()
200 return status.failure("Could not add value " + string(valueName) + in createCriteria()
216 if (handle == NULL) { return Status::failure(); } in pfwStart()
220 return status.failure("Can not start an already started parameter framework"); in pfwStart()
223 return status.failure("char *configPath is NULL, " in pfwStart()
[all …]
/external/icu/icu4c/source/test/intltest/
Dmsfmrgts.cpp58 MessageFormatRegressionTest::failure(UErrorCode status, const char* msg, UBool possibleDataError) in failure() function in MessageFormatRegressionTest
90 failure(status, "couldn't create MessageFormat"); in Test4074764()
95 failure(status, "messageFormat->applyPattern"); in Test4074764()
104 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) in Test4074764()
110 failure(status, "messageFormatter->applyPattern"); in Test4074764()
123 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764()
129 if (tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764()
183 failure(status, "new MessageFormat"); in Test4031438()
190 failure(status, "messageFormat->applyPattern"); in Test4031438()
198 …"Impossible {1} has occurred -- status code is 7 and message is {2}." || failure(status, "MessageF… in Test4031438()
[all …]
Dmiscdtfm.cpp43 DateFormatMiscTests::failure(UErrorCode status, const char* msg) in failure() function in DateFormatMiscTests
127 if(failure(status, "new SimpleDateFormat")) return; in test4097450()
132 failure(status, "resultFormatter->format"); in test4097450()
167 if(failure(status, "new SimpleDateFormat")) return; in test4099975()
172 failure(status, "df->toLocalizedPattern"); in test4099975()
182 failure(status, "df->toLocalizedPattern"); in test4099975()
197 if(failure(status, "new DateFormatSymbols")) return; in test4099975()
199 if(failure(status, "new SimpleDateFormat")) return; in test4099975()
205 failure(status, "df->toLocalizedPattern"); in test4099975()
215 failure(status, "df->toLocalizedPattern"); in test4099975()
[all …]
Dnumrgts.cpp182 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, const Locale& l, U… in failure() function in NumberFormatRegressionTest
199 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, const char *l, UBo… in failure() function in NumberFormatRegressionTest
216 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, UBool possibleData… in failure() function in NumberFormatRegressionTest
288 if (!failure(status, "new DecimalFormat", "")) { in Test4088161()
318 failure(status, "new DecimalFormatSymbols", ""); in Test4087245()
324 failure(status, "new DecimalFormat with symbols", ""); in Test4087245()
348 failure(status, "new DecimalFormat", ""); in Test4087535()
373 failure(status, "new DecimalFormat", ""); in Test4088503()
404 if (failure(status, "NumberFormat::createCurrencyInstance", Locale::getUS(), TRUE)){ in assignFloatValue()
415 failure(status, "nfcommon->parse", Locale::getUS()); in assignFloatValue()
[all …]
Ddtfmrgts.cpp78 if (failure(status, "SimpleDateFormat::createDateInstance")) { in Test4029195()
101 failure(status, "sdf->parse"); in Test4029195()
110 failure(status, "sdf->parse"); in Test4029195()
233 if (failure(status, "new SimpleDateFormat", TRUE)) { in Test4056591()
239 failure(status, "fmt->setTwoDigitStartDate"); in Test4056591()
240 if( (fmt->get2DigitYearStart(status) != start) || failure(status, "get2DigitStartDate")) in Test4056591()
267 failure(status, "fmt->parse"); in Test4056591()
292 if (failure(status, "new SimpleDateFormat", TRUE)) return; in Test4059917()
300 if(failure(status, "new SimpleDateFormat")) return; in Test4059917()
326 failure(status, "fmt->format"); in aux917()
[all …]
/external/vogar/src/vogar/target/junit/
DJunit4.java205 Throwable failure = null; in run() local
219 failure = t.getCause(); in run()
221 failure = t; in run()
227 if (failure == null) { in run()
228 failure = t.getCause(); in run()
231 if (failure == null) { in run()
232 failure = t; in run()
239 if (failure == null) { in run()
240 failure = t.getCause(); in run()
243 if (failure == null) { in run()
[all …]
DJunit3.java220 Throwable failure = null; in run() local
225 failure = t.getCause(); in run()
227 failure = t; in run()
233 if (failure == null) { in run()
234 failure = t.getCause(); in run()
237 if (failure == null) { in run()
238 failure = t; in run()
242 if (failure != null) { in run()
243 throw failure; in run()
/external/skia/include/ports/
DSkAtomics_atomic.h37 sk_memory_order failure) { in sk_atomic_compare_exchange() argument
39 SkASSERT(failure == sk_memory_order_relaxed || in sk_atomic_compare_exchange()
40 failure == sk_memory_order_seq_cst || in sk_atomic_compare_exchange()
41 failure == sk_memory_order_acquire || in sk_atomic_compare_exchange()
42 failure == sk_memory_order_consume); in sk_atomic_compare_exchange()
43 SkASSERT(failure <= success); in sk_atomic_compare_exchange()
44 return __atomic_compare_exchange_n(ptr, expected, desired, false/*weak?*/, success, failure); in sk_atomic_compare_exchange()
DSkAtomics_std.h44 sk_memory_order failure) { in sk_atomic_compare_exchange() argument
46 SkASSERT(failure == sk_memory_order_relaxed || in sk_atomic_compare_exchange()
47 failure == sk_memory_order_seq_cst || in sk_atomic_compare_exchange()
48 failure == sk_memory_order_acquire || in sk_atomic_compare_exchange()
49 failure == sk_memory_order_consume); in sk_atomic_compare_exchange()
50 SkASSERT(failure <= success); in sk_atomic_compare_exchange()
54 (std::memory_order)failure); in sk_atomic_compare_exchange()
/external/jsoncpp/src/test_lib_json/
Djsontest.cpp127 Failure failure; in addFailureInfo() local
128 failure.file_ = file; in addFailureInfo()
129 failure.line_ = line; in addFailureInfo()
132 failure.expr_ = expr; in addFailureInfo()
134 failure.nestingLevel_ = nestingLevel; in addFailureInfo()
135 failures_.push_back( failure ); in addFailureInfo()
198 const Failure &failure = *it; in printFailure() local
199 std::string indent( failure.nestingLevel_ * 2, ' ' ); in printFailure()
200 if ( failure.file_ ) in printFailure()
202 printf( "%s%s(%d): ", indent.c_str(), failure.file_, failure.line_ ); in printFailure()
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractService.java170 @Override public void failed(State from, Throwable failure) {
173 startup.setException(failure);
174 shutdown.setException(new Exception("Service failed to start.", failure));
177 shutdown.setException(new Exception("Service failed while running", failure));
180 shutdown.setException(failure);
390 IllegalStateException failure = new IllegalStateException(
392 notifyFailed(failure);
393 throw failure;
425 IllegalStateException failure = new IllegalStateException(
427 notifyFailed(failure);
[all …]
/external/tcpdump/tests/
DTESTrun.sh7 cat /dev/null > failure-outputs.txt
46 echo "Failed test: $name" >> failure-outputs.txt
47 echo >> failure-outputs.txt
48 cat DIFF/$output.diff >> failure-outputs.txt
49 echo >> failure-outputs.txt
64 cat failure-outputs.txt
/external/skia/experimental/Networking/
DSkSockets.cpp98 bool failure = false; in readPacket() local
104 while (!h.done && fConnected && !failure) { in readPacket()
119 failure = true; in readPacket()
125 failure = true; in readPacket()
136 SkASSERT((bytesReadInPacket == PACKET_SIZE) && !failure); in readPacket()
142 failure = true; in readPacket()
153 if (failure) { in readPacket()
185 bool failure = false; in writePacket() local
186 while (bytesWrittenInTransfer < size && fConnected && !failure) { in writePacket()
204 failure = true; in writePacket()
[all …]
/external/mesa3d/src/glsl/glcpp/tests/
D031-define-chain-func-to-func-compose.c1 #define baz(failure) failure argument
2 #define bar(failure) failure argument
D030-define-chain-obj-to-func-compose.c1 #define baz(failure) failure argument
2 #define bar(failure) failure argument
D067-nested-ifdef-ifndef.c9 #define result failure
17 #define result failure
23 #define result failure
33 #define result failure
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordedResponse.java37 public final IOException failure; field in RecordedResponse
40 IOException failure) { in RecordedResponse() argument
45 this.failure = failure; in RecordedResponse()
144 assertNotNull(failure); in assertFailure()
145 assertTrue(failure.getMessage(), Arrays.asList(messages).contains(failure.getMessage())); in assertFailure()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractFutureTest.java47 final Throwable failure = new Throwable(); in testException() local
50 setException(failure); in testException()
60 assertSame(failure, ee1.getCause()); in testException()
61 assertSame(failure, ee2.getCause()); in testException()
173 AssertionFailedError failure = in findStackFrame() local
176 failure.initCause(e); in findStackFrame()
177 throw failure; in findStackFrame()
/external/clang/lib/Frontend/
DFrontendAction.cpp181 goto failure; in BeginSourceFile()
197 goto failure; in BeginSourceFile()
214 goto failure; in BeginSourceFile()
219 goto failure; in BeginSourceFile()
230 goto failure; in BeginSourceFile()
250 goto failure; in BeginSourceFile()
254 goto failure; in BeginSourceFile()
304 goto failure; in BeginSourceFile()
309 goto failure; in BeginSourceFile()
321 goto failure; in BeginSourceFile()
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_doctests.py38 failure, total = doctest.testfile(
41 assert not failure, "Failure in %r" % filename
49 failure, total = doctest.testmod(
51 assert not failure, "Failure in %r" % module

12345678910>>...36