/external/emma/core/java12/com/vladium/emma/report/ |
ReportProcessor.java | 159 RuntimeException failure = null; local 278 failure = new EMMARuntimeException (SECURITY_RESTRICTION, new String [] {IAppConstants.APP_NAME}, se); 282 failure = re; 289 if (failure != null) 291 if (Exceptions.unexpectedFailure (failure, EXPECTED_FAILURES)) 294 new Object [] {failure.toString (), IAppConstants.APP_BUG_REPORT_LINK}, 295 failure); 298 throw failure;
|
/external/gtest/test/ |
gtest_environment_test.cc | 54 // generate a non-fatal failure, generate a fatal failure, or 61 ADD_FAILURE() << "Expected non-fatal failure in global set-up."; 64 FAIL() << "Expected fatal failure in global set-up."; 71 // Generates a non-fatal failure. 74 ADD_FAILURE() << "Expected non-fatal failure in global tear-down."; 84 // We call this function to set the type of failure SetUp() should 120 // The 'failure' parameter specifies the type of failure that should 122 int RunAllTests(MyEnvironment* env, FailureType failure) { [all...] |
/external/icu4c/test/intltest/ |
dtfmtrtts.h | 76 UBool failure(UErrorCode status, const char* msg); 77 UBool failure(UErrorCode status, const char* msg, const UnicodeString& str);
|
dtfmrgts.cpp | 73 if (failure(status, "SimpleDateFormat::createDateInstance")) { 95 failure(status, "sdf->parse"); 104 failure(status, "sdf->parse"); 227 if (failure(status, "new SimpleDateFormat")) { 233 failure(status, "fmt->setTwoDigitStartDate"); 234 if( (fmt->get2DigitYearStart(status) != start) || failure(status, "get2DigitStartDate")) 261 failure(status, "fmt->parse"); 286 if(failure(status, "new SimpleDateFormat")) return; 294 if(failure(status, "new SimpleDateFormat")) return; 320 failure(status, "fmt->format") [all...] |
caltztst.h | 28 // Return true if the given status indicates failure. Also has the side effect 30 UBool failure(UErrorCode status, const char* msg, UBool possibleDataError=FALSE);
|
tzregts.h | 55 UBool failure(UErrorCode status, const char* msg);
|
nmfmtrt.cpp | 46 NumberFormatRoundTripTest::failure(UErrorCode status, const char* msg, UBool possibleDataError) function in class:NumberFormatRoundTripTest 97 if (!failure(status, "NumberFormat::createInstance", TRUE)){ 103 if (!failure(status, "NumberFormat::createCurrencyInstance", TRUE)){ 109 if (!failure(status, "NumberFormat::createPercentInstance", TRUE)){ 127 failure(status, "NumberFormat::createInstance"); 132 failure(status, "NumberFormat::createCurrencyInstance"); 137 failure(status, "NumberFormat::createPercentInstance"); 248 failure(status, "fmt->parse");
|
dtfmtrtts.cpp | 63 DateFormatRoundTripTest::failure(UErrorCode status, const char* msg) function in class:DateFormatRoundTripTest 74 DateFormatRoundTripTest::failure(UErrorCode status, const char* msg, const UnicodeString& str) function in class:DateFormatRoundTripTest 118 errln("Round trip failure: \"%S\" (%f), \"%S\" (%f)", result[0].getBuffer(), date[1], result[1].getBuffer(), date[2]); 129 failure(status, "Calendar::createInstance"); 283 errln((UnicodeString)"Failure getting min date for " + origLocale.getName()); 331 failure(status, "fmt->parse", s[loop-1]+" in locale: " + origLocale.getName()); 380 && fmt->getTimeZone().inDaylightTime(d[0], status) && ! failure(status, "TimeZone::inDST()")) { 393 else if((in0=fmt->getTimeZone().inDaylightTime(d[0], status)) && ! failure(status, "gettingDaylightTime") && 398 fmt->getTimeZone().inDaylightTime(d[1], status) && !failure(status, "gettingDaylightTime")) 406 && !failure(status, "error status [smatch>maxSmatch]" [all...] |
tzregts.cpp | 54 TimeZoneRegressionTest::failure(UErrorCode status, const char* msg) function in class:TimeZoneRegressionTest 90 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 95 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 103 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 111 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 116 if (failure(status, "SimpleTimeZone::inDaylightTime")) return 0; 134 failure(status, "z->setStartRule()"); 136 failure(status, "z->setStartRule()"); 145 failure(status, "new GregorianCalendar"); 154 failure(status, "new SimpleDateFormat") [all...] |
/external/webkit/WebKit/mac/History/ |
WebHistoryItemPrivate.h | 40 - (void)_setLastVisitWasFailure:(BOOL)failure;
|
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_Exec.java | 92 Throwable failure; local 97 failure = err.length() > 0 101 failure = e; 104 if (failure != null) { 107 error.initCause(failure);
|
/external/opencore/android/ |
pvmediascanner.cpp | 138 if (!client.handleStringTag(key, value)) goto failure; 161 if (!client.addStringTag(key, temp)) goto failure; 178 if (!client.addStringTag(key, dest)) goto failure; 183 if (!client.addStringTag(key, temp)) goto failure; 207 if (!client.addStringTag("duration", buffer)) goto failure; 212 failure: 240 if (!client.addStringTag("title", buffer)) goto failure; 252 if (!client.addStringTag("artist", buffer)) goto failure; 264 if (!client.addStringTag("album", buffer)) goto failure; 277 if (!client.addStringTag("year", buffer)) goto failure; [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
BroadcasterTest.java | 56 failure(); 91 failure(); method 155 failure(); 190 failure(); 226 failure();
|
HandlerTester.java | 55 public void failure() { method in class:HandlerTester
|
MessageQueueTest.java | 46 failure(new RuntimeException( method 54 failure(new RuntimeException( method
|
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
ZipInputStream.java | 131 Exception failure = null; local 135 failure = e; 155 if (failure == null) { // otherwise we're already going to throw 156 failure = e; 165 if (failure != null) { 166 if (failure instanceof IOException) { 167 throw (IOException) failure; 168 } else if (failure instanceof RuntimeException) { 169 throw (RuntimeException) failure; 172 error.initCause(failure); [all...] |
/dalvik/libcore/luni/src/test/java/com/google/coretests/ |
XmlReportPrinter.java | 54 private static final String FAILURE = "failure"; 105 TestFailure failure = failures.nextElement(); local 106 TestId test = new TestId(failure.failedTest()); 110 throw new IllegalStateException( "received a failure for a " 115 suite.errors.put(test, failure); 117 suite.failures.put(test, failure); 185 TestFailure failure = failures.get(testId); local 189 } else if (failure != null) { 190 testId.printFailure(serializer, FAILURE, failure.thrownException()) [all...] |
CoreTestIsolator.java | 70 // Store failure or error - we know there must be one 71 Throwable failure = r.failureCount() != 0 ? local 77 saveStackTrace(failure, args[2]);
|
/cts/tools/host/src/com/android/cts/ |
CtsTestResult.java | 86 * Check if the result indicates failure. 161 TestFailure failure = failures.nextElement(); local 162 failedMessage += failure.exceptionMessage(); 163 stackTrace += failure.trace();
|
/external/dbus/dbus/ |
dbus-test.c | 33 die (const char *failure) 35 fprintf (stderr, "Unit test failed: %s\n", failure);
|
/external/emma/ant/ant14/com/vladium/emma/report/ |
ReportCfg.java | 253 final BuildException failure = getFailure (); local 255 if (failure != null) 256 throw failure; 273 final BuildException failure = getFailure (); local 275 if (failure != null) 276 throw failure; 424 private void setFailure (final BuildException failure) 426 if (m_settingsFailure == null) m_settingsFailure = failure; // record the first one only
|
/external/junit/src/junit/swingui/ |
DefaultFailureDetailView.java | 18 * A view that shows a stack trace of a failure 24 * A ListModel representing the scanned failure stack trace. 88 public void showFailure(TestFailure failure) { 89 getModel().setTrace(BaseTestRunner.getFilteredTrace(failure.trace()));
|
TestHierarchyRunView.java | 49 public void revealFailure(Test failure) { 53 int index= model.findTest(failure, (Test)model.getRoot(), vpath);
|
/external/guava/src/com/google/common/util/concurrent/ |
AbstractService.java | 161 IllegalStateException failure = new IllegalStateException( local 163 notifyFailed(failure); 164 throw failure; 190 IllegalStateException failure = new IllegalStateException( local 192 notifyFailed(failure); 193 throw failure;
|
/cts/tests/tests/os/src/android/os/cts/ |
MessageQueueTest.java | 242 failure(new RuntimeException("Expected message #" + mCount + ", received #" method 250 failure(new RuntimeException("Message received after done, #" + msg.what)); method 293 mFailure = new RuntimeException("no failure exception set"); 307 public void failure(RuntimeException failure) { method in class:MessageQueueTest.OrderTestHelper 310 mFailure = failure;
|