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

Unified Diff: LayoutTests/dart/dom/Console.dart

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 years 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 | « LayoutTests/dart/dom/.gitignore ('k') | LayoutTests/dart/dom/Console.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/dom/Console.dart
diff --git a/LayoutTests/dart/dom/Console.dart b/LayoutTests/dart/dom/Console.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8e6a5e5fefad8ef34c1154c0b96456f86775bcf5
--- /dev/null
+++ b/LayoutTests/dart/dom/Console.dart
@@ -0,0 +1,17 @@
+import "package:unittest/unittest.dart";
+import "package:unittest/html_config.dart";
+import 'dart:html';
+
+main() {
+ useHtmlConfiguration(true);
+ test('Console', () {
+ window.console.log("Test message.");
+ window.console.log(42);
+ window.console.log(new TestObjectWithToString());
+ window.console.log(true);
+ });
+}
+
+class TestObjectWithToString {
+ String toString() => "TestObject instance";
+}
« no previous file with comments | « LayoutTests/dart/dom/.gitignore ('k') | LayoutTests/dart/dom/Console.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698