Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2018-09-19 15:19:22 +0300
committerGitHub <noreply@github.com>2018-09-19 15:19:22 +0300
commitefd29b5cf854679349066e22ef9038b8cfe76d94 (patch)
tree2de750c1ac8a487d7f6d149592a6362ade6a5a77 /tests/CoreFX/runtest/src/TestUtils/TestFileSetup/XUnitTestAssembly.cs
parentf9124d69e41d42196510dd7234b2d53fed48ad4c (diff)
parent49f9ed0e66fc2d4cd682821396c6af5e80182048 (diff)
Merge pull request #25 from ntherning/bump-corert
Bump to latest upstream
Diffstat (limited to 'tests/CoreFX/runtest/src/TestUtils/TestFileSetup/XUnitTestAssembly.cs')
-rw-r--r--tests/CoreFX/runtest/src/TestUtils/TestFileSetup/XUnitTestAssembly.cs47
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/CoreFX/runtest/src/TestUtils/TestFileSetup/XUnitTestAssembly.cs b/tests/CoreFX/runtest/src/TestUtils/TestFileSetup/XUnitTestAssembly.cs
new file mode 100644
index 000000000..6570b0af8
--- /dev/null
+++ b/tests/CoreFX/runtest/src/TestUtils/TestFileSetup/XUnitTestAssembly.cs
@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using Newtonsoft.Json;
+
+namespace CoreFX.TestUtils.TestFileSetup
+{
+ public class XUnitTestAssembly
+ {
+ [JsonRequired]
+ [JsonProperty("name")]
+ public string Name;
+
+ [JsonRequired]
+ [JsonProperty("exclusions")]
+ public Exclusions Exclusions;
+
+ // Used to assign a test url or to override it via the json file definition
+ [JsonIgnore]
+ [JsonProperty(Required = Required.Default)]
+ public string Url;
+
+ }
+
+ public class Exclusions
+ {
+ [JsonProperty("namespaces")]
+ public Exclusion[] Namespaces;
+
+ [JsonProperty("classes")]
+ public Exclusion[] Classes;
+
+ [JsonProperty("methods")]
+ public Exclusion[] Methods;
+ }
+
+ public class Exclusion
+ {
+ [JsonRequired]
+ [JsonProperty("name", Required = Required.DisallowNull)]
+ public string Name;
+
+ [JsonRequired]
+ [JsonProperty("reason", Required = Required.DisallowNull)]
+ public string Reason;
+ }
+}