Update artifact names and remove obsolete artifacts (#9091)

This commit is contained in:
Jason Simmons
2017-03-29 16:30:41 -07:00
committed by GitHub
parent e067041279
commit e7f1361681
3 changed files with 11 additions and 42 deletions

View File

@@ -27,17 +27,13 @@ void main() {
});
testUsingContext('getArtifactPath', () {
expect(
artifacts.getArtifactPath(Artifact.libskyShellSo, TargetPlatform.android_arm, BuildMode.debug),
fs.path.join(tempDir.path, 'bin', 'cache', 'artifacts', 'engine', 'android-arm', 'libsky_shell.so')
);
expect(
artifacts.getArtifactPath(Artifact.flutterFramework, TargetPlatform.ios, BuildMode.release),
fs.path.join(tempDir.path, 'bin', 'cache', 'artifacts', 'engine', 'ios-release', 'Flutter.framework')
);
expect(
artifacts.getArtifactPath(Artifact.skyShell),
artifacts.getArtifactPath(Artifact.flutterTester),
fs.path.join(tempDir.path, 'bin', 'cache', 'artifacts', 'engine', 'linux-x64', 'flutter_tester')
);
}, overrides: <Type, Generator> {
@@ -90,7 +86,7 @@ void main() {
);
expect(
artifacts.getArtifactPath(Artifact.skyShell),
artifacts.getArtifactPath(Artifact.flutterTester),
fs.path.join(tempDir.path, 'out', 'android_debug_unopt', 'flutter_tester')
);
}, overrides: <Type, Generator> {