Unverified Commit a6af2ca6 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Run resident_runner_test in Dart 2 mode (#21288)

parent 1593b981
...@@ -44,14 +44,12 @@ class TestRunner extends ResidentRunner { ...@@ -44,14 +44,12 @@ class TestRunner extends ResidentRunner {
void main() { void main() {
TestRunner createTestRunner() { TestRunner createTestRunner() {
// TODO(jacobr): make these tests run with `previewDart2: true` and // TODO(jacobr): make these tests run with `trackWidgetCreation: true` as
// `trackWidgetCreation: true` as well as the default flags. // well as the default flags.
// Currently the TestRunner is not properly configured to be able to run
// with `previewDart2: true` due to missing resources.
return new TestRunner( return new TestRunner(
<FlutterDevice>[new FlutterDevice( <FlutterDevice>[new FlutterDevice(
new MockDevice(), new MockDevice(),
previewDart2: false, previewDart2: true,
trackWidgetCreation: false, trackWidgetCreation: false,
)], )],
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment