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

Unified Diff: pkg/analysis_server/test/utils.dart

Issue 1272273003: (TBR) Add missed file (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/utils.dart
diff --git a/utils/tests/testrunner/non_browser_tests/non_browser_toast.dart b/pkg/analysis_server/test/utils.dart
old mode 100755
new mode 100644
similarity index 54%
copy from utils/tests/testrunner/non_browser_tests/non_browser_toast.dart
copy to pkg/analysis_server/test/utils.dart
index fa32af371bfb738b947a2e9188a4309068411380..2ca53b757dcc3bb13a19410b6eac033adea0cffb
--- a/utils/tests/testrunner/non_browser_tests/non_browser_toast.dart
+++ b/pkg/analysis_server/test/utils.dart
@@ -2,15 +2,13 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library testrunner_test;
+library analysis_server.test.utils;
+import 'package:analyzer/src/generated/java_io.dart';
+import 'package:path/path.dart' as path;
import 'package:unittest/unittest.dart';
-main() {
- group('foo', () {
- test('bar', () {
- expect(true, isTrue);
- });
- });
+void initializeTestEnvironment() {
+ groupSep = ' | ';
+ JavaFile.pathContext = path.posix;
}
-
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698