Mercurial > repos > IBBoard.WarFoundry.API.Tests
comparison MockObjects/MockSystemZipFile.cs @ 7:209c2e9b8b20
Re #44 - Fix WarFoundry API tests
* Update .csproj to reference new SharpZipLib library
* Copy test data to output dir on build
* Make Mock files reference data files in "testdata" folder as file names
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 Mar 2009 16:41:57 +0000 |
parents | 4222cfa99c78 |
children | 8d9d49332d44 |
comparison
equal
deleted
inserted
replaced
6:bfac867dfd00 | 7:209c2e9b8b20 |
---|---|
8 | 8 |
9 namespace IBBoard.WarFoundry.API | 9 namespace IBBoard.WarFoundry.API |
10 { | 10 { |
11 public class MockSystemZipFile : ZipFile | 11 public class MockSystemZipFile : ZipFile |
12 { | 12 { |
13 public MockSystemZipFile() : base(new FileInfo("Test.system").OpenRead()) | 13 public MockSystemZipFile() : base("testdata/Warhammer5th.system") |
14 { | 14 { |
15 } | 15 } |
16 } | 16 } |
17 } | 17 } |