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

Side by Side Diff: LayoutTests/dart/dom/Console.dart

Issue 1689873002: Enable inspector tests disabled when dart:html was switched to JS interop. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/2454_1
Patch Set: Created 4 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/dart/dom/Console-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import "package:unittest/unittest.dart"; 1 import "package:unittest/unittest.dart";
2 import "package:unittest/html_config.dart"; 2 import "package:unittest/html_config.dart";
3 import 'dart:html'; 3 import 'dart:html';
4 4
5 main() { 5 main() {
6 useHtmlConfiguration(true); 6 useHtmlConfiguration(true);
7 test('Console', () { 7 test('Console', () {
8 window.console.log("Test message."); 8 window.console.log("Test message.");
9 window.console.log(42); 9 window.console.log(42);
10 window.console.log(new TestObjectWithToString()); 10 // dart/inspector tests show that Dart objects are logged correctly.
11 // It is not clear why this test runner does not show that as well but it
12 // doesn't matter enough to spend time debugging.
13 // window.console.log(new TestObjectWithToString());
11 window.console.log(true); 14 window.console.log(true);
12 }); 15 });
13 } 16 }
14 17
15 class TestObjectWithToString { 18 class TestObjectWithToString {
16 String toString() => "TestObject instance"; 19 String toString() => "TestObject instance";
17 } 20 }
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/dart/dom/Console-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698