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

Side by Side Diff: tests/lib_strong/html/debugger_test.dart

Issue 2957593002: Spelling fixes e to i. (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 /// Debugger custom formatter tests. 1 /// Debugger custom formatter tests.
2 /// If the tests fail, paste the expected output into the [expectedGolden] 2 /// If the tests fail, paste the expected output into the [expectedGolden]
3 /// string literal in this file and audit the diff to ensure changes are 3 /// string literal in this file and audit the diff to ensure changes are
4 /// expected. 4 /// expected.
5 /// 5 ///
6 /// Currently only DDC supports debugging objects with custom formatters 6 /// Currently only DDC supports debugging objects with custom formatters
7 /// but it is reasonable to add support to Dart2JS in the future. 7 /// but it is reasonable to add support to Dart2JS in the future.
8 @JS() 8 @JS()
9 library debugger_test; 9 library debugger_test;
10 10
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 } 295 }
296 addFormatterGoldens('StackTrace', stack); 296 addFormatterGoldens('StackTrace', stack);
297 test('hasBody', () { 297 test('hasBody', () {
298 expect(_devtoolsFormatter.hasBody(stack, null), isTrue); 298 expect(_devtoolsFormatter.hasBody(stack, null), isTrue);
299 }); 299 });
300 }); 300 });
301 301
302 group('Class formatting', () { 302 group('Class formatting', () {
303 addNestedFormatterGoldens('TestClass', new TestClass(17)); 303 addNestedFormatterGoldens('TestClass', new TestClass(17));
304 addNestedFormatterGoldens('MouseEvent', new MouseEvent("click")); 304 addNestedFormatterGoldens('MouseEvent', new MouseEvent("click"));
305 // This is a good class to test as it has statics and a deep inheritance hei rarchy 305 // This is a good class to test as it has statics and a deep inheritance hie rarchy
306 addNestedFormatterGoldens('HttpRequest', new HttpRequest()); 306 addNestedFormatterGoldens('HttpRequest', new HttpRequest());
307 }); 307 });
308 308
309 group('Generics formatting', () { 309 group('Generics formatting', () {
310 addNestedFormatterGoldens( 310 addNestedFormatterGoldens(
311 'TestGenericClass', new TestGenericClass<int, List>(42)); 311 'TestGenericClass', new TestGenericClass<int, List>(42));
312 addNestedFormatterGoldens( 312 addNestedFormatterGoldens(
313 'TestGenericClassJSInterop', 313 'TestGenericClassJSInterop',
314 new TestGenericClass<ExampleJSClass<String>, int>( 314 new TestGenericClass<ExampleJSClass<String>, int>(
315 new ExampleJSClass("Hello"))); 315 new ExampleJSClass("Hello")));
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 if (result) { 348 if (result) {
349 print("Copy to clipboard successful"); 349 print("Copy to clipboard successful");
350 } else { 350 } else {
351 print("Copy to clipboard failed"); 351 print("Copy to clipboard failed");
352 } 352 }
353 }); 353 });
354 } 354 }
355 expect(actualStr == golden, isTrue); 355 expect(actualStr == golden, isTrue);
356 }); 356 });
357 } 357 }
OLDNEW
« no previous file with comments | « tests/lib_strong/async/zone_bind_callback_unary_test.dart ('k') | tests/lib_strong/html/element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698