view MockObjects/MockFactory.cs @ 6:bfac867dfd00

Update to latest SharpZipLib (0.85.5) no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Mar 2009 16:24:47 +0000
parents 4222cfa99c78
children
line wrap: on
line source

// This file (MockFactory.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2009 IBBoard.
//
// 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.

using System;
using System.IO;
using IBBoard.WarFoundry.API.Objects;
using ICSharpCode.SharpZipLib.Zip;

namespace IBBoard.WarFoundry.API.Factories
{
	public class MockFactory : AbstractNativeWarFoundryFactory
	{		
		public MockFactory()
		{
		}
		
		protected override bool CheckCanFindArmyFileContent(ZipFile file)
		{
			return true;
		}
		
		protected override bool CheckCanFindRaceFileContent(ZipFile file)
		{
			return true;
		}
		
		protected override bool CheckCanFindSystemFileContent(ZipFile file)
		{
			return true;
		}
		
		protected override Army CreateArmyFromStream (ZipFile file, Stream dataStream)
		{
			throw new NotImplementedException ();
		}
		
		protected override GameSystem CreateGameSystemFromStream (ZipFile file, Stream dataStream)
		{
			throw new NotImplementedException ();
		}
		
		protected override Race CreateRaceFromStream (ZipFile file, Stream dataStream)
		{
			throw new NotImplementedException ();
		}
		
		protected override Stream GetArmyDataStream (ZipFile file)
		{
			throw new NotImplementedException ();
		}
		
		protected override Stream GetGameSystemDataStream (ZipFile file)
		{
			throw new NotImplementedException ();
		}

		protected override Stream GetRaceDataStream (ZipFile file)
		{
			throw new NotImplementedException ();
		}
	}
}