Mercurial > repos > IBDev-IBBoard.WarFoundry.API.Tests
annotate MockObjects/MockRaceZipFile.cs @ 4:4222cfa99c78
Re #1 - LGPL license all code
* Add LGPL header to all files
* Add COPYING.LGPL and COPYING.GPL with content of license
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 25 Jan 2009 14:51:41 +0000 |
parents | 40b31dfd6a46 |
children | 209c2e9b8b20 |
rev | line source |
---|---|
4 | 1 // This file (MockRaceZipFile.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2009 IBBoard. |
0 | 2 // |
4 | 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 | 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 { | |
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
|
13 public MockRaceZipFile() : base(new FileInfo("Test.race").OpenRead()) |
0 | 14 { |
15 } | |
16 } | |
17 } |