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

Unified Diff: pkg/analyzer/test/generated/all_the_rest_test.dart

Issue 1843473002: Sort analyzer sources (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove generated file and fix misplaced comments Created 4 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: pkg/analyzer/test/generated/all_the_rest_test.dart
diff --git a/pkg/analyzer/test/generated/all_the_rest_test.dart b/pkg/analyzer/test/generated/all_the_rest_test.dart
index 83b7125b8923de05c9a6764635dd09822bfc0287..f032daf233d4338cd8a025a0b23165ec1727566a 100644
--- a/pkg/analyzer/test/generated/all_the_rest_test.dart
+++ b/pkg/analyzer/test/generated/all_the_rest_test.dart
@@ -4155,6 +4155,13 @@ class FileUriResolverTest {
@reflectiveTest
class ResolveRelativeUriTest {
+ void test_resolveRelative_dart_dartUri() {
+ Uri uri = parseUriWithException('dart:foo');
+ Uri relative = resolveRelativeUri(uri, parseUriWithException('dart:bar'));
+ expect(relative, isNotNull);
+ expect(relative.toString(), 'dart:bar');
+ }
+
void test_resolveRelative_dart_fileName() {
Uri uri = parseUriWithException("dart:test");
Uri relative = resolveRelativeUri(uri, parseUriWithException("lib.dart"));
@@ -4169,13 +4176,6 @@ class ResolveRelativeUriTest {
expect(relative.toString(), "dart:test/c/lib.dart");
}
- void test_resolveRelative_dart_dartUri() {
- Uri uri = parseUriWithException('dart:foo');
- Uri relative = resolveRelativeUri(uri, parseUriWithException('dart:bar'));
- expect(relative, isNotNull);
- expect(relative.toString(), 'dart:bar');
- }
-
void test_resolveRelative_dart_filePathWithParent() {
Uri uri = parseUriWithException("dart:test/b/test.dart");
Uri relative =
@@ -4184,6 +4184,13 @@ class ResolveRelativeUriTest {
expect(relative.toString(), "dart:test/c/lib.dart");
}
+ void test_resolveRelative_package_dartUri() {
+ Uri uri = parseUriWithException('package:foo/bar.dart');
+ Uri relative = resolveRelativeUri(uri, parseUriWithException('dart:test'));
+ expect(relative, isNotNull);
+ expect(relative.toString(), 'dart:test');
+ }
+
void test_resolveRelative_package_fileName() {
Uri uri = parseUriWithException("package:b/test.dart");
Uri relative = resolveRelativeUri(uri, parseUriWithException("lib.dart"));
@@ -4198,13 +4205,6 @@ class ResolveRelativeUriTest {
expect(relative.toString(), "package:lib.dart");
}
- void test_resolveRelative_package_dartUri() {
- Uri uri = parseUriWithException('package:foo/bar.dart');
- Uri relative = resolveRelativeUri(uri, parseUriWithException('dart:test'));
- expect(relative, isNotNull);
- expect(relative.toString(), 'dart:test');
- }
-
void test_resolveRelative_package_filePath() {
Uri uri = parseUriWithException("package:b/test.dart");
Uri relative = resolveRelativeUri(uri, parseUriWithException("c/lib.dart"));
« no previous file with comments | « pkg/analyzer/lib/src/summary/idl.dart ('k') | pkg/analyzer/test/generated/compile_time_error_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698