/external/junit/src/junit/framework/ |
TestResult.java | 12 * The test framework distinguishes between <i>failures</i> and <i>errors</i>. 13 * A failure is anticipated and checked for with assertions. Errors are 37 * Adds an error to the list of errors. The passed in exception 82 * Gets the number of detected errors. 88 * Returns an Enumeration for the errors 90 public synchronized Enumeration<TestFailure> errors() { method in class:TestResult
|
/external/junit/src/junit/textui/ |
ResultPrinter.java | 49 printDefects(result.errors(), result.errorCount(), "error"); 93 ", Errors: "+result.errorCount());
|
/external/junit/src/org/junit/experimental/theories/ |
Theories.java | 29 protected void collectInitializationErrors(List<Throwable> errors) { 30 super.collectInitializationErrors(errors); 31 validateDataPointFields(errors); 34 private void validateDataPointFields(List<Throwable> errors) { 39 errors.add(new Error("DataPoint field " + each.getName() + " must be static")); 43 protected void validateConstructor(List<Throwable> errors) { 44 validateOnlyOneConstructor(errors); 48 protected void validateTestMethods(List<Throwable> errors) { 51 each.validatePublicVoid(false, errors); 53 each.validatePublicVoidNoArg(false, errors); [all...] |
/external/junit/src/org/junit/runners/ |
ParentRunner.java | 105 * Adds to {@code errors} a throwable for each problem noted with the test class (available from {@link #getTestClass()}). 110 protected void collectInitializationErrors(List<Throwable> errors) { 111 validatePublicVoidNoArgMethods(BeforeClass.class, true, errors); 112 validatePublicVoidNoArgMethods(AfterClass.class, true, errors); 113 validateClassRules(errors); 117 * Adds to {@code errors} if any method in this class is annotated with 127 boolean isStatic, List<Throwable> errors) { 131 eachTestMethod.validatePublicVoidNoArg(isStatic, errors); 134 private void validateClassRules(List<Throwable> errors) { 135 CLASS_RULE_VALIDATOR.validate(getTestClass(), errors); local [all...] |
/external/qemu/proxy/ |
proxy_int.h | 40 fd_set* errors; member in struct:__anon27265
|
/external/strace/ |
count.c | 42 int calls, errors; member in struct:call_counts 69 counts[tcp->scno].errors++; 188 error_cum += counts[i].errors; 195 "calls", "errors", "syscall"); 206 if (counts[j].errors) 207 sprintf(error_str, "%d", counts[j].errors);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_wext.h | 49 int errors; member in struct:wpa_driver_wext_data
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
InstrumentationTestSuiteBuilderTest.java | 77 private Set<String> errors = new HashSet<String>(); field in class:InstrumentationTestSuiteBuilderTest.SuiteExecutionRecorder 81 errors.add(testName(test)); 104 return errors.contains(testName);
|
UnitTestSuiteBuilderTest.java | 70 private Set<String> errors = new HashSet<String>(); field in class:UnitTestSuiteBuilderTest.SuiteExecutionRecorder 74 errors.add(testName(test)); 97 return errors.contains(testName);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
charset.py | 16 from email import errors namespace 215 raise errors.CharsetError(input_charset)
|
feedparser.py | 26 from email import errors namespace 176 root.defects.append(errors.MultipartInvariantViolationDefect()) 219 # necessary in the older parser, which could raise errors. All 289 self._cur.defects.append(errors.NoBoundaryInMultipartDefect()) 393 self._cur.defects.append(errors.StartBoundaryNotFoundDefect()) 444 defect = errors.FirstHeaderLineIsContinuationDefect(line) 472 defect = errors.MisplacedEnvelopeHeaderDefect(line) 478 defect = errors.MalformedHeaderDefect(line)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
charset.py | 16 from email import errors namespace 215 raise errors.CharsetError(input_charset)
|
feedparser.py | 26 from email import errors namespace 176 root.defects.append(errors.MultipartInvariantViolationDefect()) 219 # necessary in the older parser, which could raise errors. All 289 self._cur.defects.append(errors.NoBoundaryInMultipartDefect()) 393 self._cur.defects.append(errors.StartBoundaryNotFoundDefect()) 444 defect = errors.FirstHeaderLineIsContinuationDefect(line) 472 defect = errors.MisplacedEnvelopeHeaderDefect(line) 478 defect = errors.MalformedHeaderDefect(line)
|
/libcore/luni/src/test/java/libcore/xml/ |
NormalizeTest.java | 456 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); 477 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); 496 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); 517 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); 538 assertEquals(Collections.<DOMError>emptyList(), errorRecorder.errors); 600 private final List<DOMError> errors = new ArrayList<DOMError>(); field in class:NormalizeTest.ErrorRecorder 603 errors.add(error); 608 assertAllErrors("Expected one or more " + type + " errors", severity, type); 612 assertFalse(message, errors.isEmpty()); 613 for (DOMError error : errors) { [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
ListeningPortsTest.java | 184 String errors = ""; local 192 errors += "\nFound port listening on addr=" 199 if (!errors.equals("")) { 200 throw new ListeningPortsAssertionError(errors);
|
/external/bison/src/ |
conflicts.c | 256 | ERRORS and NERRS can be used to store discovered explicit | 257 | errors. | 261 resolve_sr_conflict (state *s, int ruleno, symbol **errors, int *nerrs) 314 errors[(*nerrs)++] = symbols[i]; 324 | conflicts. ERRORS can be used as storage to compute the list of | 329 set_conflicts (state *s, symbol **errors) 350 resolve_sr_conflict (s, i, errors, &nerrs); 354 /* Some tokens have been explicitly made errors. Allocate a 356 state_errs_set (s, nerrs, errors); 390 symbol **errors = xnmalloc (ntokens + 1, sizeof *errors) 389 symbol **errors = xnmalloc (ntokens + 1, sizeof *errors); local [all...] |
/external/chromium/base/ |
shared_memory_unittest.cc | 339 int errors = 0; local 346 errors++; 350 errors++; 359 errors++; 364 return errors;
|
/external/chromium/chrome/browser/extensions/ |
extension_browsertest.cc | 255 VLOG(1) << "Errors follow:"; 256 const std::vector<std::string>* errors = local 258 for (std::vector<std::string>::const_iterator iter = errors->begin(); 259 iter != errors->end(); ++iter)
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
ecmalintrules.py | 29 from closure_linter import errors namespace 61 Can be used to find common style errors in JavaScript, ActionScript and other 102 """Handle errors associated with a parameter missing a @param tag.""" 161 self._HandleError(errors.LINE_TOO_LONG, 165 """Checks the given type for style errors. 176 self._HandleError(errors.JSDOC_PREFER_QUESTION_TO_PIPE_NULL, 183 self._HandleError(errors.JSDOC_ILLEGAL_QUESTION_WITH_PIPE, 189 self._HandleError(errors.MISSING_BRACES_AROUND_TYPE, 207 errors.MISSING_SPACE, 239 """Checks a token, given the current parser_state, for warnings and errors [all...] |
/external/chromium_org/base/memory/ |
shared_memory_unittest.cc | 501 int errors = 0; local 510 errors++; 514 errors++; 523 errors++; 528 return errors;
|
/external/chromium_org/build/android/buildbot/ |
bb_device_steps.py | 24 import errors namespace 78 except errors.DeviceUnresponsiveError as e:
|
/external/chromium_org/build/android/pylib/utils/ |
emulator.py | 30 import errors namespace 336 except errors.WaitForResponseTimedOutError as e:
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
configuration_policy_handler_chromeos.cc | 57 PolicyErrorMap* errors) { 59 if (!CheckAndGetValue(policies, errors, &value)) 68 errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_PARSE_FAILED); 85 errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_IMPORT_PARTIAL); 87 errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_IMPORT_FAILED); 173 PolicyErrorMap errors; local 224 PolicyErrorMap* errors) { 226 if (!CheckAndGetValue(policies, errors, &value)) 234 return LoginScreenPowerManagementPolicy().Init(json, errors);
|
/external/chromium_org/chrome/browser/diagnostics/ |
sqlite_diagnostics.cc | 112 int errors = 0; variable 158 ++errors; 168 if (errors != 0) { 170 str += base::IntToString(errors) + " errors";
|
/external/chromium_org/chrome/browser/extensions/ |
extension_browsertest.cc | 460 VLOG(1) << "Errors follow:"; 461 const std::vector<string16>* errors = local 463 for (std::vector<string16>::const_iterator iter = errors->begin(); 464 iter != errors->end(); ++iter)
|