/third_party/node/test/parallel/ |
D | test-assert.js | 42 assert.ok(a.AssertionError.prototype instanceof Error, 45 assert.throws(() => a(false), a.AssertionError, 'ok(false)'); 46 assert.throws(() => a.ok(false), a.AssertionError, 'ok(false)'); 67 a.AssertionError, 'equal(true, false)'); 77 a.AssertionError, 'notEqual(true, true)'); 80 a.AssertionError, 'strictEqual(2, \'2\')'); 84 a.AssertionError, 'strictEqual(null, undefined)'); 119 assert.throws(() => thrower(a.AssertionError), a.AssertionError, 'message'); 120 assert.throws(() => thrower(a.AssertionError), a.AssertionError); 121 assert.throws(() => thrower(a.AssertionError)); [all …]
|
D | test-assert-deep.js | 6 const { AssertionError } = assert; 586 assertNotDeepOrStrict(err1, new Error('foo2'), assert.AssertionError); 587 assertNotDeepOrStrict(err1, new TypeError('foo1'), assert.AssertionError); 589 assertNotDeepOrStrict(err1, {}, AssertionError); 684 AssertionError, 689 AssertionError, 695 AssertionError, 721 AssertionError, 729 () => assert.deepEqual({ a: 4 }, { a: 4, b: true }), AssertionError); 739 AssertionError); [all …]
|
D | test-assert-typedarray-deepequal.js | 77 assert.AssertionError 85 assert.AssertionError 89 assert.AssertionError
|
/third_party/node/deps/npm/node_modules/bluebird/js/release/ |
D | assert.js | 3 var AssertionError = (function() { class 4 function AssertionError(a) { class in module.exports.AssertionError 9 AssertionError.prototype = new Error(); class 10 AssertionError.prototype.constructor = AssertionError; 11 AssertionError.prototype.constructor$ = Error; 12 return AssertionError; 49 var ret = new AssertionError(message);
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | compositing_test.dart | 30 throwsA(const TypeMatcher<AssertionError>()), 44 throwsA(const TypeMatcher<AssertionError>()), 58 throwsA(const TypeMatcher<AssertionError>()), 91 fail('Expected addRetained to throw AssertionError but it returned successully'); 92 } on AssertionError catch (error) { 112 fail('Expected push to throw AssertionError but it returned successully'); 113 } on AssertionError catch (error) { 133 fail('Expected second addRetained to throw AssertionError but it returned successully'); 134 } on AssertionError catch (error) { 154 fail('Expected push to throw AssertionError but it returned successully'); [all …]
|
/third_party/node/doc/api/ |
D | assert.md | 50 // AssertionError: Expected inputs to be strictly deep-equal: 91 // WARNING: This does not throw an AssertionError! 95 ## Class: assert.AssertionError 100 will be instances of the `AssertionError` class. 102 ### `new assert.AssertionError(options)` argument 133 // Generate an AssertionError to compare the error message later: 134 const { message } = new assert.AssertionError({ 144 assert(err instanceof assert.AssertionError); 146 assert.strictEqual(err.name, 'AssertionError'); 380 The following example does not throw an [`AssertionError`][] because the [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MeasureUnitThreadTest.java | 42 AssertionError error; 58 } catch (AssertionError e) { in run() 86 AssertionError error = new AssertionError("Failure in thread 1"); in NumericRaceTest() 91 AssertionError error = new AssertionError("Failure in thread 2"); in NumericRaceTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | MeasureUnitThreadTest.java | 45 AssertionError error; 61 } catch (AssertionError e) { in run() 89 AssertionError error = new AssertionError("Failure in thread 1"); in NumericRaceTest() 94 AssertionError error = new AssertionError("Failure in thread 2"); in NumericRaceTest()
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testasync.py | 229 with self.assertRaises(AssertionError): 753 with self.assertRaises(AssertionError): 755 with self.assertRaises(AssertionError): 764 with self.assertRaises(AssertionError): 775 with self.assertRaises(AssertionError): 778 with self.assertRaises(AssertionError): 792 with self.assertRaises(AssertionError): 810 with self.assertRaises(AssertionError): 812 with self.assertRaises(AssertionError): 818 with self.assertRaises(AssertionError): [all …]
|
D | testmock.py | 376 self.assertRaises(AssertionError, mock.assert_called_with, 1) 379 self.assertRaises(AssertionError, mock.assert_called_with) 399 self.assertRaises(AssertionError, mock.assert_called_with, 402 with self.assertRaises(AssertionError) as cm: 412 self.assertRaises(AssertionError, mock.assert_called_with, 429 with self.assertRaisesRegex(AssertionError, msg.format('mock')): 431 with self.assertRaisesRegex(AssertionError, msg.format('test_name')): 443 self.assertRaises(AssertionError, mock.assert_called_once_with) 446 self.assertRaises(AssertionError, mock.assert_called_once_with) 454 AssertionError, [all …]
|
/third_party/PyYAML/tests/lib/ |
D | test_errors.py | 12 raise AssertionError("expected an exception") 24 raise AssertionError("expected an exception") 36 raise AssertionError("expected an exception") 49 raise AssertionError("expected an exception") 64 raise AssertionError("expected an exception")
|
/third_party/python/Lib/ |
D | _markupbase.py | 130 raise AssertionError("unsupported '[' char in %s declaration" % decltype) 132 raise AssertionError("unexpected '[' char in declaration") 134 raise AssertionError("unexpected %r char in declaration" % rawdata[j]) 154 raise AssertionError( 168 raise AssertionError('unexpected call to parse_comment()') 192 raise AssertionError( 211 raise AssertionError( 237 raise AssertionError("unexpected char after internal subset") 244 raise AssertionError("unexpected char %r in internal subset" % c) 390 raise AssertionError(
|
/third_party/flutter/flutter/dev/integration_tests/channels/android/app/src/main/java/com/yourcompany/channels/ |
D | MainActivity.java | 90 throw new AssertionError("Should not be called"); in doSuccessHandshake() 95 throw new AssertionError("Should not be called"); in doSuccessHandshake() 104 throw new AssertionError("Should not be called"); in doErrorHandshake() 115 throw new AssertionError("Should not be called"); in doErrorHandshake() 124 throw new AssertionError("Should not be called"); in doNotImplementedHandshake() 129 throw new AssertionError("Should not be called"); in doNotImplementedHandshake()
|
/third_party/python/Doc/includes/ |
D | mp_pool.py | 88 raise AssertionError('expected ZeroDivisionError') 95 raise AssertionError('expected ZeroDivisionError') 102 raise AssertionError('expected ZeroDivisionError') 115 raise AssertionError('expected ZeroDivisionError')
|
/third_party/node/lib/ |
D | assert.js | 60 const AssertionError = require('internal/assert/assertion_error'); constant 118 throw new AssertionError(obj); 162 const err = new AssertionError(errArgs); 172 assert.AssertionError = AssertionError; 386 const err = new AssertionError({ 621 const err = new AssertionError({ 661 const err = new AssertionError({ 736 const err = new AssertionError({ 950 const newErr = new AssertionError({ 1009 const err = new AssertionError({
|
/third_party/typescript/tests/ts_extra_tests/suite/ |
D | assert.ts | 1 import { AssertionError } from "./assertionError.js" 14 throw new AssertionError(msg ? msg : this.defaultMessage(actual, expect)); 19 throw new AssertionError(msg ? msg : this.defaultMessage(actual, expect, false));
|
/third_party/python/Lib/test/test_asyncio/ |
D | utils.py | 372 raise AssertionError("Time generator is not finished") 387 raise AssertionError(f'fd {fd} is not registered') 390 raise AssertionError( 393 raise AssertionError( 398 raise AssertionError(f'fd {fd} is registered') 413 raise AssertionError(f'fd {fd} is not registered') 416 raise AssertionError(f'{handle._callback!r} != {callback!r}') 418 raise AssertionError(f'{handle._args!r} != {args!r}') 535 raise AssertionError('loop is None')
|
/third_party/python/Lib/distutils/tests/ |
D | test_extension.py | 36 self.assertRaises(AssertionError, Extension, 1, []) 42 self.assertRaises(AssertionError, Extension, 'name', 'file') 43 self.assertRaises(AssertionError, Extension, 'name', ['file', 1])
|
/third_party/python/Lib/test/ |
D | audit-tests.py | 51 raise AssertionError(f"{x!r} should equal {y!r}") 56 raise AssertionError(f"{el!r} should be in {series!r}") 61 raise AssertionError(f"{el!r} should not be in {series!r}") 66 raise AssertionError(f"{x!r} should equal {y!r}") 68 raise AssertionError(f"{x!r} should equal {y!r}") 77 if isinstance(ex, AssertionError):
|
/third_party/flutter/flutter/packages/flutter/test/foundation/ |
D | assertions_test.dart | 224 AssertionError error; 227 } on AssertionError catch (e) { 240 AssertionError error; 244 } on AssertionError catch (e) { 266 AssertionError error; 274 } on AssertionError catch (e) { 303 AssertionError error; 309 } on AssertionError catch (e) {
|
/third_party/googletest/googletest/test/ |
D | googletest-uninitialized-test.py | 41 raise AssertionError 48 raise AssertionError
|
/third_party/python/Lib/test/support/ |
D | threading_helper.py | 100 raise AssertionError(msg) 114 raise AssertionError(msg) 152 raise AssertionError('Unable to join %d threads' % len(started))
|
/third_party/python/Tools/demo/ |
D | eiffel.py | 137 self.assertRaises(AssertionError, t.m2, 0) 140 self.assertRaises(AssertionError, s.m2, 1) 141 self.assertRaises(AssertionError, s.m2, 10)
|
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/view/ |
D | FlutterNativeView.java | 85 if (!isAttached()) throw new AssertionError("Platform view is not attached"); in assertAttached() 90 throw new AssertionError("An entrypoint must be specified"); in runFromBundle() 94 throw new AssertionError( in runFromBundle()
|
/third_party/node/test/message/ |
D | error_exit.out | 3 throw new AssertionError(obj); 6 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|