Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: sky/tests/widgets/dialog.dart

Issue 1201273002: Add a confirmation dialog to stock app Settings page and style it by default (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/tests/widgets/buttons-expected.txt ('k') | sky/tests/widgets/dialog-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import 'package:sky/widgets/basic.dart'; 5 import 'package:sky/widgets/basic.dart';
6 import 'package:sky/widgets/dialog.dart'; 6 import 'package:sky/widgets/dialog.dart';
7 7
8 import '../resources/display_list.dart'; 8 import '../resources/display_list.dart';
9 9
10 main() async { 10 main() async {
11 WidgetTester tester = new WidgetTester(); 11 WidgetTester tester = new WidgetTester();
12 12
13 await tester.test(() { 13 await tester.test(() {
14 return new Dialog( 14 return new Dialog(
15 title: new Text("I am a title"), 15 title: new Text("I am a title"),
16 content: new Text("I am some content"), 16 content: new Text("I am some content"),
17 actions: new Text("I am some actions") 17 actions: [new Text("I am some actions")]
18 ); 18 );
19 }); 19 });
20 20
21 tester.endTest(); 21 tester.endTest();
22 } 22 }
OLDNEW
« no previous file with comments | « sky/tests/widgets/buttons-expected.txt ('k') | sky/tests/widgets/dialog-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698