view MockObjects/MockRaceZipFile.cs @ 58:c642d217036e

Re #290: Migrate to using key/keyref definitions instead of ID/IDREF type * Simplify "non-existant ability" unit test by removing SystemX file * Remove line number checks, since Mono exception line numbers are end of file when the exception is a missing key ** * Re-implement equipment slot check test ** previous line numbers were taken from errors saying that keyref's key definition couldn't be found, not an error saying that the keyref value didn't exist
author IBBoard <dev@ibboard.co.uk>
date Sat, 12 Jun 2010 20:40:18 +0000
parents 8d9d49332d44
children
line wrap: on
line source

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

using System;
using System.IO;
using ICSharpCode.SharpZipLib.Zip;

namespace IBBoard.WarFoundry.API
{	
	public class MockRaceZipFile : ZipFile
	{		
		public MockRaceZipFile() : base("testdata/Test.race")
		{
		}
	}
}