HomeSort by relevance Sort by last modified time
    Searched defs:TestError (Results 1 - 25 of 38) sorted by null

1 2

  /prebuilts/go/darwin-x86/src/encoding/csv/
writer_test.go 66 func TestError(t *testing.T) {
  /prebuilts/go/linux-x86/src/encoding/csv/
writer_test.go 66 func TestError(t *testing.T) {
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
DecParserTest.py 92 def TestError(Path, TestString):
119 assert TestTemplate(TestString, TestError)
125 assert TestTemplate(TestString, TestError)
167 assert TestTemplate(TestString, TestError)
  /external/antlr/antlr-3.4/runtime/Python/
setup.py 56 class TestError(DistutilsError):
145 raise TestError(
277 raise TestError(
  /external/deqp/framework/common/
tcuDefs.cpp 88 TestError::TestError (const char* message, const char* expr, const char* file, int line)
92 TestError::TestError (const std::string& message, const char* expr, const char* file, int line)
97 TestError::TestError (const std::string& message)
tcuDefs.hpp 77 class TestError : public TestException
80 TestError (const char* message, const char* expr, const char* file, int line);
81 TestError (const std::string& message, const char* expr, const char* file, int line);
82 TestError (const std::string& message);
83 virtual ~TestError (void) throw() {}
129 //! Throw TestError.
130 #define TCU_FAIL(MSG) TCU_THROW(TestError, MSG)
132 //! Throw TestError if condition X is not satisfied.
133 #define TCU_CHECK(X) do { if (!(!deGetFalse() && (X))) throw tcu::TestError(DE_NULL, #X, __FILE__, __LINE__); } while(deGetFalse())
135 //! Throw TestError if condition X is not satisfied
    [all...]
  /external/autotest/client/cros/faft/utils/
saft_flashrom_util.py 24 class TestError(Exception):
116 TestError in case the layout is not consistent.
130 raise TestError('Section end 0x%x exceeds file size %x' % (
158 raise TestError('%s duplicated in the layout' % name)
269 raise TestError('INTERNAL ERROR: invalid layout map: %s.' %
290 raise TestError('INTERNAL ERROR: invalid layout map.')
299 raise TestError('INTERNAL ERROR: unmatched data size.')
  /external/libyuv/files/tools_libyuv/autoroller/unittests/
roll_deps_test.py 44 class TestError(Exception):
58 raise TestError('Got unexpected\n%s\n%s' % (args, kwargs))
63 raise TestError(message)
  /system/iot/attestation/at-factory-tool/
fastbootsh_unittest.py 33 class TestError(sh.ErrorReturnCode):
80 mock_error = self.TestError()
116 mock_error = self.TestError()
140 mock_error = self.TestError()
164 mock_error = self.TestError()
188 mock_error = self.TestError()
207 mock_error = self.TestError()
fastbootsubp_unittest.py 26 class TestError(subprocess.CalledProcessError):
98 mock_error = TestError()
132 mock_error = TestError()
155 mock_error = TestError()
178 mock_error = TestError()
203 mock_error = TestError()
222 mock_error = TestError()
  /system/update_engine/scripts/update_payload/
test_utils.py 20 class TestError(Exception):
85 TestError if something goes wrong.
94 raise TestError('signing subprocess failed: %s' % e)
317 TestError: if arguments are inconsistent or something goes wrong.
337 raise TestError('cannot add pseudo-operation without knowing the '
  /external/icu/icu4c/source/test/intltest/
unifiedcachetest.cpp 77 void TestError();
87 TESTCASE_AUTO(TestError);
352 void UnifiedCacheTest::TestError() {
  /prebuilts/go/darwin-x86/src/text/scanner/
scanner_test.go 426 func testError(t *testing.T, src, pos, msg string, tok rune) {
453 func TestError(t *testing.T) {
454 testError(t, "\x00", "<input>:1:1", "illegal character NUL", 0)
455 testError(t, "\x80", "<input>:1:1", "illegal UTF-8 encoding", utf8.RuneError)
456 testError(t, "\xff", "<input>:1:1", "illegal UTF-8 encoding", utf8.RuneError)
458 testError(t, "a\x00", "<input>:1:2", "illegal character NUL", Ident)
459 testError(t, "ab\x80", "<input>:1:3", "illegal UTF-8 encoding", Ident)
460 testError(t, "abc\xff", "<input>:1:4", "illegal UTF-8 encoding", Ident)
462 testError(t, `"a`+"\x00", "<input>:1:3", "illegal character NUL", String)
463 testError(t, `"ab`+"\x80", "<input>:1:4", "illegal UTF-8 encoding", String
    [all...]
  /prebuilts/go/linux-x86/src/text/scanner/
scanner_test.go 426 func testError(t *testing.T, src, pos, msg string, tok rune) {
453 func TestError(t *testing.T) {
454 testError(t, "\x00", "<input>:1:1", "illegal character NUL", 0)
455 testError(t, "\x80", "<input>:1:1", "illegal UTF-8 encoding", utf8.RuneError)
456 testError(t, "\xff", "<input>:1:1", "illegal UTF-8 encoding", utf8.RuneError)
458 testError(t, "a\x00", "<input>:1:2", "illegal character NUL", Ident)
459 testError(t, "ab\x80", "<input>:1:3", "illegal UTF-8 encoding", Ident)
460 testError(t, "abc\xff", "<input>:1:4", "illegal UTF-8 encoding", Ident)
462 testError(t, `"a`+"\x00", "<input>:1:3", "illegal character NUL", String)
463 testError(t, `"ab`+"\x80", "<input>:1:4", "illegal UTF-8 encoding", String
    [all...]
  /art/test/1940-ddms-ext/src-art/art/
Test1940.java 42 public static final class TestError extends Error {
43 public TestError(String s) { super(s); }
48 throw new TestError("Failure: " + a + " != " + b);
82 throw new TestError("Unknown ddm request type: " + req.type);
  /art/test/991-field-trace-2/src/art/
Test991.java 54 private static class TestError extends Error {
56 public TestError(String s) { super(s); }
62 throw new TestError("Throwing error during access");
68 throw new TestError("Throwing error during modify");
204 } catch (TestError e) {
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
FutureCallbackTest.java 113 class TestError extends Error {}
114 TestError error = new TestError();
124 } catch (TestError e) {
  /external/robolectric-shadows/shadowapi/src/test/java/org/robolectric/util/
ReflectionHelpersTest.java 163 failBecauseExceptionWasNotThrown(TestError.class);
166 } catch (TestError e) {
203 failBecauseExceptionWasNotThrown(TestError.class);
206 } catch (TestError e) {
241 failBecauseExceptionWasNotThrown(TestError.class);
244 } catch (TestError e) {
266 private static class TestError extends Error {
326 throw new TestError();
338 throw new TestError();
345 throw new TestError();
    [all...]
  /external/autotest/client/common_lib/
error.py 67 class TestError(TestBaseException):
95 class UnhandledTestError(TestError):
98 if isinstance(unhandled_exception, TestError):
99 TestError.__init__(self, *unhandled_exception.args)
101 TestError.__init__(self, unhandled_exception)
107 TestError.__init__(self, msg)
125 class CmdError(TestError):
128 TestError.__init__(self, command, result_obj, additional_text)
159 class PackageError(TestError):
  /external/autotest/client/cros/cellular/pseudomodem/
pm_errors.py 344 class TestError(dbus.exceptions.DBusException):
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
_testcapimodule.c 16 static PyObject *TestError; /* set to exception object in init */
18 /* Raise TestError with test_name + ": " + msg, and return NULL. */
26 PyErr_SetString(TestError, "internal error msg too large");
29 PyErr_SetString(TestError, buf);
48 PyErr_SetString(TestError, buf);
104 PyErr_SetString(TestError,
153 TestError,
241 TestError,
248 TestError,
258 TestError,
    [all...]
  /external/python/cpython2/Modules/
_testcapimodule.c 17 static PyObject *TestError; /* set to exception object in init */
19 /* Raise TestError with test_name + ": " + msg, and return NULL. */
27 PyErr_SetString(TestError, "internal error msg too large");
30 PyErr_SetString(TestError, buf);
49 PyErr_SetString(TestError, buf);
105 PyErr_SetString(TestError,
154 TestError,
242 TestError,
249 TestError,
259 TestError,
    [all...]
  /external/python/cpython3/Modules/
_testcapimodule.c 24 static PyObject *TestError; /* set to exception object in init */
26 /* Raise TestError with test_name + ": " + msg, and return NULL. */
31 PyErr_Format(TestError, "%s: %s", test_name, msg);
45 PyErr_Format(TestError,
80 PyErr_Format(TestError, \
88 PyErr_Format(TestError, \
163 PyErr_SetString(TestError,
218 TestError,
338 TestError,
345 TestError,
    [all...]
  /prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0/
intellij-core-26.0.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/external/com-intellij/intellij-core/26.0.0-alpha4/
intellij-core-26.0.0-alpha4.jar 

Completed in 759 milliseconds

1 2