| Index: sky/tests/examples/styled_text.dart
|
| diff --git a/sky/tests/examples/stocks.dart b/sky/tests/examples/styled_text.dart
|
| similarity index 56%
|
| copy from sky/tests/examples/stocks.dart
|
| copy to sky/tests/examples/styled_text.dart
|
| index 6d014daf0533250a15d62401ce53dabb77835c10..137ec0cd9402126d23b908944bdb87cf12099b3e 100644
|
| --- a/sky/tests/examples/stocks.dart
|
| +++ b/sky/tests/examples/styled_text.dart
|
| @@ -6,26 +6,13 @@ import 'dart:async';
|
|
|
| import 'package:sky/widgets/widget.dart';
|
|
|
| -import '../../examples/stocks2/lib/stock_app.dart';
|
| +import '../../examples/widgets/styled_text.dart';
|
| import '../resources/display_list.dart';
|
|
|
| -class TestStocksApp extends StocksApp {
|
| -
|
| - Completer _completer = new Completer();
|
| - Future get isMounted => _completer.future;
|
| -
|
| - void didMount() {
|
| - super.didMount();
|
| - _completer.complete();
|
| - }
|
| -}
|
| -
|
| main() async {
|
| TestRenderView testRenderView = new TestRenderView();
|
| - TestStocksApp app = new TestStocksApp();
|
| + StyledTextApp app = new StyledTextApp();
|
| runApp(app, renderViewOverride: testRenderView);
|
| await testRenderView.checkFrame();
|
| - await app.isMounted;
|
| - await testRenderView.checkFrame();
|
| testRenderView.endTest();
|
| }
|
|
|