/external/junit/src/main/java/org/junit/runners/model/ |
FrameworkMethod.java | 64 * Adds to {@code errors} if this method: 73 public void validatePublicVoidNoArg(boolean isStatic, List<Throwable> errors) { 74 validatePublicVoid(isStatic, errors); 76 errors.add(new Exception("Method " + method.getName() + " should have no parameters")); 82 * Adds to {@code errors} if this method: 90 public void validatePublicVoid(boolean isStatic, List<Throwable> errors) { 93 errors.add(new Exception("Method " + method.getName() + "() " + state + " be static")); 96 errors.add(new Exception("Method " + method.getName() + "() should be public")); 99 errors.add(new Exception("Method " + method.getName() + "() should be void")); 131 public void validateNoTypeParametersOnArgs(List<Throwable> errors) { [all...] |
/external/autotest/client/site_tests/platform_PartitionCheck/ |
platform_PartitionCheck.py | 54 errors = [] 66 errors.append(errmsg) 68 # If self.error is not zero, there were errors. 69 if errors: 70 raise error.TestFail('There were %d partition errors: %s' % 71 (len(errors), ': '.join(errors)))
|
/external/autotest/client/site_tests/security_ChromiumOSLSM/ |
security_ChromiumOSLSM.py | 38 errors = 0 49 errors += self._check_mount(mnt_target, True, 53 errors += self._check_mount(sym_target, False, 57 # If self.error is not zero, there were errors. 58 if errors > 0: 59 raise error.TestFail('Failed %d tests' % errors)
|
/external/doclava/src/com/google/doclava/ |
TodoFile.java | 60 public int errors; field in class:TodoFile.PackageStats 84 String base = classBase + ".errors."; 85 int errors = 0; local 89 setHDF(data, base + errors, cl.position(), "<class comment>", MISSING); 90 errors++; 99 setHDF(data, base + errors, m.position(), m.prettySignature(), MISSING); 104 errors++; 113 setHDF(data, base + errors, m.position(), m.name() + m.prettySignature(), MISSING); 118 errors++; 128 setHDF(data, base + errors, f.position(), f.name(), MISSING) [all...] |
/external/google-breakpad/src/testing/gtest/src/ |
gtest-typed-test.cc | 60 Message errors; local 66 errors << "Test " << name << " is listed more than once.\n"; 83 errors << "No test named " << name 92 errors << "You forgot to list test " << *it << ".\n"; 96 const String& errors_str = errors.GetString();
|
/external/guice/core/src/com/google/inject/internal/ |
FactoryProxy.java | 44 public void notify(final Errors errors) { 46 targetFactory = injector.getInternalFactory(targetKey, errors.withSource(source), JitLimitation.NEW_OR_EXISTING_JIT); 48 errors.merge(e.getErrors()); 52 public T get(Errors errors, InternalContext context, Dependency<?> dependency, boolean linked) 56 return targetFactory.get(errors.withSource(targetKey), context, dependency, true);
|
UntargettedBindingProcessor.java | 29 UntargettedBindingProcessor(Errors errors, ProcessedBindingData bindingData) { 30 super(errors, bindingData); 44 errors.missingImplementation(key); 52 key, scoping, source, errors, false); 56 errors.merge(e.getErrors());
|
/external/junit/src/main/java/org/junit/experimental/categories/ |
CategoryValidator.java | 21 * Validates that there are no errors in the use of the {@code Category} 23 * of errors. 34 * Adds to {@code errors} a throwable for each problem detected. Looks for 45 List<Exception> errors = new ArrayList<Exception>(); local 50 addErrorMessage(errors, clazz); 54 return unmodifiableList(errors); 57 private void addErrorMessage(List<Exception> errors, Class<?> clazz) { 60 errors.add(new Exception(message));
|
/external/llvm/utils/unittest/googletest/src/ |
gtest-typed-test.cc | 60 Message errors; local 66 errors << "Test " << name << " is listed more than once.\n"; 83 errors << "No test named " << name 92 errors << "You forgot to list test " << *it << ".\n"; 96 const String& errors_str = errors.GetString();
|
/external/mesa3d/src/gtest/src/ |
gtest-typed-test.cc | 60 Message errors; local 66 errors << "Test " << name << " is listed more than once.\n"; 83 errors << "No test named " << name 92 errors << "You forgot to list test " << *it << ".\n"; 96 const std::string& errors_str = errors.GetString();
|
/external/protobuf/gtest/src/ |
gtest-typed-test.cc | 60 Message errors; local 66 errors << "Test " << name << " is listed more than once.\n"; 83 errors << "No test named " << name 92 errors << "You forgot to list test " << *it << ".\n"; 96 const String& errors_str = errors.GetString();
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
gtest-typed-test.cc | 60 Message errors; local 66 errors << "Test " << name << " is listed more than once.\n"; 83 errors << "No test named " << name 92 errors << "You forgot to list test " << *it << ".\n"; 96 const String& errors_str = errors.GetString();
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
one_hot_op.cc | 44 errors::InvalidArgument("Expected axis to be -1 or between [0, ", 47 errors::InvalidArgument("depth must be a scalar, but got: ", 50 errors::InvalidArgument("on_value must be a scalar, but got: ", 53 errors::InvalidArgument("off_value must be a scalar, but got: ", 63 errors::InvalidArgument("depth must be non-negative, got: ", depth));
|
/external/vogar/src/vogar/target/junit/ |
ValidateTestMethodWhenRunBlockJUnit4ClassRunner.java | 43 protected void validateTestMethods(List<Throwable> errors) { 76 ArrayList<Throwable> errors = new ArrayList<>(); local 77 frameworkMethod.validatePublicVoidNoArg(false, errors); 78 if (!errors.isEmpty()) { 79 throw errors.get(0);
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
gtest-typed-test.cc | 60 Message errors; local 66 errors << "Test " << name << " is listed more than once.\n"; 83 errors << "No test named " << name 92 errors << "You forgot to list test " << *it << ".\n"; 96 const std::string& errors_str = errors.GetString();
|
/frameworks/base/core/tests/coretests/src/android/util/ |
TimingsTraceLogTest.java | 46 final List<String> errors = new ArrayList<>(); local 51 errors.add("traceBegin should fail on a different thread"); 56 errors.add("traceEnd should fail on a different thread"); 67 assertTrue(errors.toString(), errors.isEmpty());
|
/prebuilts/ndk/r16/sources/third_party/googletest/googletest/src/ |
gtest-typed-test.cc | 60 Message errors; local 66 errors << "Test " << name << " is listed more than once.\n"; 83 errors << "No test named " << name 92 errors << "You forgot to list test " << *it << ".\n"; 96 const std::string& errors_str = errors.GetString();
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
codecs.py | 103 handling schemes by providing the errors argument. These
120 def encode(self, input, errors='strict'):
125 errors defines the error handling to apply. It defaults to
139 def decode(self, input, errors='strict'):
148 errors defines the error handling to apply. It defaults to
168 def __init__(self, errors='strict'):
173 providing the errors keyword argument. See the module docstring
176 self.errors = errors
208 def __init__(self, errors='strict'): [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
codecs.py | 97 handling schemes by providing the errors argument. These
114 def encode(self, input, errors='strict'):
119 errors defines the error handling to apply. It defaults to
133 def decode(self, input, errors='strict'):
142 errors defines the error handling to apply. It defaults to
162 def __init__(self, errors='strict'):
167 providing the errors keyword argument. See the module docstring
170 self.errors = errors
202 def __init__(self, errors='strict'): [all...] |
/external/python/cpython2/Lib/ |
codecs.py | 115 handling schemes by providing the errors argument. These 132 def encode(self, input, errors='strict'): 137 errors defines the error handling to apply. It defaults to 151 def decode(self, input, errors='strict'): 160 errors defines the error handling to apply. It defaults to 180 def __init__(self, errors='strict'): 185 providing the errors keyword argument. See the module docstring 188 self.errors = errors 220 def __init__(self, errors='strict') [all...] |
/external/python/cpython3/Lib/ |
codecs.py | 118 handling schemes by providing the errors argument. These 137 def encode(self, input, errors='strict'): 142 errors defines the error handling to apply. It defaults to 156 def decode(self, input, errors='strict'): 165 errors defines the error handling to apply. It defaults to 185 def __init__(self, errors='strict'): 190 providing the errors keyword argument. See the module docstring 193 self.errors = errors 225 def __init__(self, errors='strict') [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
codecs.py | 97 handling schemes by providing the errors argument. These 114 def encode(self, input, errors='strict'): 119 errors defines the error handling to apply. It defaults to 133 def decode(self, input, errors='strict'): 142 errors defines the error handling to apply. It defaults to 162 def __init__(self, errors='strict'): 167 providing the errors keyword argument. See the module docstring 170 self.errors = errors 202 def __init__(self, errors='strict') [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
codecs.py | 97 handling schemes by providing the errors argument. These 114 def encode(self, input, errors='strict'): 119 errors defines the error handling to apply. It defaults to 133 def decode(self, input, errors='strict'): 142 errors defines the error handling to apply. It defaults to 162 def __init__(self, errors='strict'): 167 providing the errors keyword argument. See the module docstring 170 self.errors = errors 202 def __init__(self, errors='strict') [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
codecs.py | 97 handling schemes by providing the errors argument. These 114 def encode(self, input, errors='strict'): 119 errors defines the error handling to apply. It defaults to 133 def decode(self, input, errors='strict'): 142 errors defines the error handling to apply. It defaults to 162 def __init__(self, errors='strict'): 167 providing the errors keyword argument. See the module docstring 170 self.errors = errors 202 def __init__(self, errors='strict') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
codecs.py | 97 handling schemes by providing the errors argument. These 114 def encode(self, input, errors='strict'): 119 errors defines the error handling to apply. It defaults to 133 def decode(self, input, errors='strict'): 142 errors defines the error handling to apply. It defaults to 162 def __init__(self, errors='strict'): 167 providing the errors keyword argument. See the module docstring 170 self.errors = errors 202 def __init__(self, errors='strict') [all...] |