xunitnet 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/HTML.xslt ADDED
@@ -0,0 +1,117 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
+ <xsl:output method="html"/>
4
+ <xsl:template match="/">
5
+ <xsl:apply-templates/>
6
+ </xsl:template>
7
+
8
+ <xsl:template match="assembly">
9
+ <xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">]]></xsl:text>
10
+ <html>
11
+ <head>
12
+ <title>xUnit.net Test Results - <xsl:value-of select="@name"/>
13
+ </title>
14
+ <style type="text/css">
15
+ body { font-family: Calibri, Verdana, Arial, sans-serif; background-color: White; color: Black; }
16
+ h2,h3,h5 { margin: 0; padding: 0; }
17
+ h2 { border-top: solid 1px #f0f5fa; padding-top: 0.5em; }
18
+ h3 { font-weight: normal; }
19
+ h5 { font-weight: normal; font-style: italic; margin-bottom: 0.75em; }
20
+ pre { font-family: Consolas; font-size: 85%; margin: 0 0 0 1em; padding: 0; }
21
+ .row, .altrow { padding: 0.1em 0.3em; }
22
+ .row { background-color: #f0f5fa; }
23
+ .altrow { background-color: #e1ebf4; }
24
+ .success, .failure, .skipped { font-family: Arial Unicode MS; font-weight: normal; float: left; width: 1em; display: block; }
25
+ .success { color: #0c0; }
26
+ .failure { color: #c00; }
27
+ .skipped { color: #cc0; }
28
+ .timing { float: right; }
29
+ .indent { margin: 0.25em 0 0.5em 2em; }
30
+ .clickable { cursor: pointer; }
31
+ .testcount { font-size: 85%; }
32
+ </style>
33
+ <script language="javascript">
34
+ function ToggleClass(id) {
35
+ var elem = document.getElementById(id);
36
+ if (elem.style.display == "none")
37
+ elem.style.display = "block";
38
+ else
39
+ elem.style.display = "none";
40
+ }
41
+ </script>
42
+ </head>
43
+ <body>
44
+ <h3><b>Results for <xsl:value-of select="@name"/></b></h3>
45
+ <div>
46
+ Tests run: <a href="#all"><b><xsl:value-of select="@total"/></b></a> &#160;
47
+ Failures: <a href="#failures"><b><xsl:value-of select="@failed"/></b></a>,
48
+ Skipped: <a href="#skipped"><b><xsl:value-of select="@skipped"/></b></a>,
49
+ Run time: <b><xsl:value-of select="@time"/>s</b>
50
+ </div>
51
+ <xsl:if test="//test[@result='Fail']">
52
+ <br />
53
+ <h2><a name="failures"></a>Failed tests</h2>
54
+ <xsl:apply-templates select="//test[@result='Fail']"><xsl:sort select="@name"/></xsl:apply-templates>
55
+ </xsl:if>
56
+ <xsl:if test="//class/failure">
57
+ <br />
58
+ <h2><a name="failures"></a>Failed fixtures</h2>
59
+ <xsl:apply-templates select="//class/failure"><xsl:sort select="../@name"/></xsl:apply-templates>
60
+ </xsl:if>
61
+ <xsl:if test="@skipped > 0">
62
+ <br />
63
+ <h2><a name="skipped"></a>Skipped tests</h2>
64
+ <xsl:apply-templates select="//test[@result='Skip']"><xsl:sort select="@name"/></xsl:apply-templates>
65
+ </xsl:if>
66
+ <br />
67
+ <h2><a name="all"></a>All tests</h2>
68
+ <h5>Click test class name to expand/collapse test details</h5>
69
+ <xsl:apply-templates select="//class"><xsl:sort select="@name"/></xsl:apply-templates>
70
+ <br /><h5>Results generated <xsl:value-of select="@run-date"/> at <xsl:value-of select="@run-time"/></h5>
71
+ </body>
72
+ </html>
73
+ </xsl:template>
74
+
75
+ <xsl:template match="test">
76
+ <div>
77
+ <xsl:attribute name="class"><xsl:if test="(position() mod 2 = 0)">alt</xsl:if>row</xsl:attribute>
78
+ <xsl:if test="@result!='Skip'"><span class="timing"><xsl:value-of select="@time"/>s</span></xsl:if>
79
+ <xsl:if test="@result='Skip'"><span class="timing">Skipped</span><span class="skipped">&#x2762;</span></xsl:if>
80
+ <xsl:if test="@result='Fail'"><span class="failure">&#x2718;</span></xsl:if>
81
+ <xsl:if test="@result='Pass'"><span class="success">&#x2714;</span></xsl:if>
82
+ &#160;<xsl:value-of select="@name"/>
83
+ <xsl:if test="child::node()/message"> : <xsl:value-of select="child::node()/message"/></xsl:if>
84
+ <br clear="all" />
85
+ <xsl:if test="failure/stack-trace">
86
+ <pre><xsl:value-of select="failure/stack-trace"/></pre>
87
+ </xsl:if>
88
+ </div>
89
+ </xsl:template>
90
+
91
+ <xsl:template match="failure">
92
+ <span class="failure">&#x2718;</span> <xsl:value-of select="../@name"/> : <xsl:value-of select="message"/><br clear="all"/>
93
+ Stack Trace:<br />
94
+ <pre><xsl:value-of select="stack-trace"/></pre>
95
+ </xsl:template>
96
+
97
+ <xsl:template match="class">
98
+ <h3>
99
+ <span class="timing"><xsl:value-of select="@time"/>s</span>
100
+ <span class="clickable">
101
+ <xsl:attribute name="onclick">ToggleClass('class<xsl:value-of select="position()"/>')</xsl:attribute>
102
+ <xsl:attribute name="ondblclick">ToggleClass('class<xsl:value-of select="position()"/>')</xsl:attribute>
103
+ <xsl:if test="@failed > 0"><span class="failure">&#x2718;</span></xsl:if>
104
+ <xsl:if test="@failed = 0"><span class="success">&#x2714;</span></xsl:if>
105
+ &#160;<xsl:value-of select="@name"/>
106
+ &#160;<span class="testcount">(<xsl:value-of select="@total"/>&#160;test<xsl:if test="@total > 1">s</xsl:if>)</span>
107
+ </span>
108
+ <br clear="all" />
109
+ </h3>
110
+ <div class="indent">
111
+ <xsl:if test="@failed = 0"><xsl:attribute name="style">display: none;</xsl:attribute></xsl:if>
112
+ <xsl:attribute name="id">class<xsl:value-of select="position()"/></xsl:attribute>
113
+ <xsl:apply-templates select="test"><xsl:sort select="@name"/></xsl:apply-templates>
114
+ </div>
115
+ </xsl:template>
116
+
117
+ </xsl:stylesheet>
data/lib/NUnitXml.xslt ADDED
@@ -0,0 +1,121 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
+ <xsl:output cdata-section-elements="message stack-trace"/>
4
+
5
+ <xsl:template match="/">
6
+ <xsl:apply-templates/>
7
+ </xsl:template>
8
+
9
+ <xsl:template match="assembly">
10
+ <test-results>
11
+ <xsl:attribute name="name">
12
+ <xsl:value-of select="@name"/>
13
+ </xsl:attribute>
14
+ <xsl:attribute name="date">
15
+ <xsl:value-of select="@run-date"/>
16
+ </xsl:attribute>
17
+ <xsl:attribute name="time">
18
+ <xsl:value-of select="@run-time"/>
19
+ </xsl:attribute>
20
+ <xsl:attribute name="total">
21
+ <xsl:value-of select="@total"/>
22
+ </xsl:attribute>
23
+ <xsl:attribute name="failures">
24
+ <xsl:value-of select="@failed"/>
25
+ </xsl:attribute>
26
+ <xsl:attribute name="not-run">
27
+ <xsl:value-of select="@skipped"/>
28
+ </xsl:attribute>
29
+ <test-suite>
30
+ <xsl:attribute name="name">
31
+ <xsl:value-of select="@name"/>
32
+ </xsl:attribute>
33
+ <xsl:attribute name="success">
34
+ <xsl:if test="@failed > 0">False</xsl:if>
35
+ <xsl:if test="@failed = 0">True</xsl:if>
36
+ </xsl:attribute>
37
+ <xsl:attribute name="time">
38
+ <xsl:value-of select="@time"/>
39
+ </xsl:attribute>
40
+ <results>
41
+ <xsl:apply-templates select="class"/>
42
+ </results>
43
+ </test-suite>
44
+ </test-results>
45
+ </xsl:template>
46
+
47
+ <xsl:template match="class">
48
+ <test-suite>
49
+ <xsl:attribute name="name">
50
+ <xsl:value-of select="@name"/>
51
+ </xsl:attribute>
52
+ <xsl:attribute name="success">
53
+ <xsl:if test="@failed > 0">False</xsl:if>
54
+ <xsl:if test="@failed = 0">True</xsl:if>
55
+ </xsl:attribute>
56
+ <xsl:attribute name="time">
57
+ <xsl:value-of select="@time"/>
58
+ </xsl:attribute>
59
+ <xsl:if test="failure">
60
+ <xsl:copy-of select="failure"/>
61
+ </xsl:if>
62
+ <xsl:if test="reason">
63
+ <reason>
64
+ <xsl:apply-templates select="reason"/>
65
+ </reason>
66
+ </xsl:if>
67
+ <results>
68
+ <xsl:apply-templates select="test"/>
69
+ </results>
70
+ </test-suite>
71
+ </xsl:template>
72
+
73
+ <xsl:template match="test">
74
+ <test-case>
75
+ <xsl:attribute name="name">
76
+ <xsl:value-of select="@name"/>
77
+ </xsl:attribute>
78
+ <xsl:attribute name="executed">
79
+ <xsl:if test="@result='Skip'">False</xsl:if>
80
+ <xsl:if test="@result!='Skip'">True</xsl:if>
81
+ </xsl:attribute>
82
+ <xsl:if test="@result!='Skip'">
83
+ <xsl:attribute name="success">
84
+ <xsl:if test="@result='Fail'">False</xsl:if>
85
+ <xsl:if test="@result='Pass'">True</xsl:if>
86
+ </xsl:attribute>
87
+ </xsl:if>
88
+ <xsl:if test="@time">
89
+ <xsl:attribute name="time">
90
+ <xsl:value-of select="@time"/>
91
+ </xsl:attribute>
92
+ </xsl:if>
93
+ <xsl:apply-templates select="traits"/>
94
+ <xsl:apply-templates select="failure"/>
95
+ </test-case>
96
+ </xsl:template>
97
+
98
+ <xsl:template match="traits">
99
+ <properties>
100
+ <xsl:apply-templates select="trait"/>
101
+ </properties>
102
+ </xsl:template>
103
+
104
+ <xsl:template match="trait">
105
+ <property>
106
+ <xsl:attribute name="name">
107
+ <xsl:value-of select="@name"/>
108
+ </xsl:attribute>
109
+ <xsl:attribute name="value">
110
+ <xsl:value-of select="@value"/>
111
+ </xsl:attribute>
112
+ </property>
113
+ </xsl:template>
114
+
115
+ <xsl:template match="failure">
116
+ <failure>
117
+ <xsl:copy-of select="node()"/>
118
+ </failure>
119
+ </xsl:template>
120
+
121
+ </xsl:stylesheet>
Binary file
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <configuration>
3
+
4
+ <configSections>
5
+ <section name="xunit" type="Xunit.ConsoleClient.XunitConsoleConfigurationSection, xunit.console.clr4"/>
6
+ </configSections>
7
+
8
+ <xunit>
9
+ <transforms>
10
+ <add
11
+ commandline="html"
12
+ xslfile="HTML.xslt"
13
+ description="output results to HTML file"/>
14
+ <add
15
+ commandline="nunit"
16
+ xslfile="NUnitXml.xslt"
17
+ description="output results to NUnit-style XML file"/>
18
+ </transforms>
19
+ </xunit>
20
+
21
+ </configuration>
Binary file
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <configuration>
3
+
4
+ <configSections>
5
+ <section name="xunit" type="Xunit.ConsoleClient.XunitConsoleConfigurationSection, xunit.console.clr4.x86"/>
6
+ </configSections>
7
+
8
+ <xunit>
9
+ <transforms>
10
+ <add
11
+ commandline="html"
12
+ xslfile="HTML.xslt"
13
+ description="output results to HTML file"/>
14
+ <add
15
+ commandline="nunit"
16
+ xslfile="NUnitXml.xslt"
17
+ description="output results to NUnit-style XML file"/>
18
+ </transforms>
19
+ </xunit>
20
+
21
+ </configuration>
Binary file
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <configuration>
3
+
4
+ <configSections>
5
+ <section name="xunit" type="Xunit.ConsoleClient.XunitConsoleConfigurationSection, xunit.console"/>
6
+ </configSections>
7
+
8
+ <xunit>
9
+ <transforms>
10
+ <add
11
+ commandline="html"
12
+ xslfile="HTML.xslt"
13
+ description="output results to HTML file"/>
14
+ <add
15
+ commandline="nunit"
16
+ xslfile="NUnitXml.xslt"
17
+ description="output results to NUnit-style XML file"/>
18
+ </transforms>
19
+ </xunit>
20
+
21
+ </configuration>
Binary file
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <configuration>
3
+
4
+ <configSections>
5
+ <section name="xunit" type="Xunit.ConsoleClient.XunitConsoleConfigurationSection, xunit.console.x86"/>
6
+ </configSections>
7
+
8
+ <xunit>
9
+ <transforms>
10
+ <add
11
+ commandline="html"
12
+ xslfile="HTML.xslt"
13
+ description="output results to HTML file"/>
14
+ <add
15
+ commandline="nunit"
16
+ xslfile="NUnitXml.xslt"
17
+ description="output results to NUnit-style XML file"/>
18
+ </transforms>
19
+ </xunit>
20
+
21
+ </configuration>
data/lib/xunit.dll ADDED
Binary file
@@ -0,0 +1,5 @@
1
+ <TestRunner>
2
+ <FriendlyName>xUnit.net {0}.{1}.{2} build {3}</FriendlyName>
3
+ <AssemblyPath>xunit.runner.tdnet.dll</AssemblyPath>
4
+ <TypeName>Xunit.Runner.TdNet.TdNetRunner</TypeName>
5
+ </TestRunner>
Binary file
@@ -0,0 +1,787 @@
1
+ <?xml version="1.0"?>
2
+ <doc>
3
+ <assembly>
4
+ <name>xunit.extensions</name>
5
+ </assembly>
6
+ <members>
7
+ <member name="T:Xunit.Extensions.Assertions">
8
+ <summary>
9
+ A wrapper for Assert which is used by <see cref="T:Xunit.Extensions.TestClass"/>.
10
+ </summary>
11
+ </member>
12
+ <member name="M:Xunit.Extensions.Assertions.Contains``1(``0,System.Collections.Generic.IEnumerable{``0})">
13
+ <summary>
14
+ Verifies that a collection contains a given object.
15
+ </summary>
16
+ <typeparam name="T">The type of the object to be verified</typeparam>
17
+ <param name="expected">The object expected to be in the collection</param>
18
+ <param name="collection">The collection to be inspected</param>
19
+ <exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
20
+ </member>
21
+ <member name="M:Xunit.Extensions.Assertions.Contains``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
22
+ <summary>
23
+ Verifies that a collection contains a given object, using an equality comparer.
24
+ </summary>
25
+ <typeparam name="T">The type of the object to be verified</typeparam>
26
+ <param name="expected">The object expected to be in the collection</param>
27
+ <param name="collection">The collection to be inspected</param>
28
+ <param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
29
+ <exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
30
+ </member>
31
+ <member name="M:Xunit.Extensions.Assertions.Contains``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
32
+ <summary>
33
+ Verifies that a collection contains a given object, using a comparer.
34
+ </summary>
35
+ <typeparam name="T">The type of the object to be verified</typeparam>
36
+ <param name="expected">The object expected to be in the collection</param>
37
+ <param name="collection">The collection to be inspected</param>
38
+ <param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
39
+ <exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
40
+ </member>
41
+ <member name="M:Xunit.Extensions.Assertions.Contains(System.String,System.String)">
42
+ <summary>
43
+ Verifies that a string contains a given sub-string, using the current culture.
44
+ </summary>
45
+ <param name="expectedSubString">The sub-string expected to be in the string</param>
46
+ <param name="actualString">The string to be inspected</param>
47
+ <exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
48
+ </member>
49
+ <member name="M:Xunit.Extensions.Assertions.Contains(System.String,System.String,System.StringComparison)">
50
+ <summary>
51
+ Verifies that a string contains a given sub-string, using the given comparison type.
52
+ </summary>
53
+ <param name="expectedSubString">The sub-string expected to be in the string</param>
54
+ <param name="actualString">The string to be inspected</param>
55
+ <param name="comparisonType">The type of string comparison to perform</param>
56
+ <exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
57
+ </member>
58
+ <member name="M:Xunit.Extensions.Assertions.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0})">
59
+ <summary>
60
+ Verifies that a collection does not contain a given object.
61
+ </summary>
62
+ <typeparam name="T">The type of the object to be compared</typeparam>
63
+ <param name="expected">The object that is expected not to be in the collection</param>
64
+ <param name="collection">The collection to be inspected</param>
65
+ <exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
66
+ </member>
67
+ <member name="M:Xunit.Extensions.Assertions.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
68
+ <summary>
69
+ Verifies that a collection does not contain a given object, using an equality comparer.
70
+ </summary>
71
+ <typeparam name="T">The type of the object to be compared</typeparam>
72
+ <param name="expected">The object that is expected not to be in the collection</param>
73
+ <param name="collection">The collection to be inspected</param>
74
+ <param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
75
+ <exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
76
+ </member>
77
+ <member name="M:Xunit.Extensions.Assertions.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
78
+ <summary>
79
+ Verifies that a collection does not contain a given object, using a comparer.
80
+ </summary>
81
+ <typeparam name="T">The type of the object to be compared</typeparam>
82
+ <param name="expected">The object that is expected not to be in the collection</param>
83
+ <param name="collection">The collection to be inspected</param>
84
+ <param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
85
+ <exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
86
+ </member>
87
+ <member name="M:Xunit.Extensions.Assertions.DoesNotContain(System.String,System.String)">
88
+ <summary>
89
+ Verifies that a string does not contain a given sub-string, using the current culture.
90
+ </summary>
91
+ <param name="expectedSubString">The sub-string which is expected not to be in the string</param>
92
+ <param name="actualString">The string to be inspected</param>
93
+ <exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the sub-string is present inside the string</exception>
94
+ </member>
95
+ <member name="M:Xunit.Extensions.Assertions.DoesNotContain(System.String,System.String,System.StringComparison)">
96
+ <summary>
97
+ Verifies that a string does not contain a given sub-string, using the current culture.
98
+ </summary>
99
+ <param name="expectedSubString">The sub-string which is expected not to be in the string</param>
100
+ <param name="actualString">The string to be inspected</param>
101
+ <param name="comparisonType">The type of string comparison to perform</param>
102
+ <exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the sub-string is present inside the given string</exception>
103
+ </member>
104
+ <member name="M:Xunit.Extensions.Assertions.DoesNotThrow(Xunit.Assert.ThrowsDelegate)">
105
+ <summary>
106
+ Verifies that a block of code does not throw any exceptions.
107
+ </summary>
108
+ <param name="testCode">A delegate to the code to be tested</param>
109
+ </member>
110
+ <member name="M:Xunit.Extensions.Assertions.Empty(System.Collections.IEnumerable)">
111
+ <summary>
112
+ Verifies that a collection is empty.
113
+ </summary>
114
+ <param name="collection">The collection to be inspected</param>
115
+ <exception cref="T:System.ArgumentNullException">Thrown when the collection is null</exception>
116
+ <exception cref="T:Xunit.Sdk.EmptyException">Thrown when the collection is not empty</exception>
117
+ </member>
118
+ <member name="M:Xunit.Extensions.Assertions.Equal``1(``0,``0)">
119
+ <summary>
120
+ Verifies that two objects are equal, using a default comparer.
121
+ </summary>
122
+ <typeparam name="T">The type of the objects to be compared</typeparam>
123
+ <param name="expected">The expected value</param>
124
+ <param name="actual">The value to be compared against</param>
125
+ <exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
126
+ </member>
127
+ <member name="M:Xunit.Extensions.Assertions.Equal``1(``0,``0,System.Collections.Generic.IEqualityComparer{``0})">
128
+ <summary>
129
+ Verifies that two objects are equal, using a custom equatable comparer.
130
+ </summary>
131
+ <typeparam name="T">The type of the objects to be compared</typeparam>
132
+ <param name="expected">The expected value</param>
133
+ <param name="actual">The value to be compared against</param>
134
+ <param name="comparer">The comparer used to compare the two objects</param>
135
+ <exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
136
+ </member>
137
+ <member name="M:Xunit.Extensions.Assertions.Equal``1(``0,``0,System.Collections.Generic.IComparer{``0})">
138
+ <summary>
139
+ Verifies that two objects are equal, using a custom comparer.
140
+ </summary>
141
+ <typeparam name="T">The type of the objects to be compared</typeparam>
142
+ <param name="expected">The expected value</param>
143
+ <param name="actual">The value to be compared against</param>
144
+ <param name="comparer">The comparer used to compare the two objects</param>
145
+ <exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
146
+ </member>
147
+ <member name="M:Xunit.Extensions.Assertions.False(System.Boolean)">
148
+ <summary>
149
+ Verifies that the condition is false.
150
+ </summary>
151
+ <param name="condition">The condition to be tested</param>
152
+ <exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception>
153
+ </member>
154
+ <member name="M:Xunit.Extensions.Assertions.False(System.Boolean,System.String)">
155
+ <summary>
156
+ Verifies that the condition is false.
157
+ </summary>
158
+ <param name="condition">The condition to be tested</param>
159
+ <param name="userMessage">The message to show when the condition is not false</param>
160
+ <exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception>
161
+ </member>
162
+ <member name="M:Xunit.Extensions.Assertions.InRange``1(``0,``0,``0)">
163
+ <summary>
164
+ Verifies that a value is within a given range.
165
+ </summary>
166
+ <typeparam name="T">The type of the value to be compared</typeparam>
167
+ <param name="actual">The actual value to be evaluated</param>
168
+ <param name="low">The (inclusive) low value of the range</param>
169
+ <param name="high">The (inclusive) high value of the range</param>
170
+ <exception cref="T:Xunit.Sdk.InRangeException">Thrown when the value is not in the given range</exception>
171
+ </member>
172
+ <member name="M:Xunit.Extensions.Assertions.InRange``1(``0,``0,``0,System.Collections.Generic.IComparer{``0})">
173
+ <summary>
174
+ Verifies that a value is within a given range, using a comparer.
175
+ </summary>
176
+ <typeparam name="T">The type of the value to be compared</typeparam>
177
+ <param name="actual">The actual value to be evaluated</param>
178
+ <param name="low">The (inclusive) low value of the range</param>
179
+ <param name="high">The (inclusive) high value of the range</param>
180
+ <param name="comparer">The comparer used to evaluate the value's range</param>
181
+ <exception cref="T:Xunit.Sdk.InRangeException">Thrown when the value is not in the given range</exception>
182
+ </member>
183
+ <member name="M:Xunit.Extensions.Assertions.IsAssignableFrom``1(System.Object)">
184
+ <summary>
185
+ Verifies that an object is of the given type or a derived type.
186
+ </summary>
187
+ <typeparam name="T">The type the object should be</typeparam>
188
+ <param name="object">The object to be evaluated</param>
189
+ <returns>The object, casted to type T when successful</returns>
190
+ <exception cref="T:Xunit.Sdk.IsAssignableFromException">Thrown when the object is not the given type</exception>
191
+ </member>
192
+ <member name="M:Xunit.Extensions.Assertions.IsAssignableFrom(System.Type,System.Object)">
193
+ <summary>
194
+ Verifies that an object is of the given type or a derived type.
195
+ </summary>
196
+ <param name="expectedType">The type the object should be</param>
197
+ <param name="object">The object to be evaluated</param>
198
+ <exception cref="T:Xunit.Sdk.IsAssignableFromException">Thrown when the object is not the given type</exception>
199
+ </member>
200
+ <member name="M:Xunit.Extensions.Assertions.IsNotType``1(System.Object)">
201
+ <summary>
202
+ Verifies that an object is not exactly the given type.
203
+ </summary>
204
+ <typeparam name="T">The type the object should not be</typeparam>
205
+ <param name="object">The object to be evaluated</param>
206
+ <exception cref="T:Xunit.Sdk.IsNotTypeException">Thrown when the object is the given type</exception>
207
+ </member>
208
+ <member name="M:Xunit.Extensions.Assertions.IsNotType(System.Type,System.Object)">
209
+ <summary>
210
+ Verifies that an object is not exactly the given type.
211
+ </summary>
212
+ <param name="expectedType">The type the object should not be</param>
213
+ <param name="object">The object to be evaluated</param>
214
+ <exception cref="T:Xunit.Sdk.IsNotTypeException">Thrown when the object is the given type</exception>
215
+ </member>
216
+ <member name="M:Xunit.Extensions.Assertions.IsType``1(System.Object)">
217
+ <summary>
218
+ Verifies that an object is exactly the given type (and not a derived type).
219
+ </summary>
220
+ <typeparam name="T">The type the object should be</typeparam>
221
+ <param name="object">The object to be evaluated</param>
222
+ <returns>The object, casted to type T when successful</returns>
223
+ <exception cref="T:Xunit.Sdk.IsTypeException">Thrown when the object is not the given type</exception>
224
+ </member>
225
+ <member name="M:Xunit.Extensions.Assertions.IsType(System.Type,System.Object)">
226
+ <summary>
227
+ Verifies that an object is exactly the given type (and not a derived type).
228
+ </summary>
229
+ <param name="expectedType">The type the object should be</param>
230
+ <param name="object">The object to be evaluated</param>
231
+ <exception cref="T:Xunit.Sdk.IsTypeException">Thrown when the object is not the given type</exception>
232
+ </member>
233
+ <member name="M:Xunit.Extensions.Assertions.NotEmpty(System.Collections.IEnumerable)">
234
+ <summary>
235
+ Verifies that a collection is not empty.
236
+ </summary>
237
+ <param name="collection">The collection to be inspected</param>
238
+ <exception cref="T:System.ArgumentNullException">Thrown when a null collection is passed</exception>
239
+ <exception cref="T:Xunit.Sdk.NotEmptyException">Thrown when the collection is empty</exception>
240
+ </member>
241
+ <member name="M:Xunit.Extensions.Assertions.NotEqual``1(``0,``0)">
242
+ <summary>
243
+ Verifies that two objects are not equal, using a default comparer.
244
+ </summary>
245
+ <typeparam name="T">The type of the objects to be compared</typeparam>
246
+ <param name="expected">The expected object</param>
247
+ <param name="actual">The actual object</param>
248
+ <exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
249
+ </member>
250
+ <member name="M:Xunit.Extensions.Assertions.NotEqual``1(``0,``0,System.Collections.Generic.IEqualityComparer{``0})">
251
+ <summary>
252
+ Verifies that two objects are not equal, using a custom equality comparer.
253
+ </summary>
254
+ <typeparam name="T">The type of the objects to be compared</typeparam>
255
+ <param name="expected">The expected object</param>
256
+ <param name="actual">The actual object</param>
257
+ <param name="comparer">The comparer used to examine the objects</param>
258
+ <exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
259
+ </member>
260
+ <member name="M:Xunit.Extensions.Assertions.NotEqual``1(``0,``0,System.Collections.Generic.IComparer{``0})">
261
+ <summary>
262
+ Verifies that two objects are not equal, using a custom comparer.
263
+ </summary>
264
+ <typeparam name="T">The type of the objects to be compared</typeparam>
265
+ <param name="expected">The expected object</param>
266
+ <param name="actual">The actual object</param>
267
+ <param name="comparer">The comparer used to examine the objects</param>
268
+ <exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
269
+ </member>
270
+ <member name="M:Xunit.Extensions.Assertions.NotInRange``1(``0,``0,``0)">
271
+ <summary>
272
+ Verifies that a value is not within a given range, using the default comparer.
273
+ </summary>
274
+ <typeparam name="T">The type of the value to be compared</typeparam>
275
+ <param name="actual">The actual value to be evaluated</param>
276
+ <param name="low">The (inclusive) low value of the range</param>
277
+ <param name="high">The (inclusive) high value of the range</param>
278
+ <exception cref="T:Xunit.Sdk.NotInRangeException">Thrown when the value is in the given range</exception>
279
+ </member>
280
+ <member name="M:Xunit.Extensions.Assertions.NotInRange``1(``0,``0,``0,System.Collections.Generic.IComparer{``0})">
281
+ <summary>
282
+ Verifies that a value is not within a given range, using a comparer.
283
+ </summary>
284
+ <typeparam name="T">The type of the value to be compared</typeparam>
285
+ <param name="actual">The actual value to be evaluated</param>
286
+ <param name="low">The (inclusive) low value of the range</param>
287
+ <param name="high">The (inclusive) high value of the range</param>
288
+ <param name="comparer">The comparer used to evaluate the value's range</param>
289
+ <exception cref="T:Xunit.Sdk.NotInRangeException">Thrown when the value is in the given range</exception>
290
+ </member>
291
+ <member name="M:Xunit.Extensions.Assertions.NotNull(System.Object)">
292
+ <summary>
293
+ Verifies that an object reference is not null.
294
+ </summary>
295
+ <param name="object">The object to be validated</param>
296
+ <exception cref="T:Xunit.Sdk.NotNullException">Thrown when the object is not null</exception>
297
+ </member>
298
+ <member name="M:Xunit.Extensions.Assertions.NotSame(System.Object,System.Object)">
299
+ <summary>
300
+ Verifies that two objects are not the same instance.
301
+ </summary>
302
+ <param name="expected">The expected object instance</param>
303
+ <param name="actual">The actual object instance</param>
304
+ <exception cref="T:Xunit.Sdk.NotSameException">Thrown when the objects are the same instance</exception>
305
+ </member>
306
+ <member name="M:Xunit.Extensions.Assertions.Null(System.Object)">
307
+ <summary>
308
+ Verifies that an object reference is null.
309
+ </summary>
310
+ <param name="object">The object to be inspected</param>
311
+ <exception cref="T:Xunit.Sdk.NullException">Thrown when the object reference is not null</exception>
312
+ </member>
313
+ <member name="M:Xunit.Extensions.Assertions.Same(System.Object,System.Object)">
314
+ <summary>
315
+ Verifies that two objects are the same instance.
316
+ </summary>
317
+ <param name="expected">The expected object instance</param>
318
+ <param name="actual">The actual object instance</param>
319
+ <exception cref="T:Xunit.Sdk.SameException">Thrown when the objects are not the same instance</exception>
320
+ </member>
321
+ <member name="M:Xunit.Extensions.Assertions.Single(System.Collections.IEnumerable)">
322
+ <summary>
323
+ Verifies that the given collection contains only a single
324
+ element of the given type.
325
+ </summary>
326
+ <param name="collection">The collection.</param>
327
+ <returns>The single item in the collection.</returns>
328
+ <exception cref="T:Xunit.Sdk.SingleException">Thrown when the collection does not contain
329
+ exactly one element.</exception>
330
+ </member>
331
+ <member name="M:Xunit.Extensions.Assertions.Single``1(System.Collections.Generic.IEnumerable{``0})">
332
+ <summary>
333
+ Verifies that the given collection contains only a single
334
+ element of the given type.
335
+ </summary>
336
+ <typeparam name="T">The collection type.</typeparam>
337
+ <param name="collection">The collection.</param>
338
+ <returns>The single item in the collection.</returns>
339
+ <exception cref="T:Xunit.Sdk.SingleException">Thrown when the collection does not contain
340
+ exactly one element.</exception>
341
+ </member>
342
+ <member name="M:Xunit.Extensions.Assertions.Throws``1(Xunit.Assert.ThrowsDelegate)">
343
+ <summary>
344
+ Verifies that the exact exception is thrown (and not a derived exception type).
345
+ </summary>
346
+ <typeparam name="T">The type of the exception expected to be thrown</typeparam>
347
+ <param name="testCode">A delegate to the code to be tested</param>
348
+ <returns>The exception that was thrown, when successful</returns>
349
+ <exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
350
+ </member>
351
+ <member name="M:Xunit.Extensions.Assertions.Throws``1(Xunit.Assert.ThrowsDelegateWithReturn)">
352
+ <summary>
353
+ Verifies that the exact exception is thrown (and not a derived exception type).
354
+ Generally used to test property accessors.
355
+ </summary>
356
+ <typeparam name="T">The type of the exception expected to be thrown</typeparam>
357
+ <param name="testCode">A delegate to the code to be tested</param>
358
+ <returns>The exception that was thrown, when successful</returns>
359
+ <exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
360
+ </member>
361
+ <member name="M:Xunit.Extensions.Assertions.Throws(System.Type,Xunit.Assert.ThrowsDelegate)">
362
+ <summary>
363
+ Verifies that the exact exception is thrown (and not a derived exception type).
364
+ </summary>
365
+ <param name="exceptionType">The type of the exception expected to be thrown</param>
366
+ <param name="testCode">A delegate to the code to be tested</param>
367
+ <returns>The exception that was thrown, when successful</returns>
368
+ <exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
369
+ </member>
370
+ <member name="M:Xunit.Extensions.Assertions.Throws(System.Type,Xunit.Assert.ThrowsDelegateWithReturn)">
371
+ <summary>
372
+ Verifies that the exact exception is thrown (and not a derived exception type).
373
+ Generally used to test property accessors.
374
+ </summary>
375
+ <param name="exceptionType">The type of the exception expected to be thrown</param>
376
+ <param name="testCode">A delegate to the code to be tested</param>
377
+ <returns>The exception that was thrown, when successful</returns>
378
+ <exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
379
+ </member>
380
+ <member name="M:Xunit.Extensions.Assertions.True(System.Boolean)">
381
+ <summary>
382
+ Verifies that an expression is true.
383
+ </summary>
384
+ <param name="condition">The condition to be inspected</param>
385
+ <exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception>
386
+ </member>
387
+ <member name="M:Xunit.Extensions.Assertions.True(System.Boolean,System.String)">
388
+ <summary>
389
+ Verifies that an expression is true.
390
+ </summary>
391
+ <param name="condition">The condition to be inspected</param>
392
+ <param name="userMessage">The message to be shown when the condition is false</param>
393
+ <exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception>
394
+ </member>
395
+ <member name="T:Xunit.Extensions.TestClass">
396
+ <summary>
397
+ A class which can be derived from for test classes, which bring an overridable version
398
+ of Assert (using the <see cref="T:Xunit.Extensions.Assertions"/> class.
399
+ </summary>
400
+ </member>
401
+ <member name="P:Xunit.Extensions.TestClass.Assert">
402
+ <summary>
403
+ Gets a class which provides assertions.
404
+ </summary>
405
+ </member>
406
+ <member name="T:Xunit.Extensions.AssumeIdentityAttribute">
407
+ <summary>
408
+ Apply this attribute to your test method to replace the
409
+ <see cref="P:System.Threading.Thread.CurrentPrincipal"/> with another role.
410
+ </summary>
411
+ </member>
412
+ <member name="M:Xunit.Extensions.AssumeIdentityAttribute.#ctor(System.String)">
413
+ <summary>
414
+ Replaces the identity of the current thread with <paramref name="name"/>.
415
+ </summary>
416
+ <param name="name">The role's name</param>
417
+ </member>
418
+ <member name="M:Xunit.Extensions.AssumeIdentityAttribute.After(System.Reflection.MethodInfo)">
419
+ <summary>
420
+ Restores the original <see cref="P:System.Threading.Thread.CurrentPrincipal"/>.
421
+ </summary>
422
+ <param name="methodUnderTest">The method under test</param>
423
+ </member>
424
+ <member name="M:Xunit.Extensions.AssumeIdentityAttribute.Before(System.Reflection.MethodInfo)">
425
+ <summary>
426
+ Stores the current <see cref="P:System.Threading.Thread.CurrentPrincipal"/> and replaces it with
427
+ a new role identified in constructor.
428
+ </summary>
429
+ <param name="methodUnderTest">The method under test</param>
430
+ </member>
431
+ <member name="T:Xunit.Extensions.AutoRollbackAttribute">
432
+ <summary>
433
+ Apply this attribute to your test method to automatically create a
434
+ <see cref="T:System.Transactions.TransactionScope"/> that is rolled back when the test is
435
+ finished.
436
+ </summary>
437
+ </member>
438
+ <member name="M:Xunit.Extensions.AutoRollbackAttribute.After(System.Reflection.MethodInfo)">
439
+ <summary>
440
+ Rolls back the transaction.
441
+ </summary>
442
+ </member>
443
+ <member name="M:Xunit.Extensions.AutoRollbackAttribute.Before(System.Reflection.MethodInfo)">
444
+ <summary>
445
+ Creates the transaction.
446
+ </summary>
447
+ </member>
448
+ <member name="P:Xunit.Extensions.AutoRollbackAttribute.IsolationLevel">
449
+ <summary>
450
+ Gets or sets the isolation level of the transaction.
451
+ Default value is <see cref="P:Xunit.Extensions.AutoRollbackAttribute.IsolationLevel"/>.Unspecified.
452
+ </summary>
453
+ </member>
454
+ <member name="P:Xunit.Extensions.AutoRollbackAttribute.ScopeOption">
455
+ <summary>
456
+ Gets or sets the scope option for the transaction.
457
+ Default value is <see cref="T:System.Transactions.TransactionScopeOption"/>.Required.
458
+ </summary>
459
+ </member>
460
+ <member name="P:Xunit.Extensions.AutoRollbackAttribute.TimeoutInMS">
461
+ <summary>
462
+ Gets or sets the timeout of the transaction, in milliseconds.
463
+ By default, the transaction will not timeout.
464
+ </summary>
465
+ </member>
466
+ <member name="T:Xunit.Extensions.ClassDataAttribute">
467
+ <summary>
468
+ Provides a data source for a data theory, with the data coming from a class
469
+ which must implement IEnumerable&lt;object[]&gt;.
470
+ </summary>
471
+ </member>
472
+ <member name="T:Xunit.Extensions.DataAttribute">
473
+ <summary>
474
+ Abstract attribute which represents a data source for a data theory.
475
+ Data source providers derive from this attribute and implement GetData
476
+ to return the data for the theory.
477
+ </summary>
478
+ </member>
479
+ <member name="M:Xunit.Extensions.DataAttribute.GetData(System.Reflection.MethodInfo,System.Type[])">
480
+ <summary>
481
+ Returns the data to be used to test the theory.
482
+ </summary>
483
+ <remarks>
484
+ The <paramref name="parameterTypes"/> parameter is provided so that the
485
+ test data can be converted to the destination parameter type when necessary.
486
+ Generally, data should NOT be automatically converted, UNLESS the source data
487
+ format does not have rich types (for example, all numbers in Excel spreadsheets
488
+ are returned as <see cref="T:System.Double"/> even if they are integers). Derivers of
489
+ this class should NOT throw exceptions for mismatched types or mismatched number
490
+ of parameters; the test framework will throw these exceptions at the correct
491
+ time.
492
+ </remarks>
493
+ <param name="methodUnderTest">The method that is being tested</param>
494
+ <param name="parameterTypes">The types of the parameters for the test method</param>
495
+ <returns>The theory data</returns>
496
+ </member>
497
+ <member name="P:Xunit.Extensions.DataAttribute.TypeId">
498
+ <inheritdoc/>
499
+ </member>
500
+ <member name="M:Xunit.Extensions.ClassDataAttribute.#ctor(System.Type)">
501
+ <summary>
502
+ Initializes a new instance of the <see cref="T:Xunit.Extensions.ClassDataAttribute"/> class.
503
+ </summary>
504
+ <param name="class">The class that provides the data.</param>
505
+ </member>
506
+ <member name="M:Xunit.Extensions.ClassDataAttribute.GetData(System.Reflection.MethodInfo,System.Type[])">
507
+ <inheritdoc/>
508
+ </member>
509
+ <member name="T:Xunit.Extensions.DataAdapterDataAttribute">
510
+ <summary>
511
+ Represents an implementation of <see cref="T:Xunit.Extensions.DataAttribute"/> which uses an
512
+ instance of <see cref="T:System.Data.IDataAdapter"/> to get the data for a <see cref="T:Xunit.Extensions.TheoryAttribute"/>
513
+ decorated test method.
514
+ </summary>
515
+ </member>
516
+ <member name="M:Xunit.Extensions.DataAdapterDataAttribute.GetData(System.Reflection.MethodInfo,System.Type[])">
517
+ <inheritdoc/>
518
+ </member>
519
+ <member name="M:Xunit.Extensions.DataAdapterDataAttribute.ConvertParameter(System.Object,System.Type)">
520
+ <summary>
521
+ Converts a parameter to its destination parameter type, if necessary.
522
+ </summary>
523
+ <param name="parameter">The parameter value</param>
524
+ <param name="parameterType">The destination parameter type (null if not known)</param>
525
+ <returns>The converted parameter value</returns>
526
+ </member>
527
+ <member name="P:Xunit.Extensions.DataAdapterDataAttribute.DataAdapter">
528
+ <summary>
529
+ Gets the data adapter to be used to retrieve the test data.
530
+ </summary>
531
+ </member>
532
+ <member name="T:Xunit.Extensions.InlineDataAttribute">
533
+ <summary>
534
+ Provides a data source for a data theory, with the data coming from inline values.
535
+ </summary>
536
+ </member>
537
+ <member name="M:Xunit.Extensions.InlineDataAttribute.#ctor(System.Object[])">
538
+ <summary>
539
+ Initializes a new instance of the <see cref="T:Xunit.Extensions.InlineDataAttribute"/> class.
540
+ </summary>
541
+ <param name="dataValues">The data values to pass to the theory</param>
542
+ </member>
543
+ <member name="M:Xunit.Extensions.InlineDataAttribute.GetData(System.Reflection.MethodInfo,System.Type[])">
544
+ <summary>
545
+ Returns the data to be used to test the theory.
546
+ </summary>
547
+ <param name="methodUnderTest">The method that is being tested</param>
548
+ <param name="parameterTypes">The types of the parameters for the test method</param>
549
+ <returns>The theory data, in table form</returns>
550
+ </member>
551
+ <member name="T:Xunit.Extensions.OleDbDataAttribute">
552
+ <summary>
553
+ Provides a data source for a data theory, with the data coming from an OLEDB connection.
554
+ </summary>
555
+ </member>
556
+ <member name="M:Xunit.Extensions.OleDbDataAttribute.#ctor(System.String,System.String)">
557
+ <summary>
558
+ Creates a new instance of <see cref="T:Xunit.Extensions.OleDbDataAttribute"/>.
559
+ </summary>
560
+ <param name="connectionString">The OLEDB connection string to the data</param>
561
+ <param name="selectStatement">The SELECT statement used to return the data for the theory</param>
562
+ </member>
563
+ <member name="P:Xunit.Extensions.OleDbDataAttribute.DataAdapter">
564
+ <inheritdoc/>
565
+ </member>
566
+ <member name="T:Xunit.Extensions.PropertyDataAttribute">
567
+ <summary>
568
+ Provides a data source for a data theory, with the data coming from a public static property on the test class.
569
+ The property must return IEnumerable&lt;object[]&gt; with the test data.
570
+ </summary>
571
+ </member>
572
+ <member name="M:Xunit.Extensions.PropertyDataAttribute.#ctor(System.String)">
573
+ <summary>
574
+ Creates a new instance of <see cref="T:Xunit.Extensions.PropertyDataAttribute"/>/
575
+ </summary>
576
+ <param name="propertyName">The name of the public static property on the test class that will provide the test data</param>
577
+ </member>
578
+ <member name="M:Xunit.Extensions.PropertyDataAttribute.GetData(System.Reflection.MethodInfo,System.Type[])">
579
+ <summary>
580
+ Returns the data to be used to test the theory.
581
+ </summary>
582
+ <param name="methodUnderTest">The method that is being tested</param>
583
+ <param name="parameterTypes">The types of the parameters for the test method</param>
584
+ <returns>The theory data, in table form</returns>
585
+ </member>
586
+ <member name="T:Xunit.Extensions.SqlServerDataAttribute">
587
+ <summary>
588
+ Provides a data source for a data theory, with the data coming a Microsoft SQL Server.
589
+ </summary>
590
+ </member>
591
+ <member name="M:Xunit.Extensions.SqlServerDataAttribute.#ctor(System.String,System.String,System.String)">
592
+ <summary>
593
+ Creates a new instance of <see cref="T:Xunit.Extensions.SqlServerDataAttribute"/>, using a trusted connection.
594
+ </summary>
595
+ <param name="serverName">The server name of the Microsoft SQL Server</param>
596
+ <param name="databaseName">The database name</param>
597
+ <param name="selectStatement">The SQL SELECT statement to return the data for the data theory</param>
598
+ </member>
599
+ <member name="M:Xunit.Extensions.SqlServerDataAttribute.#ctor(System.String,System.String,System.String,System.String,System.String)">
600
+ <summary>
601
+ Creates a new instance of <see cref="T:Xunit.Extensions.SqlServerDataAttribute"/>, using the provided username and password.
602
+ </summary>
603
+ <param name="serverName">The server name of the Microsoft SQL Server</param>
604
+ <param name="databaseName">The database name</param>
605
+ <param name="username">The username for the server</param>
606
+ <param name="password">The password for the server</param>
607
+ <param name="selectStatement">The SQL SELECT statement to return the data for the data theory</param>
608
+ </member>
609
+ <member name="T:Xunit.Extensions.ExcelDataAttribute">
610
+ <summary>
611
+ Provides a data source for a data theory, with the data coming a Microsoft Excel (.xls) spreadsheet.
612
+ </summary>
613
+ </member>
614
+ <member name="M:Xunit.Extensions.ExcelDataAttribute.#ctor(System.String,System.String)">
615
+ <summary>
616
+ Creates a new instance of <see cref="T:Xunit.Extensions.ExcelDataAttribute"/>.
617
+ </summary>
618
+ <param name="filename">The filename of the XLS spreadsheet file; if the filename provided
619
+ is relative, then it is relative to the location of xunit.extensions.dll.</param>
620
+ <param name="selectStatement">The SELECT statement that returns the data for the theory</param>
621
+ </member>
622
+ <member name="M:Xunit.Extensions.ExcelDataAttribute.ConvertParameter(System.Object,System.Type)">
623
+ <inheritdoc/>
624
+ </member>
625
+ <member name="T:Xunit.Extensions.Clock">
626
+ <summary>
627
+ A wrapper around the static operations on <see cref="T:System.DateTime"/> which allows time
628
+ to be frozen using the <see cref="T:Xunit.Extensions.FreezeClockAttribute"/>. The clock begins in the
629
+ thawed state; that is, calls to <see cref="P:Xunit.Extensions.Clock.Now"/>, <see cref="P:Xunit.Extensions.Clock.Today"/>, and
630
+ <see cref="P:Xunit.Extensions.Clock.UtcNow"/> return current (non-frozen) values.
631
+ </summary>
632
+ </member>
633
+ <member name="M:Xunit.Extensions.Clock.Freeze">
634
+ <summary>
635
+ Freezes the clock with the current time.
636
+ Until <see cref="M:Xunit.Extensions.Clock.Thaw"/> is called, all calls to <see cref="P:Xunit.Extensions.Clock.Now"/>, <see cref="P:Xunit.Extensions.Clock.Today"/>, and
637
+ <see cref="P:Xunit.Extensions.Clock.UtcNow"/> will return the exact same values.
638
+ </summary>
639
+ </member>
640
+ <member name="M:Xunit.Extensions.Clock.FreezeLocal(System.DateTime)">
641
+ <summary>
642
+ Freezes the clock with the given date and time, considered to be local time.
643
+ Until <see cref="M:Xunit.Extensions.Clock.Thaw"/> is called, all calls to <see cref="P:Xunit.Extensions.Clock.Now"/>, <see cref="P:Xunit.Extensions.Clock.Today"/>, and
644
+ <see cref="P:Xunit.Extensions.Clock.UtcNow"/> will return the exact same values.
645
+ </summary>
646
+ <param name="localDateTime">The local date and time to freeze to</param>
647
+ </member>
648
+ <member name="M:Xunit.Extensions.Clock.FreezeUtc(System.DateTime)">
649
+ <summary>
650
+ Freezes the clock with the given date and time, considered to be Coordinated Universal Time (UTC).
651
+ Until <see cref="M:Xunit.Extensions.Clock.Thaw"/> is called, all calls to <see cref="P:Xunit.Extensions.Clock.Now"/>, <see cref="P:Xunit.Extensions.Clock.Today"/>, and
652
+ <see cref="P:Xunit.Extensions.Clock.UtcNow"/> will return the exact same values.
653
+ </summary>
654
+ <param name="utcDateTime">The UTC date and time to freeze to</param>
655
+ </member>
656
+ <member name="M:Xunit.Extensions.Clock.Thaw">
657
+ <summary>
658
+ Thaws the clock so that <see cref="P:Xunit.Extensions.Clock.Now"/>, <see cref="P:Xunit.Extensions.Clock.Today"/>, and <see cref="P:Xunit.Extensions.Clock.UtcNow"/>
659
+ return normal values.
660
+ </summary>
661
+ </member>
662
+ <member name="P:Xunit.Extensions.Clock.Now">
663
+ <summary>
664
+ Gets a <see cref="T:System.DateTime"/> object that is set to the current date and time on this computer,
665
+ expressed as the local time.
666
+ </summary>
667
+ </member>
668
+ <member name="P:Xunit.Extensions.Clock.Today">
669
+ <summary>
670
+ Gets the current date.
671
+ </summary>
672
+ </member>
673
+ <member name="P:Xunit.Extensions.Clock.UtcNow">
674
+ <summary>
675
+ Gets a <see cref="T:System.DateTime"/> object that is set to the current date and time on this computer,
676
+ expressed as the Coordinated Universal Time (UTC).
677
+ </summary>
678
+ </member>
679
+ <member name="T:Xunit.Extensions.FreezeClockAttribute">
680
+ <summary>
681
+ Apply this attribute to your test method to freeze the time represented by the
682
+ <see cref="T:Xunit.Extensions.Clock"/> class.
683
+ </summary>
684
+ </member>
685
+ <member name="M:Xunit.Extensions.FreezeClockAttribute.#ctor">
686
+ <summary>
687
+ Freeze the clock with the current date and time.
688
+ </summary>
689
+ </member>
690
+ <member name="M:Xunit.Extensions.FreezeClockAttribute.#ctor(System.Int32,System.Int32,System.Int32)">
691
+ <summary>
692
+ Freeze the clock with the given date, considered to be local time.
693
+ </summary>
694
+ <param name="year">The frozen year</param>
695
+ <param name="month">The frozen month</param>
696
+ <param name="day">The frozen day</param>
697
+ </member>
698
+ <member name="M:Xunit.Extensions.FreezeClockAttribute.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
699
+ <summary>
700
+ Freeze the clock with the given date and time, considered to be in local time.
701
+ </summary>
702
+ <param name="year">The frozen year</param>
703
+ <param name="month">The frozen month</param>
704
+ <param name="day">The frozen day</param>
705
+ <param name="hour">The frozen hour</param>
706
+ <param name="minute">The frozen minute</param>
707
+ <param name="second">The frozen second</param>
708
+ </member>
709
+ <member name="M:Xunit.Extensions.FreezeClockAttribute.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.DateTimeKind)">
710
+ <summary>
711
+ Freeze the clock with the given date and time, with the given kind of time.
712
+ </summary>
713
+ <param name="year">The frozen year</param>
714
+ <param name="month">The frozen month</param>
715
+ <param name="day">The frozen day</param>
716
+ <param name="hour">The frozen hour</param>
717
+ <param name="minute">The frozen minute</param>
718
+ <param name="second">The frozen second</param>
719
+ <param name="kind">The frozen time kind</param>
720
+ </member>
721
+ <member name="M:Xunit.Extensions.FreezeClockAttribute.After(System.Reflection.MethodInfo)">
722
+ <summary>
723
+ Thaws the clock.
724
+ </summary>
725
+ <param name="methodUnderTest">The method under test</param>
726
+ </member>
727
+ <member name="M:Xunit.Extensions.FreezeClockAttribute.Before(System.Reflection.MethodInfo)">
728
+ <summary>
729
+ Freezes the clock.
730
+ </summary>
731
+ <param name="methodUnderTest">The method under test</param>
732
+ </member>
733
+ <member name="T:Xunit.Extensions.TheoryAttribute">
734
+ <summary>
735
+ Marks a test method as being a data theory. Data theories are tests which are fed
736
+ various bits of data from a data source, mapping to parameters on the test method.
737
+ If the data source contains multiple rows, then the test method is executed
738
+ multiple times (once with each data row).
739
+ </summary>
740
+ </member>
741
+ <member name="M:Xunit.Extensions.TheoryAttribute.EnumerateTestCommands(Xunit.Sdk.IMethodInfo)">
742
+ <summary>
743
+ Creates instances of <see cref="T:Xunit.Extensions.TheoryCommand"/> which represent individual intended
744
+ invocations of the test method, one per data row in the data source.
745
+ </summary>
746
+ <param name="method">The method under test</param>
747
+ <returns>An enumerator through the desired test method invocations</returns>
748
+ </member>
749
+ <member name="T:Xunit.Extensions.TheoryCommand">
750
+ <summary>
751
+ Represents a single invocation of a data theory test method.
752
+ </summary>
753
+ </member>
754
+ <member name="M:Xunit.Extensions.TheoryCommand.#ctor(Xunit.Sdk.IMethodInfo,System.Object[])">
755
+ <summary>
756
+ Creates a new instance of <see cref="T:Xunit.Extensions.TheoryCommand"/>.
757
+ </summary>
758
+ <param name="testMethod">The method under test</param>
759
+ <param name="parameters">The parameters to be passed to the test method</param>
760
+ </member>
761
+ <member name="M:Xunit.Extensions.TheoryCommand.Execute(System.Object)">
762
+ <inheritdoc/>
763
+ </member>
764
+ <member name="P:Xunit.Extensions.TheoryCommand.Parameters">
765
+ <summary>
766
+ Gets the parameter values that are passed to the test method.
767
+ </summary>
768
+ </member>
769
+ <member name="T:Xunit.Extensions.TraceAttribute">
770
+ <summary>
771
+ Apply to a test method to trace the method begin and end.
772
+ </summary>
773
+ </member>
774
+ <member name="M:Xunit.Extensions.TraceAttribute.Before(System.Reflection.MethodInfo)">
775
+ <summary>
776
+ This method is called before the test method is executed.
777
+ </summary>
778
+ <param name="methodUnderTest">The method under test</param>
779
+ </member>
780
+ <member name="M:Xunit.Extensions.TraceAttribute.After(System.Reflection.MethodInfo)">
781
+ <summary>
782
+ This method is called after the test method is executed.
783
+ </summary>
784
+ <param name="methodUnderTest">The method under test</param>
785
+ </member>
786
+ </members>
787
+ </doc>