Mercurial > repos > IBDev-IBBoard.WarFoundry.API.Tests
diff MockObjects/MockSystemZipFile.cs @ 3:40b31dfd6a46
Update tests (one currently fails because of "end of stream" that doesn't occur when using factories normally)
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 25 Jan 2009 13:54:18 +0000 |
parents | faf976fe57df |
children | 4222cfa99c78 |
line wrap: on
line diff
--- a/MockObjects/MockSystemZipFile.cs Fri Dec 19 16:44:56 2008 +0000 +++ b/MockObjects/MockSystemZipFile.cs Sun Jan 25 13:54:18 2009 +0000 @@ -18,13 +18,14 @@ // using System; +using System.IO; using ICSharpCode.SharpZipLib.Zip; namespace IBBoard.WarFoundry.API { public class MockSystemZipFile : ZipFile { - public MockSystemZipFile() : base("../../testdata/System.zip") + public MockSystemZipFile() : base(new FileInfo("Test.system").OpenRead()) { } }