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

Side by Side Diff: sky/tests/framework/basic.sky

Issue 1160763004: Add support for testing content in SkyView (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
OLDNEW
1 <import src="../resources/run-after-display.sky" /> 1 <import src="../resources/run-after-display.sky" />
2 <script> 2 <script>
3 import 'basic.dart'; 3 import '../resources/dom_serializer.dart';
4 import 'dart:sky'; 4 import 'dart:sky';
5 import '../resources/dom_serializer.dart';
6 import 'dart:sky.internals' as internals; 5 import 'dart:sky.internals' as internals;
6 import 'resources/basic.dart';
7 7
8 void main() { 8 void main() {
9 new TestApp(); 9 new TestApp();
10 runAfterDisplay(() { 10 runAfterDisplay(() {
11 document.firstChild.remove(); 11 document.firstChild.remove();
12 document.firstChild.remove(); 12 document.firstChild.remove();
13 var result = serializeNode(document); 13 var result = serializeNode(document);
14 try { 14 try {
15 internals.notifyTestComplete(result); 15 internals.notifyTestComplete(result);
16 } catch (e) { 16 } catch (e) {
17 print(e); 17 print(e);
18 print(result); 18 print(result);
19 } 19 }
20 }); 20 });
21 } 21 }
22 </script> 22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698