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

Side by Side Diff: tests/html/audiocontext_test.dart

Issue 231413003: using unittest via package import (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 6 years, 8 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 | « tests/html/audiobuffersourcenode_test.dart ('k') | tests/html/audioelement_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library AudioContextTest; 1 library AudioContextTest;
2 import '../../pkg/unittest/lib/unittest.dart'; 2 import 'package:unittest/unittest.dart';
3 import '../../pkg/unittest/lib/html_individual_config.dart'; 3 import 'package:unittest/html_individual_config.dart';
4 import 'dart:html'; 4 import 'dart:html';
5 import 'dart:typed_data'; 5 import 'dart:typed_data';
6 import 'dart:web_audio'; 6 import 'dart:web_audio';
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 main() { 9 main() {
10 10
11 useHtmlIndividualConfiguration(); 11 useHtmlIndividualConfiguration();
12 12
13 var isAudioContext = 13 var isAudioContext =
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 expect(() => oscillator.type = 7, throws); 104 expect(() => oscillator.type = 7, throws);
105 expect(oscillator.type, equals('triangle')); 105 expect(oscillator.type, equals('triangle'));
106 106
107 expect(() => oscillator.type = ['heap object not a string'], throws); 107 expect(() => oscillator.type = ['heap object not a string'], throws);
108 expect(oscillator.type, equals('triangle')); 108 expect(oscillator.type, equals('triangle'));
109 } 109 }
110 }); 110 });
111 }); 111 });
112 } 112 }
OLDNEW
« no previous file with comments | « tests/html/audiobuffersourcenode_test.dart ('k') | tests/html/audioelement_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698