Mercurial > repos > IBBoard.WarFoundry.API.Tests
annotate MockObjects/MockRaceZipFile.cs @ 176:9a1763af5fd2
Re #338: WarFoundry.API - Save System Data
* Add tests for saving point names
* Add expected values for new tests
* Add points names to existing expected values (because we don't know if they were default or not)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 26 Oct 2011 15:40:52 +0100 |
parents | 8d9d49332d44 |
children |
rev | line source |
---|---|
11 | 1 // This file (MockRaceZipFile.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2008, 2009 IBBoard. |
0 | 2 // |
11 | 3 // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. |
0 | 4 |
5 using System; | |
3
40b31dfd6a46
Update tests (one currently fails because of "end of stream" that doesn't occur when using factories normally)
IBBoard <dev@ibboard.co.uk>
parents:
0
diff
changeset
|
6 using System.IO; |
0 | 7 using ICSharpCode.SharpZipLib.Zip; |
8 | |
9 namespace IBBoard.WarFoundry.API | |
10 { | |
11 public class MockRaceZipFile : ZipFile | |
12 { | |
7
209c2e9b8b20
Re #44 - Fix WarFoundry API tests
IBBoard <dev@ibboard.co.uk>
parents:
4
diff
changeset
|
13 public MockRaceZipFile() : base("testdata/Test.race") |
0 | 14 { |
15 } | |
16 } | |
17 } |