comparison API/Loading/LoadableObjectSourceDirectoryTests.cs @ 228:7c21ca1482cb

Re #419: Remove assumptions of a file-based install * Update tests to use new "loadable object" and "loadable object source" wrappers
author IBBoard <dev@ibboard.co.uk>
date Sat, 07 Jul 2012 21:02:53 +0100
parents
children
comparison
equal deleted inserted replaced
227:d8cd6b259a9f 228:7c21ca1482cb
1 // This file (LoadableObjectSourceDirectoryTests.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2012 IBBoard
2 //
3 // 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.
4 using System;
5 using IBBoard.NUnit;
6 using System.Reflection;
7
8 namespace IBBoard.WarFoundry.API.Loading
9 {
10 public class LoadableObjectSourceDirectoryTests : AbstractEqualityTest<LoadableObjectSourceDirectory>
11 {
12 public override LoadableObjectSourceDirectory GetObject()
13 {
14 return new LoadableObjectSourceDirectory("test");
15 }
16
17 public override LoadableObjectSourceDirectory GetSameObject()
18 {
19 return new LoadableObjectSourceDirectory("test");
20 }
21
22 public override LoadableObjectSourceDirectory GetDifferentObject()
23 {
24 return new LoadableObjectSourceDirectory("otherdir");
25 }
26 }
27 }
28