Mercurial > repos > IBBoard.NUnit.Tests
comparison AbstractEqualityTestTest.cs @ 4:efb6eef4a6ce
* Add unit tests for abstract equality test (currently fail to run because of bug 677228)
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 25 Apr 2011 14:51:00 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:1a4f10193bf5 | 4:efb6eef4a6ce |
---|---|
1 // This file (AbstractEqualityTestTest.cs) is a part of the IBBoard.NUnit.Tests project and is copyright 2011 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 NUnit.Framework; | |
6 using IBBoard.NUnit; | |
7 | |
8 namespace IBBoard.NUnit.Tests | |
9 { | |
10 [TestFixture()] | |
11 public class AbstractEqualityTestTest : AbstractEqualityTest<string> | |
12 { | |
13 public override string GetObject() | |
14 { | |
15 return "object"; | |
16 } | |
17 | |
18 public override string GetSameObject() | |
19 { | |
20 return "object"; | |
21 } | |
22 | |
23 public override string GetDifferentObject() | |
24 { | |
25 return "different"; | |
26 } | |
27 | |
28 public string GetOtherDifferentString() | |
29 { | |
30 return "fibble"; | |
31 } | |
32 } | |
33 } | |
34 |