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

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

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
Index: sky/tests/framework/basic.dart
diff --git a/sky/tests/framework/basic.dart b/sky/tests/framework/basic.dart
new file mode 100644
index 0000000000000000000000000000000000000000..eb63574ff3dea30d2e09d1c709915846ee49318b
--- /dev/null
+++ b/sky/tests/framework/basic.dart
@@ -0,0 +1,16 @@
+import 'dart:sky';
+
+import 'package:sky/framework/fn.dart';
+
+class TestApp extends App {
+ Node build() {
+ return new Container(
+ inlineStyle: 'background-color: green',
+ children: [
+ new Text('I am Text'),
+ new Image(src: 'foo.jpg'),
+ new Anchor(href: 'http://www.google.com')
+ ]
+ );
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698