Reenable working Enum tests
[mono-project.git] / sdks / wasm / mini-test-runner.cs
blob60a3eb4792f40b7f65ff297b06ea24987f341a99
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
5 using NUnit.Framework;
9 [TestFixture]
10 public class JitTests {
11 static string[] args = new string[] { "--verbose", "--exclude", "!WASM", "--exclude", "!INTERPRETER"};
13 [Test]
14 public static void Basic () {
15 int res = TestDriver.RunTests (typeof (BasicTests), args);
16 Assert.AreEqual (0, res);
19 [Test]
20 public static void Arrays () {
21 int res = TestDriver.RunTests (typeof (ArrayTests), args);
22 Assert.AreEqual (0, res);
25 [Test]
26 public static void Calls () {
27 int res = TestDriver.RunTests (typeof (CallsTests), args);
28 Assert.AreEqual (0, res);
30 [Test]
31 public static void Float () {
32 int res = TestDriver.RunTests (typeof (FloatTests), args);
33 Assert.AreEqual (0, res);
35 [Test]
36 public static void Long () {
37 int res = TestDriver.RunTests (typeof (LongTests), args);
38 Assert.AreEqual (0, res);
41 [Test]
42 public static void Math () {
43 int res = TestDriver.RunTests (typeof (MathTests), args);
44 Assert.AreEqual (0, res);
47 [Test]
48 public static void Objects () {
49 int res = TestDriver.RunTests (typeof (ObjectTests.Tests), args);
50 Assert.AreEqual (0, res);
53 [Test]
54 public static void Generics () {
55 int res = TestDriver.RunTests (typeof (GenericsTests), args);
56 Assert.AreEqual (0, res);
59 [Test]
60 public static void GShared () {
61 int res = TestDriver.RunTests (typeof (GSharedTests), args);
62 Assert.AreEqual (0, res);
65 [Test]
66 public static void Exceptions () {
67 int res = TestDriver.RunTests (typeof (ExceptionTests), args);
68 Assert.AreEqual (0, res);
71 [Test]
72 public static void Aot () {
73 int res = TestDriver.RunTests (typeof (AotTests), args);
74 Assert.AreEqual (0, res);
77 [Test]
78 public static void BuiltinTests () {
79 int res = TestDriver.RunTests (typeof (BuiltinTests), args);
80 Assert.AreEqual (0, res);
83 [Test]
84 public static void DevirtualizationTests () {
85 int res = TestDriver.RunTests (typeof (DevirtualizationTests), args);
86 Assert.AreEqual (0, res);
89 [Test]
90 public static void MixedTests () {
91 int res = TestDriver.RunTests (typeof (MixedTests), args);
92 Assert.AreEqual (0, res);
95 [Test]
96 public static void GcTests () {
97 int res = TestDriver.RunTests (typeof (GcTests), args);
98 Assert.AreEqual (0, res);