annotate MockObjects/MockRaceZipFile.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
4222cfa99c78 Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents: 3
diff changeset
1 // This file (MockRaceZipFile.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2009 IBBoard.
0
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 //
4
4222cfa99c78 Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents: 3
diff changeset
3 // The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license.
0
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 using ICSharpCode.SharpZipLib.Zip;
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 namespace IBBoard.WarFoundry.API
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 {
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 public class MockRaceZipFile : ZipFile
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 {
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 }
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 }
faf976fe57df Initial commit of WarFoundry code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 }