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

Unified Diff: pkg/front_end/test/fasta/uri_translator_test.dart

Issue 2982593002: Rename TranslateUri to UriTranslator, rename files, extract Impl. (Closed)
Patch Set: Created 3 years, 5 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/front_end/test/fasta/uri_translator_test.dart
diff --git a/pkg/front_end/test/fasta/translate_uri_test.dart b/pkg/front_end/test/fasta/uri_translator_test.dart
similarity index 85%
rename from pkg/front_end/test/fasta/translate_uri_test.dart
rename to pkg/front_end/test/fasta/uri_translator_test.dart
index 139936d51552961b3a0e3a21922d8f2388c720a8..1736b13fb61dc9be3866752592ae6e4e669e9eef 100644
--- a/pkg/front_end/test/fasta/translate_uri_test.dart
+++ b/pkg/front_end/test/fasta/uri_translator_test.dart
@@ -2,20 +2,20 @@
// 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.
-import 'package:front_end/src/fasta/translate_uri.dart';
+import 'package:front_end/src/fasta/uri_translator_impl.dart';
import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
main() {
defineReflectiveSuite(() {
- defineReflectiveTests(TranslateUriTest);
+ defineReflectiveTests(UriTranslatorImplTest);
});
}
@reflectiveTest
-class TranslateUriTest {
+class UriTranslatorImplTest {
void test_isPlatformImplementation() {
- var translator = new TranslateUri({
+ var translator = new UriTranslatorImpl({
'core': Uri.parse('file:///sdk/core/core.dart'),
'math': Uri.parse('file:///sdk/math/math.dart')
}, {}, {});
@@ -32,7 +32,7 @@ class TranslateUriTest {
}
void test_translate_dart() {
- var translator = new TranslateUri({
+ var translator = new UriTranslatorImpl({
'core': Uri.parse('file:///sdk/core/core.dart'),
'math': Uri.parse('file:///sdk/math/math.dart')
}, {}, {});

Powered by Google App Engine
This is Rietveld 408576698