Skip to content

Commit

Permalink
Attempt to fix failing tests on the windows bots
Browse files Browse the repository at this point in the history
Change-Id: I84d16ad2708d4d18b06cdd454d1276b0d3ef8bc0
Reviewed-on: https://dart-review.googlesource.com/69001
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
  • Loading branch information
bwilkerson authored and commit-bot@chromium.org committed Aug 8, 2018
1 parent a2b0529 commit 77d6758
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 138 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ class B extends A {
// SimpleIdentifier HideCombinator ImportDirective
addSource('/testAB.dart', '''
library libAB;
part '/partAB.dart';
part 'partAB.dart';
class A { }
class B { }''');
addSource('/partAB.dart', '''
Expand All @@ -1518,7 +1518,7 @@ class B extends A {
// SimpleIdentifier HideCombinator ImportDirective
addSource('/testAB.dart', '''
library libAB;
part '/partAB.dart';
part 'partAB.dart';
class A { }
class B { }''');
addSource('/partAB.dart', '''
Expand Down Expand Up @@ -3615,7 +3615,7 @@ class B extends A {
addTestSource('''
library libA;
import "${convertPathForImport('/testB.dart')}";
part "/testA.dart";
part "testA.dart";
class A { A({String boo: 'hoo'}) { } }
main() {new ^}
var m;''');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ class H { }
int T3;
var _T4;'''); // not imported
addTestSource('''
import "/testAB.dart";
import "/testCD.dart" hide D;
import "/testEEF.dart" show EE;
import "/testG.dart" as g;
import "testAB.dart";
import "testCD.dart" hide D;
import "testEEF.dart" show EE;
import "testG.dart" as g;
int T5;
var _T6;
String get T7 => 'hello';
Expand Down Expand Up @@ -109,10 +109,10 @@ class H { }
int T3;
var _T4;'''); // not imported
addTestSource('''
import "/testAB.dart";
import "/testCD.dart" hide D;
import "/testEEF.dart" show EE;
import "/testG.dart" as g;
import "testAB.dart";
import "testCD.dart" hide D;
import "testEEF.dart" show EE;
import "testG.dart" as g;
int T5;
var _T6;
String get T7 => 'hello';
Expand Down Expand Up @@ -156,10 +156,10 @@ class H { }
int T3;
var _T4;'''); // not imported
addTestSource('''
import "/testAB.dart";
import "/testCD.dart" hide D;
import "/testEEF.dart" show EE;
import "/testG.dart" as g;
import "testAB.dart";
import "testCD.dart" hide D;
import "testEEF.dart" show EE;
import "testG.dart" as g;
int T5;
var _T6;
String get T7 => 'hello';
Expand Down Expand Up @@ -278,7 +278,7 @@ class A {foo(){var f; {var x;}}}
class B {B(this.x, [String boo]) { } int x;}
class C {C.bar({boo: 'hoo', int z: 0}) { } }''');
addTestSource('''
import "/testA.dart" as t;
import "testA.dart" as t;
import "dart:math" as math;
main() {new ^ String x = "hello";}''');
await computeSuggestions();
Expand Down Expand Up @@ -317,7 +317,7 @@ class B {B(this.x, [String boo]) { } int x;}
class C {C.bar({boo: 'hoo', int z: 0}) { } }''');
addSource('/testB.dart', '''
library testB;
import "/testA.dart" as t;
import "testA.dart" as t;
import "dart:math" as math;
//part "$testFile"
main() {new ^ String x = "hello";}''');
Expand Down
Loading

0 comments on commit 77d6758

Please sign in to comment.