-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathProgram.cs
More file actions
56 lines (46 loc) · 1.33 KB
/
Program.cs
File metadata and controls
56 lines (46 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*****************************************************************************
*
* ReoScript - .NET Script Language Engine
*
* https://github.com/unvell/ReoScript
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
* PURPOSE.
*
* This software released under MIT license.
* Copyright (c) 2012-2019 Jingwood, unvell.com, all rights reserved.
*
****************************************************************************/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace unvell.ReoScript.TestCase
{
[XmlRoot("test-suite")]
public class XmlTestSuite
{
[XmlAttribute("id")]
public string Id { get; set; }
[XmlAttribute("name")]
public string Name { get; set; }
[XmlAttribute("tag")]
public string Tag { get; set; }
[XmlElement("test-case")]
public List<XmlTestCase> TestCases { get; set; }
}
public class XmlTestCase
{
[XmlAttribute("id")]
public string Id { get; set; }
[XmlAttribute("name")]
public string Name { get; set; }
[XmlElement("script")]
public string Script { get; set; }
[XmlText]
public string TestCode { get; set; }
[XmlAttribute("disabled")]
public bool Disabled { get; set; }
}
}