4
|
1 // This file (MockFactory.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;
|
|
6 using System.IO;
|
|
7 using IBBoard.WarFoundry.API.Objects;
|
|
8 using ICSharpCode.SharpZipLib.Zip;
|
|
9
|
|
10 namespace IBBoard.WarFoundry.API.Factories
|
|
11 {
|
|
12 public class MockFactory : AbstractNativeWarFoundryFactory
|
|
13 {
|
|
14 public MockFactory()
|
|
15 {
|
|
16 }
|
|
17
|
|
18 protected override bool CheckCanFindArmyFileContent(ZipFile file)
|
|
19 {
|
|
20 return true;
|
|
21 }
|
|
22
|
|
23 protected override bool CheckCanFindRaceFileContent(ZipFile file)
|
|
24 {
|
|
25 return true;
|
|
26 }
|
|
27
|
|
28 protected override bool CheckCanFindSystemFileContent(ZipFile file)
|
|
29 {
|
|
30 return true;
|
|
31 }
|
|
32
|
|
33 protected override Army CreateArmyFromStream (ZipFile file, Stream dataStream)
|
|
34 {
|
|
35 throw new NotImplementedException ();
|
|
36 }
|
|
37
|
|
38 protected override GameSystem CreateGameSystemFromStream (ZipFile file, Stream dataStream)
|
|
39 {
|
|
40 throw new NotImplementedException ();
|
|
41 }
|
|
42
|
|
43 protected override Race CreateRaceFromStream (ZipFile file, Stream dataStream)
|
|
44 {
|
|
45 throw new NotImplementedException ();
|
|
46 }
|
|
47
|
|
48 protected override Stream GetArmyDataStream (ZipFile file)
|
|
49 {
|
|
50 throw new NotImplementedException ();
|
|
51 }
|
|
52
|
|
53 protected override Stream GetGameSystemDataStream (ZipFile file)
|
|
54 {
|
|
55 throw new NotImplementedException ();
|
|
56 }
|
|
57
|
|
58 protected override Stream GetRaceDataStream (ZipFile file)
|
|
59 {
|
|
60 throw new NotImplementedException ();
|
|
61 }
|
|
62 }
|
|
63 }
|