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

Unified Diff: sky/tests/framework/basic.sky

Issue 1038583003: [Effen] Add a basic layout test (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tests/framework/basic.dart ('k') | sky/tests/framework/basic-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/framework/basic.sky
diff --git a/sky/tests/framework/basic.sky b/sky/tests/framework/basic.sky
new file mode 100644
index 0000000000000000000000000000000000000000..1776e0a643ee801ecf7e4ab5a7656f0c92e1da38
--- /dev/null
+++ b/sky/tests/framework/basic.sky
@@ -0,0 +1,13 @@
+<script>
+import 'basic.dart';
+import 'dart:sky';
+import '../resources/dom_serializer.dart';
+import 'dart:sky.internals' as internals;
+
+void main() {
+ new TestApp();
+ window.requestAnimationFrame((_) {
abarth-chromium 2015/03/25 17:39:14 Why requestAnimationFrame? I guess this is to get
+ internals.notifyTestComplete(serializeNode(document.lastChild));
+ });
+}
+</script>
« no previous file with comments | « sky/tests/framework/basic.dart ('k') | sky/tests/framework/basic-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698