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

Unified Diff: packages/smoke/test/codegen/end_to_end_test.dart

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
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 | « packages/smoke/test/codegen/common.dart ('k') | packages/smoke/test/codegen/generator_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/smoke/test/codegen/end_to_end_test.dart
diff --git a/packages/smoke/test/codegen/end_to_end_test.dart b/packages/smoke/test/codegen/end_to_end_test.dart
index 62999a8039342a1127d2c782576008dee1f078e7..174d61a73bf0b958b3501d3bac49f7e84e93d771 100644
--- a/packages/smoke/test/codegen/end_to_end_test.dart
+++ b/packages/smoke/test/codegen/end_to_end_test.dart
@@ -15,13 +15,14 @@ import 'dart:io';
import 'package:analyzer/src/generated/element.dart';
import 'package:smoke/codegen/generator.dart';
import 'package:smoke/codegen/recorder.dart';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
import 'package:path/path.dart' as path;
import 'testing_resolver_utils.dart' show initAnalyzer;
-void main(List<String> args) {
- final updateStaticTest = args.length > 0 && args[0] == '--update_static_test';
+void main([List<String> args]) {
+ final updateStaticTest =
+ args != null && args.length > 0 && args[0] == '--update_static_test';
test('static_test is up to date', () {
var scriptPath = path.fromUri(Platform.script);
@@ -136,7 +137,7 @@ void main(List<String> args) {
staticTestFile.writeAsStringSync(code);
print('static_test.dart has been updated.');
}
- });
+ }, skip: 'https://github.com/dart-lang/smoke/issues/26');
}
String _createEntrypoint(SmokeCodeGenerator generator) {
« no previous file with comments | « packages/smoke/test/codegen/common.dart ('k') | packages/smoke/test/codegen/generator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698