about summary refs log tree commit diff
path: root/pkgs/games/build-support/monogame-patcher/src/tests.cs
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-17 04:36:39 +0200
committeraszlig <aszlig@nix.build>2018-07-19 06:35:13 +0200
commit2d3dabe8af2ea4abc51f68891741db360ad11c75 (patch)
tree6c178740ffd8552c2e928939e95f4397364a6e5f /pkgs/games/build-support/monogame-patcher/src/tests.cs
parent3917a5e3c4b7784bf535eafb25e0a47662c0978a (diff)
monogame-patcher: Restructure and add stub tests
Mainly this is so we can prepare for running unit tests, so we get the
latest version of NUnit and run the console test runner.

Currently there is only a dummy test which always succeeds, but it's
there so that we can fill out the boilerplate later.

I also moved the option definitions into a separate file so they don't
clutter up the main file.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/build-support/monogame-patcher/src/tests.cs')
-rw-r--r--pkgs/games/build-support/monogame-patcher/src/tests.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/games/build-support/monogame-patcher/src/tests.cs b/pkgs/games/build-support/monogame-patcher/src/tests.cs
new file mode 100644
index 00000000..8b9d3ee3
--- /dev/null
+++ b/pkgs/games/build-support/monogame-patcher/src/tests.cs
@@ -0,0 +1,10 @@
+using NUnit.Framework;
+
+[TestFixture]
+public class PatcherTests {
+    [Test]
+    public void foo() {
+        // Dummy test
+        Assert.IsTrue(true);
+    }
+}