@@ -136,7 +136,7 @@ mixin M5 on M2 {}
136136 }
137137
138138 test_isExtendedBy_ClassDeclaration_isQualified () async {
139- newFile ('$testProject /lib.dart' , content: '''
139+ newFile ('$testProject2 /lib.dart' , content: '''
140140class A {}
141141''' );
142142 await _indexTestUnit ('''
@@ -169,7 +169,7 @@ class C = A with B;
169169 }
170170
171171 test_isExtendedBy_ClassTypeAlias_isQualified () async {
172- newFile ('$testProject /lib.dart' , content: '''
172+ newFile ('$testProject2 /lib.dart' , content: '''
173173class A {}
174174''' );
175175 await _indexTestUnit ('''
@@ -195,7 +195,7 @@ class B implements A {} // 2
195195 }
196196
197197 test_isImplementedBy_ClassDeclaration_isQualified () async {
198- newFile ('$testProject /lib.dart' , content: '''
198+ newFile ('$testProject2 /lib.dart' , content: '''
199199class A {}
200200''' );
201201 await _indexTestUnit ('''
@@ -243,7 +243,7 @@ mixin M on A {} // 2
243243 }
244244
245245 test_isInvokedBy_FunctionElement () async {
246- newFile ('$testProject /lib.dart' , content: '''
246+ newFile ('$testProject2 /lib.dart' , content: '''
247247library lib;
248248foo() {}
249249''' );
@@ -419,7 +419,7 @@ class B extends Object with A {} // 2
419419 }
420420
421421 test_isMixedInBy_ClassDeclaration_isQualified () async {
422- newFile ('$testProject /lib.dart' , content: '''
422+ newFile ('$testProject2 /lib.dart' , content: '''
423423class A {}
424424''' );
425425 await _indexTestUnit ('''
@@ -547,7 +547,7 @@ main() {
547547 }
548548
549549 test_isReferencedBy_ClassElement_invocation_isQualified () async {
550- newFile ('$testProject /lib.dart' , content: '''
550+ newFile ('$testProject2 /lib.dart' , content: '''
551551class A {}
552552''' );
553553 await _indexTestUnit ('''
@@ -586,7 +586,7 @@ main(B p) {
586586 }
587587
588588 test_isReferencedBy_CompilationUnitElement_export () async {
589- newFile ('$testProject /lib.dart' , content: '''
589+ newFile ('$testProject2 /lib.dart' , content: '''
590590library lib;
591591''' );
592592 await _indexTestUnit ('''
@@ -597,7 +597,7 @@ export 'lib.dart';
597597 }
598598
599599 test_isReferencedBy_CompilationUnitElement_import () async {
600- newFile ('$testProject /lib.dart' , content: '''
600+ newFile ('$testProject2 /lib.dart' , content: '''
601601library lib;
602602''' );
603603 await _indexTestUnit ('''
@@ -608,7 +608,7 @@ import 'lib.dart';
608608 }
609609
610610 test_isReferencedBy_CompilationUnitElement_part () async {
611- newFile ('$testProject /my_unit.dart' , content: 'part of my_lib;' );
611+ newFile ('$testProject2 /my_unit.dart' , content: 'part of my_lib;' );
612612 await _indexTestUnit ('''
613613library my_lib;
614614part 'my_unit.dart';
@@ -618,8 +618,8 @@ part 'my_unit.dart';
618618 }
619619
620620 test_isReferencedBy_CompilationUnitElement_part_inPart () async {
621- newFile ('$testProject /a.dart' , content: 'part of lib;' );
622- newFile ('$testProject /b.dart' , content: '''
621+ newFile ('$testProject2 /a.dart' , content: 'part of lib;' );
622+ newFile ('$testProject2 /b.dart' , content: '''
623623library lib;
624624part 'a.dart';
625625''' );
@@ -899,7 +899,7 @@ main() {
899899 }
900900
901901 test_isReferencedBy_FunctionElement_with_LibraryElement () async {
902- newFile ('$testProject /foo.dart' , content: r'''
902+ newFile ('$testProject2 /foo.dart' , content: r'''
903903bar() {}
904904''' );
905905 await _indexTestUnit ('''
@@ -957,8 +957,8 @@ class A {
957957 }
958958
959959 test_isReferencedBy_MultiplyDefinedElement () async {
960- newFile ('$testProject /a1.dart' , content: 'class A {}' );
961- newFile ('$testProject /a2.dart' , content: 'class A {}' );
960+ newFile ('$testProject2 /a1.dart' , content: 'class A {}' );
961+ newFile ('$testProject2 /a2.dart' , content: 'class A {}' );
962962 await _indexTestUnit ('''
963963import 'a1.dart';
964964import 'a2.dart';
@@ -1153,7 +1153,7 @@ main(bool b) {
11531153 }
11541154
11551155 test_isReferencedBy_TopLevelVariableElement () async {
1156- newFile ('$testProject /lib.dart' , content: '''
1156+ newFile ('$testProject2 /lib.dart' , content: '''
11571157library lib;
11581158var V;
11591159''' );
@@ -1177,7 +1177,7 @@ main() {
11771177 }
11781178
11791179 test_isReferencedBy_TopLevelVariableElement_synthetic_hasGetterSetter () async {
1180- newFile ('$testProject /lib.dart' , content: '''
1180+ newFile ('$testProject2 /lib.dart' , content: '''
11811181int get V => 0;
11821182void set V(_) {}
11831183''' );
@@ -1189,7 +1189,7 @@ import 'lib.dart' show V;
11891189 }
11901190
11911191 test_isReferencedBy_TopLevelVariableElement_synthetic_hasSetter () async {
1192- newFile ('$testProject /lib.dart' , content: '''
1192+ newFile ('$testProject2 /lib.dart' , content: '''
11931193void set V(_) {}
11941194''' );
11951195 await _indexTestUnit ('''
@@ -1224,7 +1224,7 @@ class A {
12241224
12251225 test_subtypes_classDeclaration () async {
12261226 String libP = 'package:test/lib.dart;package:test/lib.dart' ;
1227- newFile ('$testProject /lib.dart' , content: '''
1227+ newFile ('$testProject2 /lib.dart' , content: '''
12281228class A {}
12291229class B {}
12301230class C {}
@@ -1274,7 +1274,7 @@ class Z implements E, D {
12741274
12751275 test_subtypes_classTypeAlias () async {
12761276 String libP = 'package:test/lib.dart;package:test/lib.dart' ;
1277- newFile ('$testProject /lib.dart' , content: '''
1277+ newFile ('$testProject2 /lib.dart' , content: '''
12781278class A {}
12791279class B {}
12801280class C {}
@@ -1312,7 +1312,7 @@ class X extends dynamic {
13121312
13131313 test_subtypes_mixinDeclaration () async {
13141314 String libP = 'package:test/lib.dart;package:test/lib.dart' ;
1315- newFile ('$testProject /lib.dart' , content: '''
1315+ newFile ('$testProject2 /lib.dart' , content: '''
13161316class A {}
13171317class B {}
13181318class C {}
0 commit comments