annotate AbstractEqualityTestTest.cs @ 6:57fdd2eb986b

* Add standardised .hgignore for C# projects
author IBBoard <dev@ibboard.co.uk>
date Sat, 24 Sep 2011 11:59:07 +0100
parents efb6eef4a6ce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 // This file (AbstractEqualityTestTest.cs) is a part of the IBBoard.NUnit.Tests project and is copyright 2011 IBBoard
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 //
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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.
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 using System;
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 using NUnit.Framework;
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 using IBBoard.NUnit;
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 namespace IBBoard.NUnit.Tests
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 {
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 [TestFixture()]
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 public class AbstractEqualityTestTest : AbstractEqualityTest<string>
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 {
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 public override string GetObject()
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 {
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 return "object";
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 }
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 public override string GetSameObject()
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 {
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 return "object";
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 }
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 public override string GetDifferentObject()
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 {
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 return "different";
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 }
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 public string GetOtherDifferentString()
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 {
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 return "fibble";
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 }
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 }
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 }
efb6eef4a6ce * Add unit tests for abstract equality test (currently fail to run because of bug 677228)
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34