Skip to content

Commit 3f63f1c

Browse files
committed
Add System.IO.Compression.ZipFile for .NET Core
Ability to download and extract Elasticsearch zip file when running .NET core integration tests
1 parent b7d9e1f commit 3f63f1c

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/Tests/Framework/Extensions/WebClient-CoreFx.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,5 @@ public void DownloadFile(string url, string file)
1818
}
1919
}
2020
}
21-
22-
public static class ZipFile
23-
{
24-
public static void ExtractToDirectory(string file, string directory)
25-
{
26-
throw new NotImplementedException("TODO");
27-
}
28-
}
2921
}
3022
#endif

src/Tests/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
"System.Diagnostics.Tools": "4.0.1",
5555
"System.Net.Http": "4.1.0",
5656
"System.Reflection": "4.1.0",
57-
"System.Runtime": "4.1.0"
57+
"System.Runtime": "4.1.0",
58+
"System.IO.Compression.ZipFile": "4.0.1"
5859
},
5960
"imports": [
6061
"dnxcore50",

0 commit comments

Comments
 (0)