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

Unified Diff: pkg/dev_compiler/test/codegen/lib/html/audiobuffersourcenode_test.dart

Issue 2413073002: Start cleaning up the HTML tests. (Closed)
Patch Set: Unfork expect.dart. Created 4 years, 2 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
Index: pkg/dev_compiler/test/codegen/lib/html/audiobuffersourcenode_test.dart
diff --git a/pkg/dev_compiler/test/codegen/lib/html/audiobuffersourcenode_test.dart b/pkg/dev_compiler/test/codegen/lib/html/audiobuffersourcenode_test.dart
index c55c08c03f8c264c63cb23c3e67020d74c2a9be8..237aa3ce6766d7453422184b1c1562cf7a437d57 100644
--- a/pkg/dev_compiler/test/codegen/lib/html/audiobuffersourcenode_test.dart
+++ b/pkg/dev_compiler/test/codegen/lib/html/audiobuffersourcenode_test.dart
@@ -1,21 +1,17 @@
-library AudioBufferSourceNodeTest;
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_individual_config.dart';
import 'dart:web_audio';
-main() {
-
- useHtmlIndividualConfiguration();
+import 'package:minitest/minitest.dart';
+main() {
group('supported', () {
test('supported', () {
- expect(AudioContext.supported, true);
+ expect(AudioContext.supported, isTrue);
});
});
group('functional', () {
test('createBuffer', () {
- if(AudioContext.supported) {
+ if (AudioContext.supported) {
var ctx = new AudioContext();
AudioBufferSourceNode node = ctx.createBufferSource();
expect(node is AudioBufferSourceNode, isTrue);
« no previous file with comments | « pkg/dev_compiler/test/codegen/expect.dart ('k') | pkg/dev_compiler/test/codegen/lib/html/audiocontext_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698