forked from firka/flutter
Make automated_tests mostly ignore extraneous error messages (#14170)
* Ignore extraneous error messages outside of one skipped test * Fix analysis error
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[^═]*(this line contains the test framework's output with the clock and so forth)?
|
||||
<<skip until matching line>>
|
||||
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
|
||||
The following message was thrown running a test:
|
||||
Who lives, who dies, who tells your story\?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[^═]*(this line contains the test framework's output with the clock and so forth)?
|
||||
<<skip until matching line>>
|
||||
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
|
||||
The following assertion was thrown running a test:
|
||||
Guarded function conflict\. You must use "await" with all Future-returning test APIs\.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
[^═]*(this line contains the test framework's output with the clock and so forth)?
|
||||
<<skip until matching line>>
|
||||
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
|
||||
The following assertion was thrown running a test:
|
||||
Guarded function conflict\. You must use "await" with all Future-returning test APIs\.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[^═]*(this line contains the test framework's output with the clock and so forth)?
|
||||
<<skip until matching line>>
|
||||
══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
|
||||
The following message was thrown:
|
||||
An animation is still running even after the widget tree was disposed.
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
[0-9]+:[0-9]+ [+]0: - A trivial widget test
|
||||
[0-9]+:[0-9]+ [+]1: All tests passed!
|
||||
@@ -0,0 +1,9 @@
|
||||
// Copyright 2017 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('A trivial widget test', (WidgetTester tester) async {});
|
||||
}
|
||||
Reference in New Issue
Block a user