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

Unified Diff: pkg/fasta/test/literals.dart.direct.expect

Issue 2631613003: Add Fasta tests. (Closed)
Patch Set: Address review comments. Created 3 years, 11 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 | « pkg/fasta/test/literals.dart.dartk.expect ('k') | pkg/fasta/test/literals.dart.outline.expect » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fasta/test/literals.dart.direct.expect
diff --git a/pkg/fasta/test/literals.dart.direct.expect b/pkg/fasta/test/literals.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..bd49a1d92356fff0adae38aac5d78d43c7d4ca39
--- /dev/null
+++ b/pkg/fasta/test/literals.dart.direct.expect
@@ -0,0 +1,43 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+static method testString() → dynamic {
+ core::print("a");
+}
+static method testInt() → dynamic {
+ core::print(1);
+}
+static method testBool() → dynamic {
+ core::print(true);
+ core::print(false);
+}
+static method testDouble() → dynamic {
+ core::print(1.0);
+}
+static method testNull() → dynamic {
+ core::print(null);
+}
+static method testList() → dynamic {
+ core::print(<dynamic>[]);
+ core::print(<dynamic>["a", "b"]);
+}
+static method testMap() → dynamic {
+ core::print(<dynamic, dynamic>{});
+ core::print(<dynamic, dynamic>{"a": "b"});
+}
+static method testSymbol() → dynamic {
+ core::print(#fisk);
+ core::print(#_fisk);
+ core::print(#fisk.hest.ko);
+}
+static method main() → dynamic {
+ self::testString();
+ self::testInt();
+ self::testBool();
+ self::testDouble();
+ self::testNull();
+ self::testList();
+ self::testMap();
+ self::testSymbol();
+}
« no previous file with comments | « pkg/fasta/test/literals.dart.dartk.expect ('k') | pkg/fasta/test/literals.dart.outline.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698