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

Unified Diff: utils/tests/import_mapper/import_mapper_tests.dart

Issue 9956037: Simplify tests under utils/tests to follow StandardTestSuite convention. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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: utils/tests/import_mapper/import_mapper_tests.dart
diff --git a/utils/tests/import_mapper/src/import_mapper_tests.dart b/utils/tests/import_mapper/import_mapper_tests.dart
similarity index 76%
rename from utils/tests/import_mapper/src/import_mapper_tests.dart
rename to utils/tests/import_mapper/import_mapper_tests.dart
index f7f007b957ec94efbcdde21a3eb5de6f3b432cf1..d75801bbcc0bf5cc3e6ddac82a79173e2e924d3d 100644
--- a/utils/tests/import_mapper/src/import_mapper_tests.dart
+++ b/utils/tests/import_mapper/import_mapper_tests.dart
@@ -4,17 +4,17 @@
#library('import_mapper_tests');
-#import('../../../import_mapper/import_mapper.dart', prefix: 'mapper');
+#import('../../import_mapper/import_mapper.dart', prefix: 'mapper');
// TODO(rnystrom): Better path to unittest.
-#import('../../../../lib/unittest/unittest_vm.dart');
+#import('../../../lib/unittest/unittest_vm.dart');
main() {
group('generateImportMap', () {
test('walks import graph', () {
final expected = { 'b.dart': 'b.dart', 'c.dart': 'c.dart' };
final actual = mapper.generateImportMap(
- 'utils/tests/import_mapper/src/c.dart',
+ 'utils/tests/import_mapper/c.dart',
(context, name) => name);
expect(actual).equals(expected);
});

Powered by Google App Engine
This is Rietveld 408576698