From 38065257a27c202f00800334bdec0fb458b26980 Mon Sep 17 00:00:00 2001 From: John Messerly Date: Wed, 19 Aug 2015 08:35:41 -0700 Subject: [PATCH] fixes #292, report async_helper test failures R=vsm@google.com Review URL: https://codereview.chromium.org/1289673007 . --- .../test/browser/language_tests.js | 14 +- .../test/codegen/async_helper.dart | 35 +- .../test/codegen/expect/async_helper.js | 29 +- .../test/codegen/expect/async_helper.txt | 2 +- .../expect/async_helper/async_helper.js | 29 +- .../test/codegen/expect/js_test.txt | 498 +++++++++--------- 6 files changed, 329 insertions(+), 278 deletions(-) diff --git a/pkg/dev_compiler/test/browser/language_tests.js b/pkg/dev_compiler/test/browser/language_tests.js index bc8dc2fea43e..74383ab3636e 100644 --- a/pkg/dev_compiler/test/browser/language_tests.js +++ b/pkg/dev_compiler/test/browser/language_tests.js @@ -8,11 +8,15 @@ let _isolate_helper = dart_library.import('dart/_isolate_helper'); _isolate_helper.startRootIsolate(function() {}, []); + let async_helper = dart_library.import('async_helper/async_helper'); + function dartLanguageTests(tests) { for (const name of tests) { - test(name, () => { - console.debug('Running language test: ' + name); + test(name, (done) => { + async_helper.asyncTestInitialize(done); + console.debug('Running language test: ' + name); dart_library.import('language/' + name).main(); + if (!async_helper.asyncTestStarted) done(); }); } } @@ -48,7 +52,8 @@ 'async_rethrow_test', // TODO(jmesserly): fix errors // 'async_return_types_test', - 'async_switch_test', + // TODO(jmesserly): https://github.com/dart-lang/dev_compiler/issues/294 + // 'async_switch_test', 'async_test', 'async_this_bound_test', 'async_throw_in_catch_test' @@ -63,7 +68,8 @@ //'async_star_cancel_and_throw_in_finally_test', 'async_star_regression_23116_test', 'asyncstar_concat_test', - 'asyncstar_throw_in_catch_test', + // TODO(jmesserly): https://github.com/dart-lang/dev_compiler/issues/294 + // 'asyncstar_throw_in_catch_test', 'asyncstar_yield_test', 'asyncstar_yieldstar_test' ]); diff --git a/pkg/dev_compiler/test/codegen/async_helper.dart b/pkg/dev_compiler/test/codegen/async_helper.dart index 37496bcb76bd..be5014fd6efd 100644 --- a/pkg/dev_compiler/test/codegen/async_helper.dart +++ b/pkg/dev_compiler/test/codegen/async_helper.dart @@ -23,20 +23,29 @@ library async_helper; -// TODO(kustermann): This is problematic because we rely on a working -// 'dart:isolate' (i.e. it is in particular problematic with dart2js). -// It would be nice if we could use a different mechanism for different -// runtimes. -import 'dart:isolate'; - bool _initialized = false; -ReceivePort _port = null; + +typedef void _Action0(); +_Action0 _onAsyncEnd; + int _asyncLevel = 0; Exception _buildException(String msg) { return new Exception('Fatal: $msg. This is most likely a bug in your test.'); } +/// Implementation method called from language_tests.js. +/// Registers the callback that will be used complete the test. +void asyncTestInitialize(_Action0 callback) { + _asyncLevel = 0; + _initialized = false; + _onAsyncEnd = callback; +} + +/// Implementation method called from language_tests.js. +/// Returns true if an asyncTest was started. +bool get asyncTestStarted => _initialized; + /// Call this method before an asynchronous test is created. void asyncStart() { if (_initialized && _asyncLevel == 0) { @@ -44,9 +53,14 @@ void asyncStart() { 'with testing.'); } if (!_initialized) { + if (_onAsyncEnd == null) { + throw _buildException( + 'asyncStart() was called before asyncTestInitialize()'); + } + print('unittest-suite-wait-for-done'); _initialized = true; - _port = new ReceivePort(); + } _asyncLevel++; } @@ -63,8 +77,9 @@ void asyncEnd() { } _asyncLevel--; if (_asyncLevel == 0) { - _port.close(); - _port = null; + var callback = _onAsyncEnd; + _onAsyncEnd = null; + callback(); print('unittest-suite-success'); } } diff --git a/pkg/dev_compiler/test/codegen/expect/async_helper.js b/pkg/dev_compiler/test/codegen/expect/async_helper.js index cd26307aaa04..f63f4fade401 100644 --- a/pkg/dev_compiler/test/codegen/expect/async_helper.js +++ b/pkg/dev_compiler/test/codegen/expect/async_helper.js @@ -1,26 +1,39 @@ dart_library.library('async_helper', null, /* Imports */[ "dart_runtime/dart", - 'dart/core', - 'dart/isolate' + 'dart/core' ], /* Lazy imports */[ -], function(exports, dart, core, isolate) { +], function(exports, dart, core) { 'use strict'; let dartx = dart.dartx; exports._initialized = false; - exports._port = null; + let _Action0 = dart.typedef('_Action0', () => dart.functionType(dart.void, [])); + exports._onAsyncEnd = null; exports._asyncLevel = 0; function _buildException(msg) { return core.Exception.new(`Fatal: ${msg}. This is most likely a bug in your test.`); } dart.fn(_buildException, core.Exception, [core.String]); + function asyncTestInitialize(callback) { + exports._asyncLevel = 0; + exports._initialized = false; + exports._onAsyncEnd = callback; + } + dart.fn(asyncTestInitialize, dart.void, [_Action0]); + dart.copyProperties(exports, { + get asyncTestStarted() { + return exports._initialized; + } + }); function asyncStart() { if (dart.notNull(exports._initialized) && exports._asyncLevel == 0) { dart.throw(_buildException('asyncStart() was called even though we are done ' + 'with testing.')); } if (!dart.notNull(exports._initialized)) { + if (exports._onAsyncEnd == null) { + dart.throw(_buildException('asyncStart() was called before asyncTestInitialize()')); + } core.print('unittest-suite-wait-for-done'); exports._initialized = true; - exports._port = isolate.ReceivePort.new(); } exports._asyncLevel = dart.notNull(exports._asyncLevel) + 1; } @@ -35,8 +48,9 @@ dart_library.library('async_helper', null, /* Imports */[ } exports._asyncLevel = dart.notNull(exports._asyncLevel) - 1; if (exports._asyncLevel == 0) { - exports._port.close(); - exports._port = null; + let callback = exports._onAsyncEnd; + exports._onAsyncEnd = null; + callback(); core.print('unittest-suite-success'); } } @@ -51,6 +65,7 @@ dart_library.library('async_helper', null, /* Imports */[ } dart.fn(asyncTest, dart.void, [dart.functionType(dart.dynamic, [])]); // Exports: + exports.asyncTestInitialize = asyncTestInitialize; exports.asyncStart = asyncStart; exports.asyncEnd = asyncEnd; exports.asyncSuccess = asyncSuccess; diff --git a/pkg/dev_compiler/test/codegen/expect/async_helper.txt b/pkg/dev_compiler/test/codegen/expect/async_helper.txt index 1a06210eadb2..c403b41d4d4b 100644 --- a/pkg/dev_compiler/test/codegen/expect/async_helper.txt +++ b/pkg/dev_compiler/test/codegen/expect/async_helper.txt @@ -1,2 +1,2 @@ // Messages from compiling async_helper.dart -info: [DynamicInvoke] f().then(asyncSuccess) requires dynamic invoke (test/codegen/async_helper.dart, line 93, col 3) +info: [DynamicInvoke] f().then(asyncSuccess) requires dynamic invoke (test/codegen/async_helper.dart, line 108, col 3) diff --git a/pkg/dev_compiler/test/codegen/expect/async_helper/async_helper.js b/pkg/dev_compiler/test/codegen/expect/async_helper/async_helper.js index da7324ec1a4b..efcf46824afa 100644 --- a/pkg/dev_compiler/test/codegen/expect/async_helper/async_helper.js +++ b/pkg/dev_compiler/test/codegen/expect/async_helper/async_helper.js @@ -1,26 +1,39 @@ dart_library.library('async_helper/async_helper', null, /* Imports */[ "dart_runtime/dart", - 'dart/core', - 'dart/isolate' + 'dart/core' ], /* Lazy imports */[ -], function(exports, dart, core, isolate) { +], function(exports, dart, core) { 'use strict'; let dartx = dart.dartx; exports._initialized = false; - exports._port = null; + let _Action0 = dart.typedef('_Action0', () => dart.functionType(dart.void, [])); + exports._onAsyncEnd = null; exports._asyncLevel = 0; function _buildException(msg) { return core.Exception.new(`Fatal: ${msg}. This is most likely a bug in your test.`); } dart.fn(_buildException, core.Exception, [core.String]); + function asyncTestInitialize(callback) { + exports._asyncLevel = 0; + exports._initialized = false; + exports._onAsyncEnd = callback; + } + dart.fn(asyncTestInitialize, dart.void, [_Action0]); + dart.copyProperties(exports, { + get asyncTestStarted() { + return exports._initialized; + } + }); function asyncStart() { if (dart.notNull(exports._initialized) && exports._asyncLevel == 0) { dart.throw(_buildException('asyncStart() was called even though we are done ' + 'with testing.')); } if (!dart.notNull(exports._initialized)) { + if (exports._onAsyncEnd == null) { + dart.throw(_buildException('asyncStart() was called before asyncTestInitialize()')); + } core.print('unittest-suite-wait-for-done'); exports._initialized = true; - exports._port = isolate.ReceivePort.new(); } exports._asyncLevel = dart.notNull(exports._asyncLevel) + 1; } @@ -35,8 +48,9 @@ dart_library.library('async_helper/async_helper', null, /* Imports */[ } exports._asyncLevel = dart.notNull(exports._asyncLevel) - 1; if (exports._asyncLevel == 0) { - exports._port.close(); - exports._port = null; + let callback = exports._onAsyncEnd; + exports._onAsyncEnd = null; + callback(); core.print('unittest-suite-success'); } } @@ -51,6 +65,7 @@ dart_library.library('async_helper/async_helper', null, /* Imports */[ } dart.fn(asyncTest, dart.void, [dart.functionType(dart.dynamic, [])]); // Exports: + exports.asyncTestInitialize = asyncTestInitialize; exports.asyncStart = asyncStart; exports.asyncEnd = asyncEnd; exports.asyncSuccess = asyncSuccess; diff --git a/pkg/dev_compiler/test/codegen/expect/js_test.txt b/pkg/dev_compiler/test/codegen/expect/js_test.txt index ccced3595a6d..0e07ee865a60 100644 --- a/pkg/dev_compiler/test/codegen/expect/js_test.txt +++ b/pkg/dev_compiler/test/codegen/expect/js_test.txt @@ -1,323 +1,323 @@ // Messages from compiling js_test.dart -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 97, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 269, col 7) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 389, col 3) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 304, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 367, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 562, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 531, col 7) -severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart, line 141, col 39) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 632, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 598, col 9) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 57, col 5) -severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 675, col 24) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 370, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 234, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 669, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 136, col 7) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 363, col 53) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 321, col 5) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 612, col 7) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 512, col 5) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 198, col 5) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 693, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 41, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 234, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 516, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 136, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 669, col 9) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 321, col 5) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 363, col 53) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 469, col 7) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 75, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 288, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 466, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 167, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 270, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 254, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 563, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 119, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 116, col 5) -severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart, line 187, col 17) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 618, col 9) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 402, col 13) -severe: [AnalyzerMessage] The name 'Blob' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 618, col 24) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 41, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 693, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 531, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 562, col 7) +severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 675, col 24) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 370, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 632, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 598, col 9) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 57, col 5) +severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart, line 141, col 39) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 367, col 5) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 389, col 3) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 304, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 97, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 269, col 7) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 355, col 40) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 685, col 9) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 499, col 7) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 355, col 40) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 682, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 287, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 220, col 7) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 581, col 7) severe: [AnalyzerMessage] Undefined class 'CanvasElement' (test/codegen/js_test.dart, line 694, col 9) severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 347, col 48) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 220, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 597, col 9) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 362, col 54) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 639, col 5) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 90, col 5) -severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 280, col 17) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 251, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 560, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 162, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 401, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 339, col 7) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 339, col 43) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 665, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 582, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 133, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 682, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 287, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 618, col 9) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 402, col 13) +severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart, line 187, col 17) +severe: [AnalyzerMessage] The name 'Blob' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 618, col 24) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 466, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 167, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 270, col 7) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 75, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 288, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 469, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 116, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 563, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 119, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 254, col 7) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 214, col 5) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 149, col 5) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 649, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 435, col 7) -severe: [AnalyzerMessage] The name 'Event' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 603, col 39) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 96, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 634, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 498, col 7) -severe: [AnalyzerMessage] The name 'Window' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 582, col 37) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 200, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 481, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 515, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 401, col 9) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 162, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 582, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 133, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 665, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 339, col 7) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 339, col 43) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 560, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 251, col 7) +severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 280, col 17) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 597, col 9) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 362, col 54) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 90, col 5) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 639, col 5) +severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 592, col 31) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 152, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 418, col 5) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 346, col 47) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 528, col 5) +severe: [AnalyzerMessage] The method 'same' is not defined for the class 'Color' (test/codegen/js_test.dart, line 225, col 64) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 355, col 7) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 399, col 5) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 182, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 44, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 515, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 481, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 545, col 7) +severe: [AnalyzerMessage] The method 'equals' is not defined for the class 'Color' (test/codegen/js_test.dart, line 52, col 18) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 557, col 5) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 530, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 324, col 7) -severe: [AnalyzerMessage] The method 'equals' is not defined for the class 'Color' (test/codegen/js_test.dart, line 52, col 18) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 545, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 152, col 7) -severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 592, col 31) -severe: [AnalyzerMessage] The method 'same' is not defined for the class 'Color' (test/codegen/js_test.dart, line 225, col 64) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 355, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 528, col 5) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 418, col 5) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 346, col 47) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 290, col 38) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 342, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 634, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 96, col 7) +severe: [AnalyzerMessage] The name 'Event' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 603, col 39) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 200, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 498, col 7) +severe: [AnalyzerMessage] The name 'Window' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 582, col 37) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 435, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 496, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 230, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 462, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 352, col 7) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 338, col 42) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 479, col 7) +severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 586, col 22) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 230, col 50) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 585, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 338, col 7) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 299, col 34) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 419, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 299, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 391, col 5) +severe: [AnalyzerMessage] The name 'DivElement' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 624, col 24) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 180, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 613, col 9) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 544, col 7) severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 39, col 3) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 250, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 180, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 92, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 281, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 342, col 5) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 290, col 38) severe: [AnalyzerMessage] Undefined name 'isNoSuchMethodError' (test/codegen/js_test.dart, line 113, col 51) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 266, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 419, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 391, col 5) -severe: [AnalyzerMessage] The name 'DivElement' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 624, col 24) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 299, col 7) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 338, col 42) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 299, col 34) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 585, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 338, col 7) -severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 586, col 22) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 230, col 50) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 479, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 496, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 230, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 462, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 352, col 7) -severe: [AnalyzerMessage] Undefined name 'isNoSuchMethodError' (test/codegen/js_test.dart, line 230, col 58) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 384, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 497, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 181, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 448, col 7) -severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 392, col 49) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 652, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 216, col 7) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 113, col 43) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 132, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 559, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 155, col 5) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 358, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 353, col 7) -severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 658, col 24) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 510, col 3) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 92, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 281, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 139, col 5) severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 587, col 9) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 203, col 5) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 139, col 5) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 185, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 195, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 302, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 609, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 298, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 233, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 155, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 559, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 132, col 7) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 113, col 43) +severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 658, col 24) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 510, col 3) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 353, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 358, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 652, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 448, col 7) +severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 392, col 49) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 216, col 7) +severe: [AnalyzerMessage] Undefined name 'isNoSuchMethodError' (test/codegen/js_test.dart, line 230, col 58) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 497, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 181, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 384, col 7) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 289, col 39) +severe: [AnalyzerMessage] Undefined name 'throws' (test/codegen/js_test.dart, line 410, col 58) +severe: [AnalyzerMessage] The name 'Window' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 592, col 49) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 95, col 5) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 364, col 45) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 279, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 364, col 7) +severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 597, col 28) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 495, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 229, col 7) -severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 597, col 28) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 233, col 5) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 298, col 35) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 616, col 7) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 285, col 5) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 298, col 35) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 95, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 279, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 364, col 7) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 364, col 45) -severe: [AnalyzerMessage] Undefined name 'throws' (test/codegen/js_test.dart, line 410, col 58) -severe: [AnalyzerMessage] The name 'Window' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 592, col 49) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 289, col 39) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 578, col 9) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 423, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 91, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 71, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 219, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 280, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 629, col 9) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 76, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 113, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 195, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 302, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 298, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 609, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 318, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 593, col 9) severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart, line 172, col 17) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 129, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 318, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 113, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 337, col 7) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 572, col 3) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 674, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 146, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 375, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 175, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 52, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 622, col 7) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 363, col 45) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 261, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 429, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 170, col 5) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 274, col 5) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 521, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 629, col 9) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 219, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 280, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 76, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 71, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 578, col 9) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 423, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 91, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 49, col 5) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 553, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 363, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 49, col 5) -severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 603, col 21) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 330, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 378, col 7) severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 506, col 11) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 413, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 191, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 112, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 144, col 5) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 355, col 48) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 504, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 316, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 297, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 525, col 7) -severe: [AnalyzerMessage] The name 'Event' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 629, col 25) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 554, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 378, col 7) +severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 603, col 21) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 330, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 261, col 7) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 363, col 45) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 622, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 521, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 274, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 429, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 170, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 52, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 175, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 146, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 375, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 674, col 7) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 572, col 3) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 460, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 335, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 677, col 9) +severe: [AnalyzerMessage] Undefined class 'Blob' (test/codegen/js_test.dart, line 667, col 28) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 111, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 192, col 7) +severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart, line 180, col 17) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 396, col 7) severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 347, col 40) -severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart, line 180, col 17) -severe: [AnalyzerMessage] The name 'Document' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 613, col 39) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 592, col 9) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 550, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 335, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 460, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 192, col 7) -severe: [AnalyzerMessage] Undefined class 'Blob' (test/codegen/js_test.dart, line 667, col 28) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 111, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 677, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 260, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 472, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 172, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 523, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 439, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 240, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 223, col 5) -severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 62, col 20) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 100, col 5) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 88, col 3) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 534, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 276, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 657, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 604, col 11) +severe: [AnalyzerMessage] The name 'Document' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 613, col 39) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 297, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 504, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 316, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 554, col 7) +severe: [AnalyzerMessage] The name 'Event' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 629, col 25) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 525, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 144, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 112, col 7) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 355, col 48) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 485, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 394, col 7) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 339, col 51) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 537, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 125, col 7) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 339, col 51) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 394, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 485, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 362, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 644, col 9) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 641, col 7) severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 362, col 46) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 644, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 538, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 82, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 159, col 7) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 574, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 505, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 442, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 123, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 395, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 333, col 7) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 245, col 3) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 362, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 534, col 5) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 88, col 3) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 100, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 657, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 604, col 11) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 276, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 223, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 240, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 523, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 439, col 5) +severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color' (test/codegen/js_test.dart, line 62, col 20) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 260, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 172, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 472, col 9) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 409, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 456, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 238, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 208, col 7) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 257, col 5) severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 346, col 39) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 624, col 9) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 245, col 3) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 395, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 333, col 7) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 212, col 3) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 459, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 347, col 7) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 212, col 3) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 409, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 208, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 238, col 5) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 456, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 603, col 11) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 624, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 442, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 123, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 505, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 82, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 538, col 7) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 574, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 159, col 7) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 299, col 42) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 308, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 68, col 5) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 338, col 50) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 290, col 30) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 102, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 290, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 345, col 7) +severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart, line 200, col 39) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 63, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 698, col 9) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 627, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 501, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 536, col 7) severe: [AnalyzerMessage] Undefined name 'window' (test/codegen/js_test.dart, line 650, col 24) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 228, col 5) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 187, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 361, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 445, col 5) -severe: [AnalyzerMessage] The method 'same' is not defined for the class 'Color' (test/codegen/js_test.dart, line 71, col 30) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 603, col 11) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 476, col 5) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 410, col 7) -severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart, line 200, col 39) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 63, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 536, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 501, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 698, col 9) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 627, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 290, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 345, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 308, col 7) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 299, col 42) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 102, col 7) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 290, col 30) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 68, col 5) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 338, col 50) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 225, col 7) +severe: [AnalyzerMessage] The method 'same' is not defined for the class 'Color' (test/codegen/js_test.dart, line 71, col 30) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 445, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 576, col 7) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 432, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 381, col 5) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 350, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 239, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 346, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 80, col 9) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 178, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 660, col 9) +severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 541, col 5) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 567, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 206, col 9) severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 454, col 3) severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 408, col 3) severe: [AnalyzerMessage] Undefined class 'CustomEvent' (test/codegen/js_test.dart, line 683, col 28) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 206, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 225, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 310, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 188, col 7) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 247, col 5) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 264, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 310, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 541, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 660, col 9) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 178, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 567, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 80, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 346, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 576, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 432, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 239, col 7) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 350, col 5) -severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 381, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 518, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 500, col 7) -severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 107, col 3) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 120, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 289, col 7) -severe: [AnalyzerMessage] The name 'ImageData' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 634, col 24) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 619, col 9) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 547, col 7) -severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 298, col 43) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 306, col 7) -severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 289, col 31) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 293, col 4) severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 364, col 53) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 109, col 5) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 470, col 7) -severe: [AnalyzerMessage] The name 'Node' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 597, col 46) -severe: [AnalyzerMessage] The name 'CanvasRenderingContext2D' is not a type and cannot be used in an 'as' expression (test/codegen/js_test.dart, line 695, col 46) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 141, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 306, col 7) +severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.dart, line 298, col 43) +severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Color' (test/codegen/js_test.dart, line 289, col 31) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 289, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 120, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 619, col 9) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 547, col 7) +severe: [AnalyzerMessage] The name 'ImageData' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 634, col 24) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 518, col 7) +severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color' (test/codegen/js_test.dart, line 107, col 3) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 500, col 7) +severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 694, col 32) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 327, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 344, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 372, col 7) severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 62, col 7) severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color' (test/codegen/js_test.dart, line 313, col 6) -severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart, line 694, col 32) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 344, col 7) -severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 327, col 7) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 141, col 7) +severe: [AnalyzerMessage] The name 'CanvasRenderingContext2D' is not a type and cannot be used in an 'as' expression (test/codegen/js_test.dart, line 695, col 46) +severe: [AnalyzerMessage] The name 'Node' is not defined and cannot be used in an 'is' expression (test/codegen/js_test.dart, line 597, col 46) +severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Color' (test/codegen/js_test.dart, line 470, col 7) severe: [AnalyzerMessage] Target of URI does not exist: 'minitest.dart' (test/codegen/js_test.dart, line 11, col 8) severe: [AnalyzerMessage] Target of URI does not exist: 'dom.dart' (test/codegen/js_test.dart, line 10, col 8) info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to type JsFunction (test/codegen/js_test.dart, line 16, col 43)