Home
last modified time | relevance | path

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

12345678910>>...48

/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/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/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/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/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.cpp183 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, const Locale& l, U… in failure() function in NumberFormatRegressionTest
200 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, const char *l, UBo… in failure() function in NumberFormatRegressionTest
217 NumberFormatRegressionTest::failure(UErrorCode status, const UnicodeString& msg, UBool possibleData… in failure() function in NumberFormatRegressionTest
289 if (!failure(status, "new DecimalFormat", "")) { in Test4088161()
319 failure(status, "new DecimalFormatSymbols", ""); in Test4087245()
325 failure(status, "new DecimalFormat with symbols", ""); in Test4087245()
411 if (failure(status, "NumberFormat::createCurrencyInstance", Locale::getUS(), TRUE)){ in assignFloatValue()
422 failure(status, "nfcommon->parse", Locale::getUS()); in assignFloatValue()
441 failure(status, "new Decimalformat", Locale::getUS()); in Test4059870()
446 failure(status, "format->parse", Locale::getUS()); in Test4059870()
[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/chromium-trace/catapult/perf_insights/perf_insights/mre/
Dfailure_unittest.py8 from perf_insights.mre import failure as failure_module
24 failure = failure_module.Failure(job, 'foo.html:Foo',
28 self.assertEquals(failure.AsDict(), {
51 failure = failure_module.Failure.FromDict(failure_dict, job)
53 self.assertEquals(failure.job.guid, '1')
54 self.assertEquals(failure.function_handle_string, 'foo.html:Foo')
55 self.assertEquals(failure.trace_canonical_url, 'file://foo.html')
56 self.assertEquals(failure.failure_type_name, 'err')
57 self.assertEquals(failure.description, 'desc')
58 self.assertEquals(failure.stack, 'stack')
Dmre_result.py5 from perf_insights.mre import failure as failure_module
35 d['failures'] = [failure.AsDict() for failure in self._failures]
39 def AddFailure(self, failure): argument
40 if not isinstance(failure, failure_module.Failure):
41 raise ValueError('Attempted to add %s as Failure', failure)
43 self._failures.append(failure)
/external/vogar/src/vogar/target/junit/
DJunit4.java209 Throwable failure = null; in run() local
223 failure = t.getCause(); in run()
225 failure = t; in run()
231 if (failure == null) { in run()
232 failure = t.getCause(); in run()
235 if (failure == null) { in run()
236 failure = t; in run()
243 if (failure == null) { in run()
244 failure = t.getCause(); in run()
247 if (failure == null) { in run()
[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/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/chromium-trace/catapult/perf_insights/perf_insights/
Dmap_single_trace.py14 from perf_insights.mre import failure
45 class FunctionLoadingFailure(failure.Failure):
48 class FunctionNotDefinedFailure(failure.Failure):
51 class MapFunctionFailure(failure.Failure):
54 class FileLoadingFailure(failure.Failure):
57 class TraceImportFailure(failure.Failure):
60 class NoResultsAddedFailure(failure.Failure):
106 result.AddFailure(failure.Failure(
117 failures = [failure.Failure.FromDict(
/external/chromium-trace/catapult/telemetry/telemetry/value/
Dfailure_unittest.py13 from telemetry.value import failure
28 v = failure.FailureValue.FromMessage(self.pages[0], 'Failure')
30 exc_info_str = failure.GetStringFromExcInfo(v.exc_info)
36 v0 = failure.FailureValue.FromMessage(self.pages[0], 'Failure')
41 v1 = failure.FailureValue(self.pages[0], sys.exc_info())
45 v = failure.FailureValue.FromMessage(self.pages[0], 'Failure')
54 v = failure.FailureValue.FromMessage(self.pages[0], 'Failure')
71 self.assertTrue(isinstance(v, failure.FailureValue))
/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/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/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/curl/src/
Dtool_cb_wrt.c87 const size_t failure = (sz * nmemb) ? 0 : 1; in tool_write_cb() local
90 return failure; in tool_write_cb()
97 return failure; in tool_write_cb()
103 return failure; in tool_write_cb()
132 return failure; in tool_write_cb()
138 return failure; in tool_write_cb()
155 return failure; in tool_write_cb()
/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
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractService.java305 IllegalStateException failure = new IllegalStateException(
307 notifyFailed(failure);
308 throw failure;
340 IllegalStateException failure = new IllegalStateException(
342 notifyFailed(failure);
343 throw failure;
513 final Throwable failure;
520 State internalState, boolean shutdownWhenStartupFinishes, @Nullable Throwable failure) {
524 checkArgument(!(failure != null ^ internalState == FAILED),
526 + "instead.", internalState, failure);
[all …]

12345678910>>...48