albacore 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +17 -7
- data/VERSION +1 -1
- data/install_dependencies.rb +46 -0
- data/lib/albacore.rb +1 -0
- data/lib/albacore/command.rb +23 -0
- data/lib/albacore/expandtemplates.rb +19 -4
- data/lib/albacore/msbuild.rb +3 -0
- data/lib/albacore/mspectestrunner.rb +22 -8
- data/lib/albacore/nunittestrunner.rb +5 -4
- data/lib/albacore/sftp.rb +19 -3
- data/lib/albacore/ssh.rb +20 -3
- data/lib/albacore/xunittestrunner.rb +48 -0
- data/lib/albacore/zipdirectory.rb +33 -12
- data/lib/rake/assemblyinfotask.rb +9 -15
- data/lib/rake/commandtask.rb +16 -0
- data/lib/rake/expandtemplatestask.rb +8 -14
- data/lib/rake/msbuildtask.rb +10 -15
- data/lib/rake/mspectask.rb +16 -0
- data/lib/rake/ncoverconsoletask.rb +9 -15
- data/lib/rake/ncoverreporttask.rb +9 -15
- data/lib/rake/nunittask.rb +9 -15
- data/lib/rake/renametask.rb +11 -16
- data/lib/rake/sftptask.rb +8 -14
- data/lib/rake/sqlcmdtask.rb +9 -15
- data/lib/rake/sshtask.rb +8 -14
- data/lib/rake/support/albacoretask.rb +19 -0
- data/lib/rake/xunittask.rb +16 -0
- data/lib/rake/ziptask.rb +9 -14
- data/rakefile.rb +95 -11
- data/spec/command_spec.rb +23 -0
- data/spec/commandtask_spec.rb +31 -0
- data/spec/expandtemplates_spec.rb +52 -0
- data/spec/expandtemplatestask_spec.rb +1 -1
- data/spec/msbuild_spec.rb +5 -5
- data/spec/msbuildtask_spec.rb +1 -1
- data/spec/mspectask_spec.rb +31 -0
- data/spec/ncoverconsole_spec.rb +43 -43
- data/spec/ncoverconsoletask_spec.rb +1 -1
- data/spec/ncoverreport_spec.rb +51 -51
- data/spec/ncoverreporttask_spec.rb +1 -1
- data/spec/nunittask_spec.rb +1 -1
- data/spec/nunittestrunner_spec.rb +64 -0
- data/spec/patches/system_patch.rb +5 -1
- data/spec/renametask_spec.rb +1 -1
- data/spec/sftptask_spec.rb +1 -1
- data/spec/sqlcmd_spec.rb +39 -39
- data/spec/sqlcmdtask_spec.rb +1 -1
- data/spec/sshtask_spec.rb +1 -1
- data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll +0 -0
- data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll +0 -0
- data/spec/support/CodeCoverage/xunit/assemblies/xunit.dll +0 -0
- data/spec/support/CodeCoverage/xunit/assemblies/xunit.xml +2306 -0
- data/spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs +19 -0
- data/spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs +36 -0
- data/spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj +69 -0
- data/spec/support/TestSolution/TestSolution.sln +6 -0
- data/spec/support/expandtemplates/datafiles/sample_with_include.yml +2 -0
- data/spec/support/expandtemplates/datafiles/template_specific_data_file_with_include.yml +5 -0
- data/spec/support/expandtemplates/datafiles/template_specific_include.yml +3 -0
- data/spec/support/expandtemplatestestdata.rb +8 -0
- data/spec/support/spec_helper.rb +2 -0
- data/spec/xunittask_spec.rb +31 -0
- data/spec/zip_spec.rb +3 -3
- data/spec/ziptask_spec.rb +2 -1
- metadata +42 -4
@@ -5,7 +5,7 @@ require 'tasklib_patch'
|
|
5
5
|
|
6
6
|
describe Albacore::NCoverReportTask, "when running" do
|
7
7
|
before :all do
|
8
|
-
task = Albacore::NCoverReportTask.new() do |t|
|
8
|
+
task = Albacore::NCoverReportTask.new(:ncoverreport) do |t|
|
9
9
|
@yielded_object = t
|
10
10
|
end
|
11
11
|
task.extend(TasklibPatch)
|
data/spec/nunittask_spec.rb
CHANGED
@@ -0,0 +1,64 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
|
2
|
+
require 'albacore/nunittestrunner'
|
3
|
+
|
4
|
+
@@nunitpath = File.join(File.dirname(__FILE__), 'support', 'Tools', 'NUnit-v2.5', 'nunit-console-x86.exe')
|
5
|
+
@@test_assembly = File.join(File.expand_path(File.dirname(__FILE__)), 'support', 'CodeCoverage', 'nunit', 'assemblies', 'TestSolution.Tests.dll')
|
6
|
+
@@failing_test_assembly = File.join(File.expand_path(File.dirname(__FILE__)), 'support', 'CodeCoverage', 'nunit', 'failing_assemblies', 'TestSolution.FailingTests.dll')
|
7
|
+
@@output_option = "/out=nunit.results.html"
|
8
|
+
|
9
|
+
describe NUnitTestRunner, "the command parameters for an nunit runner" do
|
10
|
+
before :all do
|
11
|
+
nunit = NUnitTestRunner.new(@@nunitpath)
|
12
|
+
nunit.assemblies << [@@test_assembly, @@failing_test_assembly]
|
13
|
+
nunit.options << @@output_option
|
14
|
+
|
15
|
+
@command_parameters = nunit.get_command_parameters
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should not include the path to the command" do
|
19
|
+
@command_parameters.should_not include(@@nunitpath)
|
20
|
+
end
|
21
|
+
|
22
|
+
it "should include the list of assemblies" do
|
23
|
+
@command_parameters.should include("#{@@test_assembly} #{@@failing_test_assembly}")
|
24
|
+
end
|
25
|
+
|
26
|
+
it "should include the list of options" do
|
27
|
+
@command_parameters.should include(@@output_option)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
describe NUnitTestRunner, "the command line string for an nunit runner" do
|
32
|
+
before :all do
|
33
|
+
nunit = NUnitTestRunner.new(@@nunitpath)
|
34
|
+
nunit.assemblies << @@test_assembly
|
35
|
+
nunit.options << @@output_option
|
36
|
+
|
37
|
+
@command_line = nunit.get_command_line
|
38
|
+
@command_parameters = nunit.get_command_parameters.join(" ")
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should start with the path to the command" do
|
42
|
+
@command_line.split(" ").first.should == @@nunitpath
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should include the command parameters" do
|
46
|
+
@command_line.should include(@command_parameters)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
|
51
|
+
describe NUnitTestRunner, "when configured correctly" do
|
52
|
+
before :all do
|
53
|
+
nunit = NUnitTestRunner.new(@@nunitpath)
|
54
|
+
nunit.assemblies << @@test_assembly
|
55
|
+
nunit.options << '/noshadow'
|
56
|
+
|
57
|
+
nunit.execute
|
58
|
+
@failed = nunit.failed
|
59
|
+
end
|
60
|
+
|
61
|
+
it "should execute" do
|
62
|
+
@failed.should be_false
|
63
|
+
end
|
64
|
+
end
|
@@ -6,8 +6,12 @@ module SystemPatch
|
|
6
6
|
@force_command_failure = false
|
7
7
|
end
|
8
8
|
|
9
|
+
def system_command
|
10
|
+
@system_command
|
11
|
+
end
|
12
|
+
|
9
13
|
def system(cmd)
|
10
|
-
|
14
|
+
@system_command = cmd
|
11
15
|
result = true
|
12
16
|
result = super(cmd) if !disable_system
|
13
17
|
return false if @force_system_failure
|
data/spec/renametask_spec.rb
CHANGED
data/spec/sftptask_spec.rb
CHANGED
data/spec/sqlcmd_spec.rb
CHANGED
@@ -3,43 +3,43 @@ require 'albacore/sqlcmd'
|
|
3
3
|
|
4
4
|
describe SQLCmd, "when running a script file against a database with authentication information" do
|
5
5
|
before :all do
|
6
|
-
cmd = SQLCmd.new
|
7
|
-
cmd.path_to_command = "sqlcmd.exe"
|
8
|
-
cmd.log_level = :verbose
|
9
|
-
cmd.extend(SystemPatch)
|
10
|
-
cmd.disable_system = true
|
6
|
+
@cmd = SQLCmd.new
|
7
|
+
@cmd.path_to_command = "sqlcmd.exe"
|
8
|
+
@cmd.log_level = :verbose
|
9
|
+
@cmd.extend(SystemPatch)
|
10
|
+
@cmd.disable_system = true
|
11
11
|
|
12
|
-
cmd.server="a server"
|
13
|
-
cmd.database="a database"
|
14
|
-
cmd.username="some user"
|
15
|
-
cmd.password="shh! it's a secret!"
|
16
|
-
cmd.scripts << "somescript.sql"
|
12
|
+
@cmd.server="a server"
|
13
|
+
@cmd.database="a database"
|
14
|
+
@cmd.username="some user"
|
15
|
+
@cmd.password="shh! it's a secret!"
|
16
|
+
@cmd.scripts << "somescript.sql"
|
17
17
|
|
18
|
-
cmd.run
|
18
|
+
@cmd.run
|
19
19
|
end
|
20
20
|
|
21
21
|
it "should specify the location of the sqlcmd exe" do
|
22
|
-
|
22
|
+
@cmd.system_command.should include("sqlcmd.exe")
|
23
23
|
end
|
24
24
|
|
25
25
|
it "should specify the script file" do
|
26
|
-
|
26
|
+
@cmd.system_command.should include("-i \"somescript.sql\"")
|
27
27
|
end
|
28
28
|
|
29
29
|
it "should specify the server" do
|
30
|
-
|
30
|
+
@cmd.system_command.should include("-S \"a server\"")
|
31
31
|
end
|
32
32
|
|
33
33
|
it "should specify the database" do
|
34
|
-
|
34
|
+
@cmd.system_command.should include("-d \"a database\"")
|
35
35
|
end
|
36
36
|
|
37
37
|
it "should specify the username" do
|
38
|
-
|
38
|
+
@cmd.system_command.should include("-U \"some user\"")
|
39
39
|
end
|
40
40
|
|
41
41
|
it "should specify the password" do
|
42
|
-
|
42
|
+
@cmd.system_command.should include("-P \"shh! it's a secret!\"")
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
@@ -92,48 +92,48 @@ end
|
|
92
92
|
|
93
93
|
describe SQLCmd, "when running multiple script files" do
|
94
94
|
before :all do
|
95
|
-
cmd = SQLCmd.new
|
96
|
-
cmd.path_to_command = "sqlcmd.exe"
|
97
|
-
cmd.log_level = :verbose
|
98
|
-
cmd.extend(SystemPatch)
|
99
|
-
cmd.disable_system = true
|
95
|
+
@cmd = SQLCmd.new
|
96
|
+
@cmd.path_to_command = "sqlcmd.exe"
|
97
|
+
@cmd.log_level = :verbose
|
98
|
+
@cmd.extend(SystemPatch)
|
99
|
+
@cmd.disable_system = true
|
100
100
|
|
101
|
-
cmd.scripts << "did you get.sql"
|
102
|
-
cmd.scripts << "that thing.sql"
|
103
|
-
cmd.scripts << "i sent you.sql"
|
101
|
+
@cmd.scripts << "did you get.sql"
|
102
|
+
@cmd.scripts << "that thing.sql"
|
103
|
+
@cmd.scripts << "i sent you.sql"
|
104
104
|
|
105
|
-
cmd.run
|
105
|
+
@cmd.run
|
106
106
|
end
|
107
107
|
|
108
108
|
it "should specify the first script file" do
|
109
|
-
|
109
|
+
@cmd.system_command.should include("-i \"did you get.sql\"")
|
110
110
|
end
|
111
111
|
|
112
112
|
it "should specify the second script file" do
|
113
|
-
|
113
|
+
@cmd.system_command.should include("-i \"that thing.sql\"")
|
114
114
|
end
|
115
115
|
|
116
116
|
it "should specify the third script file" do
|
117
|
-
|
117
|
+
@cmd.system_command.should include("-i \"i sent you.sql\"")
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
121
121
|
describe SQLCmd, "when running with variables specified" do
|
122
122
|
before :all do
|
123
|
-
cmd = SQLCmd.new
|
124
|
-
cmd.path_to_command = "sqlcmd.exe"
|
125
|
-
cmd.log_level = :verbose
|
126
|
-
cmd.extend(SystemPatch)
|
127
|
-
cmd.disable_system = true
|
128
|
-
cmd.scripts << "somescript.sql"
|
123
|
+
@cmd = SQLCmd.new
|
124
|
+
@cmd.path_to_command = "sqlcmd.exe"
|
125
|
+
@cmd.log_level = :verbose
|
126
|
+
@cmd.extend(SystemPatch)
|
127
|
+
@cmd.disable_system = true
|
128
|
+
@cmd.scripts << "somescript.sql"
|
129
129
|
|
130
|
-
cmd.variables = {:myvar => "my value", :another_var => :another_value}
|
130
|
+
@cmd.variables = {:myvar => "my value", :another_var => :another_value}
|
131
131
|
|
132
|
-
cmd.run
|
132
|
+
@cmd.run
|
133
133
|
end
|
134
134
|
|
135
135
|
it "should supply the variables to sqlcmd" do
|
136
|
-
|
137
|
-
|
136
|
+
@cmd.system_command.should include("-v myvar=my value")
|
137
|
+
@cmd.system_command.should include("-v another_var=another_value")
|
138
138
|
end
|
139
139
|
end
|
data/spec/sqlcmdtask_spec.rb
CHANGED
data/spec/sshtask_spec.rb
CHANGED
Binary file
|
Binary file
|
@@ -0,0 +1,2306 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<doc>
|
3
|
+
<assembly>
|
4
|
+
<name>xunit</name>
|
5
|
+
</assembly>
|
6
|
+
<members>
|
7
|
+
<member name="T:Xunit.Assert">
|
8
|
+
<summary>
|
9
|
+
Contains various static methods that are used to verify that conditions are met during the
|
10
|
+
process of running tests.
|
11
|
+
</summary>
|
12
|
+
</member>
|
13
|
+
<member name="M:Xunit.Assert.#ctor">
|
14
|
+
<summary>
|
15
|
+
Initializes a new instance of the <see cref="T:Xunit.Assert"/> class.
|
16
|
+
</summary>
|
17
|
+
</member>
|
18
|
+
<member name="M:Xunit.Assert.Contains``1(``0,System.Collections.Generic.IEnumerable{``0})">
|
19
|
+
<summary>
|
20
|
+
Verifies that a collection contains a given object.
|
21
|
+
</summary>
|
22
|
+
<typeparam name="T">The type of the object to be verified</typeparam>
|
23
|
+
<param name="expected">The object expected to be in the collection</param>
|
24
|
+
<param name="collection">The collection to be inspected</param>
|
25
|
+
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
|
26
|
+
</member>
|
27
|
+
<member name="M:Xunit.Assert.Contains``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
|
28
|
+
<summary>
|
29
|
+
Verifies that a collection contains a given object, using a comparer.
|
30
|
+
</summary>
|
31
|
+
<typeparam name="T">The type of the object to be verified</typeparam>
|
32
|
+
<param name="expected">The object expected to be in the collection</param>
|
33
|
+
<param name="collection">The collection to be inspected</param>
|
34
|
+
<param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
|
35
|
+
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the object is not present in the collection</exception>
|
36
|
+
</member>
|
37
|
+
<member name="M:Xunit.Assert.Contains(System.String,System.String)">
|
38
|
+
<summary>
|
39
|
+
Verifies that a string contains a given sub-string, using the current culture.
|
40
|
+
</summary>
|
41
|
+
<param name="expectedSubString">The sub-string expected to be in the string</param>
|
42
|
+
<param name="actualString">The string to be inspected</param>
|
43
|
+
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
|
44
|
+
</member>
|
45
|
+
<member name="M:Xunit.Assert.Contains(System.String,System.String,System.StringComparison)">
|
46
|
+
<summary>
|
47
|
+
Verifies that a string contains a given sub-string, using the given comparison type.
|
48
|
+
</summary>
|
49
|
+
<param name="expectedSubString">The sub-string expected to be in the string</param>
|
50
|
+
<param name="actualString">The string to be inspected</param>
|
51
|
+
<param name="comparisonType">The type of string comparison to perform</param>
|
52
|
+
<exception cref="T:Xunit.Sdk.ContainsException">Thrown when the sub-string is not present inside the string</exception>
|
53
|
+
</member>
|
54
|
+
<member name="M:Xunit.Assert.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0})">
|
55
|
+
<summary>
|
56
|
+
Verifies that a collection does not contain a given object.
|
57
|
+
</summary>
|
58
|
+
<typeparam name="T">The type of the object to be compared</typeparam>
|
59
|
+
<param name="expected">The object that is expected not to be in the collection</param>
|
60
|
+
<param name="collection">The collection to be inspected</param>
|
61
|
+
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
|
62
|
+
</member>
|
63
|
+
<member name="M:Xunit.Assert.DoesNotContain``1(``0,System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
|
64
|
+
<summary>
|
65
|
+
Verifies that a collection does not contain a given object, using a comparer.
|
66
|
+
</summary>
|
67
|
+
<typeparam name="T">The type of the object to be compared</typeparam>
|
68
|
+
<param name="expected">The object that is expected not to be in the collection</param>
|
69
|
+
<param name="collection">The collection to be inspected</param>
|
70
|
+
<param name="comparer">The comparer used to equate objects in the collection with the expected object</param>
|
71
|
+
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the object is present inside the container</exception>
|
72
|
+
</member>
|
73
|
+
<member name="M:Xunit.Assert.DoesNotContain(System.String,System.String)">
|
74
|
+
<summary>
|
75
|
+
Verifies that a string does not contain a given sub-string, using the current culture.
|
76
|
+
</summary>
|
77
|
+
<param name="expectedSubString">The sub-string which is expected not to be in the string</param>
|
78
|
+
<param name="actualString">The string to be inspected</param>
|
79
|
+
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the sub-string is present inside the string</exception>
|
80
|
+
</member>
|
81
|
+
<member name="M:Xunit.Assert.DoesNotContain(System.String,System.String,System.StringComparison)">
|
82
|
+
<summary>
|
83
|
+
Verifies that a string does not contain a given sub-string, using the current culture.
|
84
|
+
</summary>
|
85
|
+
<param name="expectedSubString">The sub-string which is expected not to be in the string</param>
|
86
|
+
<param name="actualString">The string to be inspected</param>
|
87
|
+
<param name="comparisonType">The type of string comparison to perform</param>
|
88
|
+
<exception cref="T:Xunit.Sdk.DoesNotContainException">Thrown when the sub-string is present inside the given string</exception>
|
89
|
+
</member>
|
90
|
+
<member name="M:Xunit.Assert.DoesNotThrow(Xunit.Assert.ThrowsDelegate)">
|
91
|
+
<summary>
|
92
|
+
Verifies that a block of code does not throw any exceptions.
|
93
|
+
</summary>
|
94
|
+
<param name="testCode">A delegate to the code to be tested</param>
|
95
|
+
</member>
|
96
|
+
<member name="M:Xunit.Assert.Empty(System.Collections.IEnumerable)">
|
97
|
+
<summary>
|
98
|
+
Verifies that a collection is empty.
|
99
|
+
</summary>
|
100
|
+
<param name="collection">The collection to be inspected</param>
|
101
|
+
<exception cref="T:System.ArgumentNullException">Thrown when the collection is null</exception>
|
102
|
+
<exception cref="T:Xunit.Sdk.EmptyException">Thrown when the collection is not empty</exception>
|
103
|
+
</member>
|
104
|
+
<member name="M:Xunit.Assert.Equal``1(``0,``0)">
|
105
|
+
<summary>
|
106
|
+
Verifies that two objects are equal, using a default comparer.
|
107
|
+
</summary>
|
108
|
+
<typeparam name="T">The type of the objects to be compared</typeparam>
|
109
|
+
<param name="expected">The expected value</param>
|
110
|
+
<param name="actual">The value to be compared against</param>
|
111
|
+
<exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
|
112
|
+
</member>
|
113
|
+
<member name="M:Xunit.Assert.Equal``1(``0,``0,System.Collections.Generic.IComparer{``0})">
|
114
|
+
<summary>
|
115
|
+
Verifies that two objects are equal, using a custom comparer.
|
116
|
+
</summary>
|
117
|
+
<typeparam name="T">The type of the objects to be compared</typeparam>
|
118
|
+
<param name="expected">The expected value</param>
|
119
|
+
<param name="actual">The value to be compared against</param>
|
120
|
+
<param name="comparer">The comparer used to compare the two objects</param>
|
121
|
+
<exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
|
122
|
+
</member>
|
123
|
+
<member name="M:Xunit.Assert.Equals(System.Object,System.Object)">
|
124
|
+
<summary>Do not call this method.</summary>
|
125
|
+
</member>
|
126
|
+
<member name="M:Xunit.Assert.False(System.Boolean)">
|
127
|
+
<summary>
|
128
|
+
Verifies that the condition is false.
|
129
|
+
</summary>
|
130
|
+
<param name="condition">The condition to be tested</param>
|
131
|
+
<exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception>
|
132
|
+
</member>
|
133
|
+
<member name="M:Xunit.Assert.False(System.Boolean,System.String)">
|
134
|
+
<summary>
|
135
|
+
Verifies that the condition is false.
|
136
|
+
</summary>
|
137
|
+
<param name="condition">The condition to be tested</param>
|
138
|
+
<param name="userMessage">The message to show when the condition is not false</param>
|
139
|
+
<exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception>
|
140
|
+
</member>
|
141
|
+
<member name="M:Xunit.Assert.InRange``1(``0,``0,``0)">
|
142
|
+
<summary>
|
143
|
+
Verifies that a value is within a given range.
|
144
|
+
</summary>
|
145
|
+
<typeparam name="T">The type of the value to be compared</typeparam>
|
146
|
+
<param name="actual">The actual value to be evaluated</param>
|
147
|
+
<param name="low">The (inclusive) low value of the range</param>
|
148
|
+
<param name="high">The (inclusive) high value of the range</param>
|
149
|
+
<exception cref="T:Xunit.Sdk.InRangeException">Thrown when the value is not in the given range</exception>
|
150
|
+
</member>
|
151
|
+
<member name="M:Xunit.Assert.InRange``1(``0,``0,``0,System.Collections.Generic.IComparer{``0})">
|
152
|
+
<summary>
|
153
|
+
Verifies that a value is within a given range, using a comparer.
|
154
|
+
</summary>
|
155
|
+
<typeparam name="T">The type of the value to be compared</typeparam>
|
156
|
+
<param name="actual">The actual value to be evaluated</param>
|
157
|
+
<param name="low">The (inclusive) low value of the range</param>
|
158
|
+
<param name="high">The (inclusive) high value of the range</param>
|
159
|
+
<param name="comparer">The comparer used to evaluate the value's range</param>
|
160
|
+
<exception cref="T:Xunit.Sdk.InRangeException">Thrown when the value is not in the given range</exception>
|
161
|
+
</member>
|
162
|
+
<member name="M:Xunit.Assert.IsAssignableFrom``1(System.Object)">
|
163
|
+
<summary>
|
164
|
+
Verifies that an object is of the given type or a derived type.
|
165
|
+
</summary>
|
166
|
+
<typeparam name="T">The type the object should be</typeparam>
|
167
|
+
<param name="object">The object to be evaluated</param>
|
168
|
+
<returns>The object, casted to type T when successful</returns>
|
169
|
+
<exception cref="T:Xunit.Sdk.IsAssignableFromException">Thrown when the object is not the given type</exception>
|
170
|
+
</member>
|
171
|
+
<member name="M:Xunit.Assert.IsAssignableFrom(System.Type,System.Object)">
|
172
|
+
<summary>
|
173
|
+
Verifies that an object is of the given type or a derived type.
|
174
|
+
</summary>
|
175
|
+
<param name="expectedType">The type the object should be</param>
|
176
|
+
<param name="object">The object to be evaluated</param>
|
177
|
+
<exception cref="T:Xunit.Sdk.IsAssignableFromException">Thrown when the object is not the given type</exception>
|
178
|
+
</member>
|
179
|
+
<member name="M:Xunit.Assert.IsNotType``1(System.Object)">
|
180
|
+
<summary>
|
181
|
+
Verifies that an object is not exactly the given type.
|
182
|
+
</summary>
|
183
|
+
<typeparam name="T">The type the object should not be</typeparam>
|
184
|
+
<param name="object">The object to be evaluated</param>
|
185
|
+
<exception cref="T:Xunit.Sdk.IsNotTypeException">Thrown when the object is the given type</exception>
|
186
|
+
</member>
|
187
|
+
<member name="M:Xunit.Assert.IsNotType(System.Type,System.Object)">
|
188
|
+
<summary>
|
189
|
+
Verifies that an object is not exactly the given type.
|
190
|
+
</summary>
|
191
|
+
<param name="expectedType">The type the object should not be</param>
|
192
|
+
<param name="object">The object to be evaluated</param>
|
193
|
+
<exception cref="T:Xunit.Sdk.IsNotTypeException">Thrown when the object is the given type</exception>
|
194
|
+
</member>
|
195
|
+
<member name="M:Xunit.Assert.IsType``1(System.Object)">
|
196
|
+
<summary>
|
197
|
+
Verifies that an object is exactly the given type (and not a derived type).
|
198
|
+
</summary>
|
199
|
+
<typeparam name="T">The type the object should be</typeparam>
|
200
|
+
<param name="object">The object to be evaluated</param>
|
201
|
+
<returns>The object, casted to type T when successful</returns>
|
202
|
+
<exception cref="T:Xunit.Sdk.IsTypeException">Thrown when the object is not the given type</exception>
|
203
|
+
</member>
|
204
|
+
<member name="M:Xunit.Assert.IsType(System.Type,System.Object)">
|
205
|
+
<summary>
|
206
|
+
Verifies that an object is exactly the given type (and not a derived type).
|
207
|
+
</summary>
|
208
|
+
<param name="expectedType">The type the object should be</param>
|
209
|
+
<param name="object">The object to be evaluated</param>
|
210
|
+
<exception cref="T:Xunit.Sdk.IsTypeException">Thrown when the object is not the given type</exception>
|
211
|
+
</member>
|
212
|
+
<member name="M:Xunit.Assert.NotEmpty(System.Collections.IEnumerable)">
|
213
|
+
<summary>
|
214
|
+
Verifies that a collection is not empty.
|
215
|
+
</summary>
|
216
|
+
<param name="collection">The collection to be inspected</param>
|
217
|
+
<exception cref="T:System.ArgumentNullException">Thrown when a null collection is passed</exception>
|
218
|
+
<exception cref="T:Xunit.Sdk.NotEmptyException">Thrown when the collection is empty</exception>
|
219
|
+
</member>
|
220
|
+
<member name="M:Xunit.Assert.NotEqual``1(``0,``0)">
|
221
|
+
<summary>
|
222
|
+
Verifies that two objects are not equal, using a default comparer.
|
223
|
+
</summary>
|
224
|
+
<typeparam name="T">The type of the objects to be compared</typeparam>
|
225
|
+
<param name="expected">The expected object</param>
|
226
|
+
<param name="actual">The actual object</param>
|
227
|
+
<exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
|
228
|
+
</member>
|
229
|
+
<member name="M:Xunit.Assert.NotEqual``1(``0,``0,System.Collections.Generic.IComparer{``0})">
|
230
|
+
<summary>
|
231
|
+
Verifies that two objects are not equal, using a custom comparer.
|
232
|
+
</summary>
|
233
|
+
<typeparam name="T">The type of the objects to be compared</typeparam>
|
234
|
+
<param name="expected">The expected object</param>
|
235
|
+
<param name="actual">The actual object</param>
|
236
|
+
<param name="comparer">The comparer used to examine the objects</param>
|
237
|
+
<exception cref="T:Xunit.Sdk.NotEqualException">Thrown when the objects are equal</exception>
|
238
|
+
</member>
|
239
|
+
<member name="M:Xunit.Assert.NotInRange``1(``0,``0,``0)">
|
240
|
+
<summary>
|
241
|
+
Verifies that a value is not within a given range, using the default comparer.
|
242
|
+
</summary>
|
243
|
+
<typeparam name="T">The type of the value to be compared</typeparam>
|
244
|
+
<param name="actual">The actual value to be evaluated</param>
|
245
|
+
<param name="low">The (inclusive) low value of the range</param>
|
246
|
+
<param name="high">The (inclusive) high value of the range</param>
|
247
|
+
<exception cref="T:Xunit.Sdk.NotInRangeException">Thrown when the value is in the given range</exception>
|
248
|
+
</member>
|
249
|
+
<member name="M:Xunit.Assert.NotInRange``1(``0,``0,``0,System.Collections.Generic.IComparer{``0})">
|
250
|
+
<summary>
|
251
|
+
Verifies that a value is not within a given range, using a comparer.
|
252
|
+
</summary>
|
253
|
+
<typeparam name="T">The type of the value to be compared</typeparam>
|
254
|
+
<param name="actual">The actual value to be evaluated</param>
|
255
|
+
<param name="low">The (inclusive) low value of the range</param>
|
256
|
+
<param name="high">The (inclusive) high value of the range</param>
|
257
|
+
<param name="comparer">The comparer used to evaluate the value's range</param>
|
258
|
+
<exception cref="T:Xunit.Sdk.NotInRangeException">Thrown when the value is in the given range</exception>
|
259
|
+
</member>
|
260
|
+
<member name="M:Xunit.Assert.NotNull(System.Object)">
|
261
|
+
<summary>
|
262
|
+
Verifies that an object reference is not null.
|
263
|
+
</summary>
|
264
|
+
<param name="object">The object to be validated</param>
|
265
|
+
<exception cref="T:Xunit.Sdk.NotNullException">Thrown when the object is not null</exception>
|
266
|
+
</member>
|
267
|
+
<member name="M:Xunit.Assert.NotSame(System.Object,System.Object)">
|
268
|
+
<summary>
|
269
|
+
Verifies that two objects are not the same instance.
|
270
|
+
</summary>
|
271
|
+
<param name="expected">The expected object instance</param>
|
272
|
+
<param name="actual">The actual object instance</param>
|
273
|
+
<exception cref="T:Xunit.Sdk.NotSameException">Thrown when the objects are the same instance</exception>
|
274
|
+
</member>
|
275
|
+
<member name="M:Xunit.Assert.Null(System.Object)">
|
276
|
+
<summary>
|
277
|
+
Verifies that an object reference is null.
|
278
|
+
</summary>
|
279
|
+
<param name="object">The object to be inspected</param>
|
280
|
+
<exception cref="T:Xunit.Sdk.NullException">Thrown when the object reference is not null</exception>
|
281
|
+
</member>
|
282
|
+
<member name="M:Xunit.Assert.Same(System.Object,System.Object)">
|
283
|
+
<summary>
|
284
|
+
Verifies that two objects are the same instance.
|
285
|
+
</summary>
|
286
|
+
<param name="expected">The expected object instance</param>
|
287
|
+
<param name="actual">The actual object instance</param>
|
288
|
+
<exception cref="T:Xunit.Sdk.SameException">Thrown when the objects are not the same instance</exception>
|
289
|
+
</member>
|
290
|
+
<member name="M:Xunit.Assert.Throws``1(Xunit.Assert.ThrowsDelegate)">
|
291
|
+
<summary>
|
292
|
+
Verifies that the exact exception is thrown (and not a derived exception type).
|
293
|
+
</summary>
|
294
|
+
<typeparam name="T">The type of the exception expected to be thrown</typeparam>
|
295
|
+
<param name="testCode">A delegate to the code to be tested</param>
|
296
|
+
<returns>The exception that was thrown, when successful</returns>
|
297
|
+
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
|
298
|
+
</member>
|
299
|
+
<member name="M:Xunit.Assert.Throws``1(System.String,Xunit.Assert.ThrowsDelegate)">
|
300
|
+
<summary>
|
301
|
+
Verifies that the exact exception is thrown (and not a derived exception type).
|
302
|
+
</summary>
|
303
|
+
<typeparam name="T">The type of the exception expected to be thrown</typeparam>
|
304
|
+
<param name="userMessage">The message to be shown if the test fails</param>
|
305
|
+
<param name="testCode">A delegate to the code to be tested</param>
|
306
|
+
<returns>The exception that was thrown, when successful</returns>
|
307
|
+
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
|
308
|
+
</member>
|
309
|
+
<member name="M:Xunit.Assert.Throws``1(Xunit.Assert.ThrowsDelegateWithReturn)">
|
310
|
+
<summary>
|
311
|
+
Verifies that the exact exception is thrown (and not a derived exception type).
|
312
|
+
Generally used to test property accessors.
|
313
|
+
</summary>
|
314
|
+
<typeparam name="T">The type of the exception expected to be thrown</typeparam>
|
315
|
+
<param name="testCode">A delegate to the code to be tested</param>
|
316
|
+
<returns>The exception that was thrown, when successful</returns>
|
317
|
+
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
|
318
|
+
</member>
|
319
|
+
<member name="M:Xunit.Assert.Throws``1(System.String,Xunit.Assert.ThrowsDelegateWithReturn)">
|
320
|
+
<summary>
|
321
|
+
Verifies that the exact exception is thrown (and not a derived exception type).
|
322
|
+
Generally used to test property accessors.
|
323
|
+
</summary>
|
324
|
+
<typeparam name="T">The type of the exception expected to be thrown</typeparam>
|
325
|
+
<param name="userMessage">The message to be shown if the test fails</param>
|
326
|
+
<param name="testCode">A delegate to the code to be tested</param>
|
327
|
+
<returns>The exception that was thrown, when successful</returns>
|
328
|
+
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
|
329
|
+
</member>
|
330
|
+
<member name="M:Xunit.Assert.Throws(System.Type,Xunit.Assert.ThrowsDelegate)">
|
331
|
+
<summary>
|
332
|
+
Verifies that the exact exception is thrown (and not a derived exception type).
|
333
|
+
</summary>
|
334
|
+
<param name="exceptionType">The type of the exception expected to be thrown</param>
|
335
|
+
<param name="testCode">A delegate to the code to be tested</param>
|
336
|
+
<returns>The exception that was thrown, when successful</returns>
|
337
|
+
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
|
338
|
+
</member>
|
339
|
+
<member name="M:Xunit.Assert.Throws(System.Type,Xunit.Assert.ThrowsDelegateWithReturn)">
|
340
|
+
<summary>
|
341
|
+
Verifies that the exact exception is thrown (and not a derived exception type).
|
342
|
+
Generally used to test property accessors.
|
343
|
+
</summary>
|
344
|
+
<param name="exceptionType">The type of the exception expected to be thrown</param>
|
345
|
+
<param name="testCode">A delegate to the code to be tested</param>
|
346
|
+
<returns>The exception that was thrown, when successful</returns>
|
347
|
+
<exception cref="T:Xunit.Sdk.ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
|
348
|
+
</member>
|
349
|
+
<member name="M:Xunit.Assert.True(System.Boolean)">
|
350
|
+
<summary>
|
351
|
+
Verifies that an expression is true.
|
352
|
+
</summary>
|
353
|
+
<param name="condition">The condition to be inspected</param>
|
354
|
+
<exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception>
|
355
|
+
</member>
|
356
|
+
<member name="M:Xunit.Assert.True(System.Boolean,System.String)">
|
357
|
+
<summary>
|
358
|
+
Verifies that an expression is true.
|
359
|
+
</summary>
|
360
|
+
<param name="condition">The condition to be inspected</param>
|
361
|
+
<param name="userMessage">The message to be shown when the condition is false</param>
|
362
|
+
<exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception>
|
363
|
+
</member>
|
364
|
+
<member name="T:Xunit.Assert.ThrowsDelegate">
|
365
|
+
<summary>
|
366
|
+
Used by the Throws and DoesNotThrow methods.
|
367
|
+
</summary>
|
368
|
+
</member>
|
369
|
+
<member name="T:Xunit.Assert.ThrowsDelegateWithReturn">
|
370
|
+
<summary>
|
371
|
+
Used by the Throws and DoesNotThrow methods.
|
372
|
+
</summary>
|
373
|
+
</member>
|
374
|
+
<member name="T:Xunit.Sdk.OutputCaptureCommand">
|
375
|
+
<summary>
|
376
|
+
Captures standard output and standard error, and inserts the values into the
|
377
|
+
<see cref="T:Xunit.Sdk.MethodResult"/> as it traverses the chain.
|
378
|
+
</summary>
|
379
|
+
</member>
|
380
|
+
<member name="T:Xunit.Sdk.DelegatingTestCommand">
|
381
|
+
<summary>
|
382
|
+
Base class used by commands which delegate to inner commands.
|
383
|
+
</summary>
|
384
|
+
</member>
|
385
|
+
<member name="T:Xunit.Sdk.ITestCommand">
|
386
|
+
<summary>
|
387
|
+
Interface which represents the ability to invoke of a test method.
|
388
|
+
</summary>
|
389
|
+
</member>
|
390
|
+
<member name="M:Xunit.Sdk.ITestCommand.Execute(System.Object)">
|
391
|
+
<summary>
|
392
|
+
Executes the test method.
|
393
|
+
</summary>
|
394
|
+
<param name="testClass">The instance of the test class</param>
|
395
|
+
<returns>Returns information about the test run</returns>
|
396
|
+
</member>
|
397
|
+
<member name="M:Xunit.Sdk.ITestCommand.ToStartXml">
|
398
|
+
<summary>
|
399
|
+
Creates the start XML to be sent to the callback when the test is about to start
|
400
|
+
running.
|
401
|
+
</summary>
|
402
|
+
<returns>Return the <see cref="T:System.Xml.XmlNode"/> of the start node, or null if the test
|
403
|
+
is known that it will not be running.</returns>
|
404
|
+
</member>
|
405
|
+
<member name="P:Xunit.Sdk.ITestCommand.DisplayName">
|
406
|
+
<summary>
|
407
|
+
Gets the display name of the test method.
|
408
|
+
</summary>
|
409
|
+
</member>
|
410
|
+
<member name="P:Xunit.Sdk.ITestCommand.ShouldCreateInstance">
|
411
|
+
<summary>
|
412
|
+
Determines if the test runner infrastructure should create a new instance of the
|
413
|
+
test class before running the test.
|
414
|
+
</summary>
|
415
|
+
</member>
|
416
|
+
<member name="M:Xunit.Sdk.DelegatingTestCommand.#ctor(Xunit.Sdk.ITestCommand)">
|
417
|
+
<summary>
|
418
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.DelegatingTestCommand"/> class.
|
419
|
+
</summary>
|
420
|
+
<param name="innerCommand">The inner command to delegate to.</param>
|
421
|
+
</member>
|
422
|
+
<member name="M:Xunit.Sdk.DelegatingTestCommand.Execute(System.Object)">
|
423
|
+
<inheritdoc/>
|
424
|
+
</member>
|
425
|
+
<member name="M:Xunit.Sdk.DelegatingTestCommand.ToStartXml">
|
426
|
+
<inheritdoc/>
|
427
|
+
</member>
|
428
|
+
<member name="P:Xunit.Sdk.DelegatingTestCommand.InnerCommand">
|
429
|
+
<inheritdoc/>
|
430
|
+
</member>
|
431
|
+
<member name="P:Xunit.Sdk.DelegatingTestCommand.DisplayName">
|
432
|
+
<inheritdoc/>
|
433
|
+
</member>
|
434
|
+
<member name="P:Xunit.Sdk.DelegatingTestCommand.ShouldCreateInstance">
|
435
|
+
<inheritdoc/>
|
436
|
+
</member>
|
437
|
+
<member name="M:Xunit.Sdk.OutputCaptureCommand.#ctor(Xunit.Sdk.ITestCommand)">
|
438
|
+
<summary>
|
439
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.OutputCaptureCommand"/> class.
|
440
|
+
</summary>
|
441
|
+
<param name="innerCommand">The inner command</param>
|
442
|
+
</member>
|
443
|
+
<member name="M:Xunit.Sdk.OutputCaptureCommand.Execute(System.Object)">
|
444
|
+
<inheritdoc/>
|
445
|
+
</member>
|
446
|
+
<member name="T:Xunit.Sdk.AssertActualExpectedException">
|
447
|
+
<summary>
|
448
|
+
Base class for exceptions that have actual and expected values
|
449
|
+
</summary>
|
450
|
+
</member>
|
451
|
+
<member name="T:Xunit.Sdk.AssertException">
|
452
|
+
<summary>
|
453
|
+
The base assert exception class
|
454
|
+
</summary>
|
455
|
+
</member>
|
456
|
+
<member name="M:Xunit.Sdk.AssertException.#ctor">
|
457
|
+
<summary>
|
458
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.AssertException"/> class.
|
459
|
+
</summary>
|
460
|
+
</member>
|
461
|
+
<member name="M:Xunit.Sdk.AssertException.#ctor(System.String)">
|
462
|
+
<summary>
|
463
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.AssertException"/> class.
|
464
|
+
</summary>
|
465
|
+
<param name="userMessage">The user message to be displayed</param>
|
466
|
+
</member>
|
467
|
+
<member name="M:Xunit.Sdk.AssertException.#ctor(System.String,System.Exception)">
|
468
|
+
<summary>
|
469
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.AssertException"/> class.
|
470
|
+
</summary>
|
471
|
+
<param name="userMessage">The user message to be displayed</param>
|
472
|
+
<param name="innerException">The inner exception</param>
|
473
|
+
</member>
|
474
|
+
<member name="M:Xunit.Sdk.AssertException.#ctor(System.String,System.String)">
|
475
|
+
<summary>
|
476
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.AssertException"/> class.
|
477
|
+
</summary>
|
478
|
+
<param name="userMessage">The user message to be displayed</param>
|
479
|
+
<param name="stackTrace">The stack trace to be displayed</param>
|
480
|
+
</member>
|
481
|
+
<member name="M:Xunit.Sdk.AssertException.FilterStackTrace(System.String)">
|
482
|
+
<summary>
|
483
|
+
Filters the stack trace to remove all lines that occur within the testing framework.
|
484
|
+
</summary>
|
485
|
+
<param name="stackTrace">The original stack trace</param>
|
486
|
+
<returns>The filtered stack trace</returns>
|
487
|
+
</member>
|
488
|
+
<member name="P:Xunit.Sdk.AssertException.StackTrace">
|
489
|
+
<summary>
|
490
|
+
Gets a string representation of the frames on the call stack at the time the current exception was thrown.
|
491
|
+
</summary>
|
492
|
+
<returns>A string that describes the contents of the call stack, with the most recent method call appearing first.</returns>
|
493
|
+
</member>
|
494
|
+
<member name="P:Xunit.Sdk.AssertException.UserMessage">
|
495
|
+
<summary>
|
496
|
+
Gets the user message
|
497
|
+
</summary>
|
498
|
+
</member>
|
499
|
+
<member name="M:Xunit.Sdk.AssertActualExpectedException.#ctor(System.Object,System.Object,System.String)">
|
500
|
+
<summary>
|
501
|
+
Creates a new instance of the <see href="AssertActualExpectedException"/> class.
|
502
|
+
</summary>
|
503
|
+
<param name="expected">The expected value</param>
|
504
|
+
<param name="actual">The actual value</param>
|
505
|
+
<param name="userMessage">The user message to be shown</param>
|
506
|
+
</member>
|
507
|
+
<member name="M:Xunit.Sdk.AssertActualExpectedException.#ctor(System.Object,System.Object,System.String,System.Boolean)">
|
508
|
+
<summary>
|
509
|
+
Creates a new instance of the <see href="AssertActualExpectedException"/> class.
|
510
|
+
</summary>
|
511
|
+
<param name="expected">The expected value</param>
|
512
|
+
<param name="actual">The actual value</param>
|
513
|
+
<param name="userMessage">The user message to be shown</param>
|
514
|
+
<param name="skipPositionCheck">Set to true to skip the check for difference position</param>
|
515
|
+
</member>
|
516
|
+
<member name="P:Xunit.Sdk.AssertActualExpectedException.Actual">
|
517
|
+
<summary>
|
518
|
+
Gets the actual value.
|
519
|
+
</summary>
|
520
|
+
</member>
|
521
|
+
<member name="P:Xunit.Sdk.AssertActualExpectedException.Expected">
|
522
|
+
<summary>
|
523
|
+
Gets the expected value.
|
524
|
+
</summary>
|
525
|
+
</member>
|
526
|
+
<member name="P:Xunit.Sdk.AssertActualExpectedException.Message">
|
527
|
+
<summary>
|
528
|
+
Gets a message that describes the current exception. Includes the expected and actual values.
|
529
|
+
</summary>
|
530
|
+
<returns>The error message that explains the reason for the exception, or an empty string("").</returns>
|
531
|
+
<filterpriority>1</filterpriority>
|
532
|
+
</member>
|
533
|
+
<member name="T:Xunit.Sdk.ContainsException">
|
534
|
+
<summary>
|
535
|
+
Exception thrown when a collection unexpectedly does not contain the expected value.
|
536
|
+
</summary>
|
537
|
+
</member>
|
538
|
+
<member name="M:Xunit.Sdk.ContainsException.#ctor(System.Object)">
|
539
|
+
<summary>
|
540
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.ContainsException"/> class.
|
541
|
+
</summary>
|
542
|
+
<param name="expected">The expected object value</param>
|
543
|
+
</member>
|
544
|
+
<member name="T:Xunit.Sdk.ParamterCountMismatchException">
|
545
|
+
<summary>
|
546
|
+
Exception to be thrown from <see cref="M:Xunit.Sdk.IMethodInfo.Invoke(System.Object,System.Object[])"/> when the number of
|
547
|
+
parameter values does not the test method signature.
|
548
|
+
</summary>
|
549
|
+
</member>
|
550
|
+
<member name="M:Xunit.Sdk.ParamterCountMismatchException.#ctor">
|
551
|
+
<summary/>
|
552
|
+
</member>
|
553
|
+
<member name="M:Xunit.Sdk.ParamterCountMismatchException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
554
|
+
<summary/>
|
555
|
+
</member>
|
556
|
+
<member name="T:Xunit.Sdk.Executor">
|
557
|
+
<summary>
|
558
|
+
Internal class used for version-resilient test runners. DO NOT CALL DIRECTLY.
|
559
|
+
Version-resilient runners should link against xunit.runner.utility.dll and use
|
560
|
+
ExecutorWrapper instead.
|
561
|
+
</summary>
|
562
|
+
</member>
|
563
|
+
<member name="M:Xunit.Sdk.Executor.#ctor(System.String)">
|
564
|
+
<summary/>
|
565
|
+
</member>
|
566
|
+
<member name="M:Xunit.Sdk.Executor.InitializeLifetimeService">
|
567
|
+
<summary/>
|
568
|
+
</member>
|
569
|
+
<member name="T:Xunit.Sdk.Executor.AssemblyTestCount">
|
570
|
+
<summary/>
|
571
|
+
</member>
|
572
|
+
<member name="M:Xunit.Sdk.Executor.AssemblyTestCount.#ctor(Xunit.Sdk.Executor,System.Object)">
|
573
|
+
<summary/>
|
574
|
+
</member>
|
575
|
+
<member name="M:Xunit.Sdk.Executor.AssemblyTestCount.InitializeLifetimeService">
|
576
|
+
<summary/>
|
577
|
+
</member>
|
578
|
+
<member name="T:Xunit.Sdk.Executor.EnumerateTests">
|
579
|
+
<summary/>
|
580
|
+
</member>
|
581
|
+
<member name="M:Xunit.Sdk.Executor.EnumerateTests.#ctor(Xunit.Sdk.Executor,System.Object)">
|
582
|
+
<summary/>
|
583
|
+
</member>
|
584
|
+
<member name="M:Xunit.Sdk.Executor.EnumerateTests.InitializeLifetimeService">
|
585
|
+
<summary/>
|
586
|
+
</member>
|
587
|
+
<member name="T:Xunit.Sdk.Executor.RunAssembly">
|
588
|
+
<summary/>
|
589
|
+
</member>
|
590
|
+
<member name="M:Xunit.Sdk.Executor.RunAssembly.#ctor(Xunit.Sdk.Executor,System.Object)">
|
591
|
+
<summary/>
|
592
|
+
</member>
|
593
|
+
<member name="M:Xunit.Sdk.Executor.RunAssembly.InitializeLifetimeService">
|
594
|
+
<summary/>
|
595
|
+
</member>
|
596
|
+
<member name="T:Xunit.Sdk.Executor.RunClass">
|
597
|
+
<summary/>
|
598
|
+
</member>
|
599
|
+
<member name="M:Xunit.Sdk.Executor.RunClass.#ctor(Xunit.Sdk.Executor,System.String,System.Object)">
|
600
|
+
<summary/>
|
601
|
+
</member>
|
602
|
+
<member name="M:Xunit.Sdk.Executor.RunClass.InitializeLifetimeService">
|
603
|
+
<summary/>
|
604
|
+
</member>
|
605
|
+
<member name="T:Xunit.Sdk.Executor.RunTest">
|
606
|
+
<summary/>
|
607
|
+
</member>
|
608
|
+
<member name="M:Xunit.Sdk.Executor.RunTest.#ctor(Xunit.Sdk.Executor,System.String,System.String,System.Object)">
|
609
|
+
<summary/>
|
610
|
+
</member>
|
611
|
+
<member name="M:Xunit.Sdk.Executor.RunTest.InitializeLifetimeService">
|
612
|
+
<summary/>
|
613
|
+
</member>
|
614
|
+
<member name="T:Xunit.Sdk.Executor.RunTests">
|
615
|
+
<summary/>
|
616
|
+
</member>
|
617
|
+
<member name="M:Xunit.Sdk.Executor.RunTests.#ctor(Xunit.Sdk.Executor,System.String,System.Collections.Generic.List{System.String},System.Object)">
|
618
|
+
<summary/>
|
619
|
+
</member>
|
620
|
+
<member name="M:Xunit.Sdk.Executor.RunTests.InitializeLifetimeService">
|
621
|
+
<summary/>
|
622
|
+
</member>
|
623
|
+
<member name="T:Xunit.Sdk.IsAssignableFromException">
|
624
|
+
<summary>
|
625
|
+
Exception thrown when the value is unexpectedly not of the given type or a derived type.
|
626
|
+
</summary>
|
627
|
+
</member>
|
628
|
+
<member name="M:Xunit.Sdk.IsAssignableFromException.#ctor(System.Type,System.Object)">
|
629
|
+
<summary>
|
630
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.IsTypeException"/> class.
|
631
|
+
</summary>
|
632
|
+
<param name="expected">The expected type</param>
|
633
|
+
<param name="actual">The actual object value</param>
|
634
|
+
</member>
|
635
|
+
<member name="T:Xunit.Record">
|
636
|
+
<summary>
|
637
|
+
Allows the user to record actions for a test.
|
638
|
+
</summary>
|
639
|
+
</member>
|
640
|
+
<member name="M:Xunit.Record.Exception(Xunit.Assert.ThrowsDelegate)">
|
641
|
+
<summary>
|
642
|
+
Records any exception which is thrown by the given code.
|
643
|
+
</summary>
|
644
|
+
<param name="code">The code which may thrown an exception.</param>
|
645
|
+
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
|
646
|
+
</member>
|
647
|
+
<member name="M:Xunit.Record.Exception(Xunit.Assert.ThrowsDelegateWithReturn)">
|
648
|
+
<summary>
|
649
|
+
Records any exception which is thrown by the given code that has
|
650
|
+
a return value. Generally used for testing property accessors.
|
651
|
+
</summary>
|
652
|
+
<param name="code">The code which may thrown an exception.</param>
|
653
|
+
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
|
654
|
+
</member>
|
655
|
+
<member name="T:Xunit.Sdk.AfterTestException">
|
656
|
+
<summary>
|
657
|
+
Exception that is thrown when one or more exceptions are thrown from
|
658
|
+
the After method of a <see cref="T:Xunit.BeforeAfterTestAttribute"/>.
|
659
|
+
</summary>
|
660
|
+
</member>
|
661
|
+
<member name="M:Xunit.Sdk.AfterTestException.#ctor(System.Collections.Generic.IEnumerable{System.Exception})">
|
662
|
+
<summary>
|
663
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.AfterTestException"/> class.
|
664
|
+
</summary>
|
665
|
+
<param name="exceptions">The exceptions.</param>
|
666
|
+
</member>
|
667
|
+
<member name="M:Xunit.Sdk.AfterTestException.#ctor(System.Exception[])">
|
668
|
+
<summary>
|
669
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.AfterTestException"/> class.
|
670
|
+
</summary>
|
671
|
+
<param name="exceptions">The exceptions.</param>
|
672
|
+
</member>
|
673
|
+
<member name="P:Xunit.Sdk.AfterTestException.AfterExceptions">
|
674
|
+
<summary>
|
675
|
+
Gets the list of exceptions thrown in the After method.
|
676
|
+
</summary>
|
677
|
+
</member>
|
678
|
+
<member name="P:Xunit.Sdk.AfterTestException.Message">
|
679
|
+
<summary>
|
680
|
+
Gets a message that describes the current exception.
|
681
|
+
</summary>
|
682
|
+
</member>
|
683
|
+
<member name="P:Xunit.Sdk.AfterTestException.StackTrace">
|
684
|
+
<summary>
|
685
|
+
Gets a string representation of the frames on the call stack at the time the current exception was thrown.
|
686
|
+
</summary>
|
687
|
+
</member>
|
688
|
+
<member name="T:Xunit.Sdk.BeforeAfterCommand">
|
689
|
+
<summary>
|
690
|
+
Implementation of <see cref="T:Xunit.Sdk.ITestCommand"/> which executes the
|
691
|
+
<see cref="T:Xunit.BeforeAfterTestAttribute"/> instances attached to a test method.
|
692
|
+
</summary>
|
693
|
+
</member>
|
694
|
+
<member name="M:Xunit.Sdk.BeforeAfterCommand.#ctor(Xunit.Sdk.ITestCommand,System.Reflection.MethodInfo)">
|
695
|
+
<summary>
|
696
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.BeforeAfterCommand"/> class.
|
697
|
+
</summary>
|
698
|
+
<param name="innerCommand">The inner command.</param>
|
699
|
+
<param name="testMethod">The method.</param>
|
700
|
+
</member>
|
701
|
+
<member name="M:Xunit.Sdk.BeforeAfterCommand.Execute(System.Object)">
|
702
|
+
<summary>
|
703
|
+
Executes the test method.
|
704
|
+
</summary>
|
705
|
+
<param name="testClass">The instance of the test class</param>
|
706
|
+
<returns>Returns information about the test run</returns>
|
707
|
+
</member>
|
708
|
+
<member name="T:Xunit.Sdk.ExceptionWrapperCommand">
|
709
|
+
<summary>
|
710
|
+
Wraps any exceptions thrown by the command execution.
|
711
|
+
</summary>
|
712
|
+
</member>
|
713
|
+
<member name="M:Xunit.Sdk.ExceptionWrapperCommand.#ctor(Xunit.Sdk.ITestCommand,Xunit.Sdk.IMethodInfo)">
|
714
|
+
<summary>
|
715
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.ExceptionWrapperCommand"/> class.
|
716
|
+
</summary>
|
717
|
+
<param name="innerCommand">The inner command.</param>
|
718
|
+
<param name="method">The method.</param>
|
719
|
+
</member>
|
720
|
+
<member name="M:Xunit.Sdk.ExceptionWrapperCommand.Execute(System.Object)">
|
721
|
+
<summary>
|
722
|
+
Executes the test method.
|
723
|
+
</summary>
|
724
|
+
<param name="testClass">The instance of the test class</param>
|
725
|
+
<returns>Returns information about the test run</returns>
|
726
|
+
</member>
|
727
|
+
<member name="T:Xunit.Sdk.Guard">
|
728
|
+
<summary>
|
729
|
+
Guard class, used for guard clauses and argument validation
|
730
|
+
</summary>
|
731
|
+
</member>
|
732
|
+
<member name="M:Xunit.Sdk.Guard.ArgumentNotNull(System.String,System.Object)">
|
733
|
+
<summary/>
|
734
|
+
</member>
|
735
|
+
<member name="M:Xunit.Sdk.Guard.ArgumentNotNullOrEmpty(System.String,System.Collections.IEnumerable)">
|
736
|
+
<summary/>
|
737
|
+
</member>
|
738
|
+
<member name="M:Xunit.Sdk.Guard.ArgumentValid(System.String,System.String,System.Boolean)">
|
739
|
+
<summary/>
|
740
|
+
</member>
|
741
|
+
<member name="T:Xunit.Sdk.TestResult">
|
742
|
+
<summary>
|
743
|
+
Base class which contains XML manipulation helper methods
|
744
|
+
</summary>
|
745
|
+
</member>
|
746
|
+
<member name="T:Xunit.Sdk.ITestResult">
|
747
|
+
<summary>
|
748
|
+
Interface that represents a single test result.
|
749
|
+
</summary>
|
750
|
+
</member>
|
751
|
+
<member name="M:Xunit.Sdk.ITestResult.ToXml(System.Xml.XmlNode)">
|
752
|
+
<summary>
|
753
|
+
Converts the test result into XML that is consumed by the test runners.
|
754
|
+
</summary>
|
755
|
+
<param name="parentNode">The parent node.</param>
|
756
|
+
<returns>The newly created XML node.</returns>
|
757
|
+
</member>
|
758
|
+
<member name="P:Xunit.Sdk.ITestResult.ExecutionTime">
|
759
|
+
<summary>
|
760
|
+
The amount of time spent in execution
|
761
|
+
</summary>
|
762
|
+
</member>
|
763
|
+
<member name="M:Xunit.Sdk.TestResult.AddTime(System.Xml.XmlNode)">
|
764
|
+
<summary>
|
765
|
+
Adds the test execution time to the XML node.
|
766
|
+
</summary>
|
767
|
+
<param name="testNode">The XML node.</param>
|
768
|
+
</member>
|
769
|
+
<member name="M:Xunit.Sdk.TestResult.ToXml(System.Xml.XmlNode)">
|
770
|
+
<inheritdoc/>
|
771
|
+
</member>
|
772
|
+
<member name="P:Xunit.Sdk.TestResult.ExecutionTime">
|
773
|
+
<inheritdoc/>
|
774
|
+
</member>
|
775
|
+
<member name="T:Xunit.Sdk.ExceptionUtility">
|
776
|
+
<summary>
|
777
|
+
Utility methods for dealing with exceptions.
|
778
|
+
</summary>
|
779
|
+
</member>
|
780
|
+
<member name="M:Xunit.Sdk.ExceptionUtility.GetMessage(System.Exception)">
|
781
|
+
<summary>
|
782
|
+
Gets the message for the exception, including any inner exception messages.
|
783
|
+
</summary>
|
784
|
+
<param name="ex">The exception</param>
|
785
|
+
<returns>The formatted message</returns>
|
786
|
+
</member>
|
787
|
+
<member name="M:Xunit.Sdk.ExceptionUtility.GetStackTrace(System.Exception)">
|
788
|
+
<summary>
|
789
|
+
Gets the stack trace for the exception, including any inner exceptions.
|
790
|
+
</summary>
|
791
|
+
<param name="ex">The exception</param>
|
792
|
+
<returns>The formatted stack trace</returns>
|
793
|
+
</member>
|
794
|
+
<member name="M:Xunit.Sdk.ExceptionUtility.RethrowWithNoStackTraceLoss(System.Exception)">
|
795
|
+
<summary>
|
796
|
+
Rethrows an exception object without losing the existing stack trace information
|
797
|
+
</summary>
|
798
|
+
<param name="ex">The exception to re-throw.</param>
|
799
|
+
<remarks>
|
800
|
+
For more information on this technique, see
|
801
|
+
http://www.dotnetjunkies.com/WebLog/chris.taylor/archive/2004/03/03/8353.aspx
|
802
|
+
</remarks>
|
803
|
+
</member>
|
804
|
+
<member name="T:Xunit.Sdk.MultiValueDictionary`2">
|
805
|
+
<summary>
|
806
|
+
A dictionary which contains multiple unique values for each key.
|
807
|
+
</summary>
|
808
|
+
<typeparam name="TKey">The type of the key.</typeparam>
|
809
|
+
<typeparam name="TValue">The type of the value.</typeparam>
|
810
|
+
</member>
|
811
|
+
<member name="M:Xunit.Sdk.MultiValueDictionary`2.AddValue(`0,`1)">
|
812
|
+
<summary>
|
813
|
+
Adds the value for the given key. If the key does not exist in the
|
814
|
+
dictionary yet, it will add it.
|
815
|
+
</summary>
|
816
|
+
<param name="key">The key.</param>
|
817
|
+
<param name="value">The value.</param>
|
818
|
+
</member>
|
819
|
+
<member name="M:Xunit.Sdk.MultiValueDictionary`2.Clear">
|
820
|
+
<summary>
|
821
|
+
Removes all keys and values from the dictionary.
|
822
|
+
</summary>
|
823
|
+
</member>
|
824
|
+
<member name="M:Xunit.Sdk.MultiValueDictionary`2.Contains(`0,`1)">
|
825
|
+
<summary>
|
826
|
+
Determines whether the dictionary contains to specified key and value.
|
827
|
+
</summary>
|
828
|
+
<param name="key">The key.</param>
|
829
|
+
<param name="value">The value.</param>
|
830
|
+
</member>
|
831
|
+
<member name="M:Xunit.Sdk.MultiValueDictionary`2.ForEach(Xunit.Sdk.MultiValueDictionary{`0,`1}.ForEachDelegate)">
|
832
|
+
<summary>
|
833
|
+
Calls the delegate once for each key/value pair in the dictionary.
|
834
|
+
</summary>
|
835
|
+
</member>
|
836
|
+
<member name="M:Xunit.Sdk.MultiValueDictionary`2.Remove(`0)">
|
837
|
+
<summary>
|
838
|
+
Removes the given key and all of its values.
|
839
|
+
</summary>
|
840
|
+
</member>
|
841
|
+
<member name="M:Xunit.Sdk.MultiValueDictionary`2.RemoveValue(`0,`1)">
|
842
|
+
<summary>
|
843
|
+
Removes the given value from the given key. If this was the
|
844
|
+
last value for the key, then the key is removed as well.
|
845
|
+
</summary>
|
846
|
+
<param name="key">The key.</param>
|
847
|
+
<param name="value">The value.</param>
|
848
|
+
</member>
|
849
|
+
<member name="P:Xunit.Sdk.MultiValueDictionary`2.Item(`0)">
|
850
|
+
<summary>
|
851
|
+
Gets the values for the given key.
|
852
|
+
</summary>
|
853
|
+
</member>
|
854
|
+
<member name="P:Xunit.Sdk.MultiValueDictionary`2.Count">
|
855
|
+
<summary>
|
856
|
+
Gets the count of the keys in the dictionary.
|
857
|
+
</summary>
|
858
|
+
</member>
|
859
|
+
<member name="P:Xunit.Sdk.MultiValueDictionary`2.Keys">
|
860
|
+
<summary>
|
861
|
+
Gets the keys.
|
862
|
+
</summary>
|
863
|
+
</member>
|
864
|
+
<member name="T:Xunit.Sdk.MultiValueDictionary`2.ForEachDelegate">
|
865
|
+
<summary/>
|
866
|
+
</member>
|
867
|
+
<member name="T:Xunit.Sdk.XmlUtility">
|
868
|
+
<summary>
|
869
|
+
XML utility methods
|
870
|
+
</summary>
|
871
|
+
</member>
|
872
|
+
<member name="M:Xunit.Sdk.XmlUtility.AddAttribute(System.Xml.XmlNode,System.String,System.Object)">
|
873
|
+
<summary>
|
874
|
+
Adds an attribute to an XML node.
|
875
|
+
</summary>
|
876
|
+
<param name="node">The XML node.</param>
|
877
|
+
<param name="name">The attribute name.</param>
|
878
|
+
<param name="value">The attribute value.</param>
|
879
|
+
</member>
|
880
|
+
<member name="M:Xunit.Sdk.XmlUtility.AddElement(System.Xml.XmlNode,System.String)">
|
881
|
+
<summary>
|
882
|
+
Adds a child element to an XML node.
|
883
|
+
</summary>
|
884
|
+
<param name="parentNode">The parent XML node.</param>
|
885
|
+
<param name="name">The child element name.</param>
|
886
|
+
<returns>The new child XML element.</returns>
|
887
|
+
</member>
|
888
|
+
<member name="T:Xunit.Sdk.TraceAssertException">
|
889
|
+
<summary>
|
890
|
+
Exception that is thrown when a call to Debug.Assert() fails.
|
891
|
+
</summary>
|
892
|
+
</member>
|
893
|
+
<member name="M:Xunit.Sdk.TraceAssertException.#ctor(System.String)">
|
894
|
+
<summary>
|
895
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TraceAssertException"/> class.
|
896
|
+
</summary>
|
897
|
+
<param name="assertMessage">The original assert message</param>
|
898
|
+
</member>
|
899
|
+
<member name="M:Xunit.Sdk.TraceAssertException.#ctor(System.String,System.String)">
|
900
|
+
<summary>
|
901
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TraceAssertException"/> class.
|
902
|
+
</summary>
|
903
|
+
<param name="assertMessage">The original assert message</param>
|
904
|
+
<param name="assertDetailedMessage">The original assert detailed message</param>
|
905
|
+
</member>
|
906
|
+
<member name="P:Xunit.Sdk.TraceAssertException.AssertDetailedMessage">
|
907
|
+
<summary>
|
908
|
+
Gets the original assert detailed message.
|
909
|
+
</summary>
|
910
|
+
</member>
|
911
|
+
<member name="P:Xunit.Sdk.TraceAssertException.AssertMessage">
|
912
|
+
<summary>
|
913
|
+
Gets the original assert message.
|
914
|
+
</summary>
|
915
|
+
</member>
|
916
|
+
<member name="P:Xunit.Sdk.TraceAssertException.Message">
|
917
|
+
<summary>
|
918
|
+
Gets a message that describes the current exception.
|
919
|
+
</summary>
|
920
|
+
</member>
|
921
|
+
<member name="T:Xunit.Sdk.DoesNotContainException">
|
922
|
+
<summary>
|
923
|
+
Exception thrown when a collection unexpectedly contains the expected value.
|
924
|
+
</summary>
|
925
|
+
</member>
|
926
|
+
<member name="M:Xunit.Sdk.DoesNotContainException.#ctor(System.Object)">
|
927
|
+
<summary>
|
928
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.DoesNotContainException"/> class.
|
929
|
+
</summary>
|
930
|
+
<param name="expected">The expected object value</param>
|
931
|
+
</member>
|
932
|
+
<member name="T:Xunit.Sdk.DoesNotThrowException">
|
933
|
+
<summary>
|
934
|
+
Exception thrown when code unexpectedly throws an exception.
|
935
|
+
</summary>
|
936
|
+
</member>
|
937
|
+
<member name="M:Xunit.Sdk.DoesNotThrowException.#ctor(System.Exception)">
|
938
|
+
<summary>
|
939
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.DoesNotThrowException"/> class.
|
940
|
+
</summary>
|
941
|
+
<param name="actual">Actual exception</param>
|
942
|
+
</member>
|
943
|
+
<member name="P:Xunit.Sdk.DoesNotThrowException.StackTrace">
|
944
|
+
<summary>
|
945
|
+
Gets a string representation of the frames on the call stack at the time the current exception was thrown.
|
946
|
+
</summary>
|
947
|
+
<returns>A string that describes the contents of the call stack, with the most recent method call appearing first.</returns>
|
948
|
+
</member>
|
949
|
+
<member name="T:Xunit.Sdk.EmptyException">
|
950
|
+
<summary>
|
951
|
+
Exception thrown when a collection is unexpectedly not empty.
|
952
|
+
</summary>
|
953
|
+
</member>
|
954
|
+
<member name="M:Xunit.Sdk.EmptyException.#ctor">
|
955
|
+
<summary>
|
956
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.EmptyException"/> class.
|
957
|
+
</summary>
|
958
|
+
</member>
|
959
|
+
<member name="T:Xunit.Sdk.EqualException">
|
960
|
+
<summary>
|
961
|
+
Exception thrown when two values are unexpectedly not equal.
|
962
|
+
</summary>
|
963
|
+
</member>
|
964
|
+
<member name="M:Xunit.Sdk.EqualException.#ctor(System.Object,System.Object)">
|
965
|
+
<summary>
|
966
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.EqualException"/> class.
|
967
|
+
</summary>
|
968
|
+
<param name="expected">The expected object value</param>
|
969
|
+
<param name="actual">The actual object value</param>
|
970
|
+
</member>
|
971
|
+
<member name="T:Xunit.Sdk.FalseException">
|
972
|
+
<summary>
|
973
|
+
Exception thrown when a value is unexpectedly true.
|
974
|
+
</summary>
|
975
|
+
</member>
|
976
|
+
<member name="M:Xunit.Sdk.FalseException.#ctor(System.String)">
|
977
|
+
<summary>
|
978
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.FalseException"/> class.
|
979
|
+
</summary>
|
980
|
+
<param name="userMessage">The user message to be display, or null for the default message</param>
|
981
|
+
</member>
|
982
|
+
<member name="T:Xunit.Sdk.InRangeException">
|
983
|
+
<summary>
|
984
|
+
Exception thrown when a value is unexpectedly not in the given range.
|
985
|
+
</summary>
|
986
|
+
</member>
|
987
|
+
<member name="M:Xunit.Sdk.InRangeException.#ctor(System.Object,System.Object,System.Object)">
|
988
|
+
<summary>
|
989
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.InRangeException"/> class.
|
990
|
+
</summary>
|
991
|
+
<param name="actual">The actual object value</param>
|
992
|
+
<param name="low">The low value of the range</param>
|
993
|
+
<param name="high">The high value of the range</param>
|
994
|
+
</member>
|
995
|
+
<member name="P:Xunit.Sdk.InRangeException.Actual">
|
996
|
+
<summary>
|
997
|
+
Gets the actual object value
|
998
|
+
</summary>
|
999
|
+
</member>
|
1000
|
+
<member name="P:Xunit.Sdk.InRangeException.High">
|
1001
|
+
<summary>
|
1002
|
+
Gets the high value of the range
|
1003
|
+
</summary>
|
1004
|
+
</member>
|
1005
|
+
<member name="P:Xunit.Sdk.InRangeException.Low">
|
1006
|
+
<summary>
|
1007
|
+
Gets the low value of the range
|
1008
|
+
</summary>
|
1009
|
+
</member>
|
1010
|
+
<member name="P:Xunit.Sdk.InRangeException.Message">
|
1011
|
+
<summary>
|
1012
|
+
Gets a message that describes the current exception.
|
1013
|
+
</summary>
|
1014
|
+
<returns>The error message that explains the reason for the exception, or an empty string("").</returns>
|
1015
|
+
</member>
|
1016
|
+
<member name="T:Xunit.Sdk.IsNotTypeException">
|
1017
|
+
<summary>
|
1018
|
+
Exception thrown when the value is unexpectedly of the exact given type.
|
1019
|
+
</summary>
|
1020
|
+
</member>
|
1021
|
+
<member name="M:Xunit.Sdk.IsNotTypeException.#ctor(System.Type,System.Object)">
|
1022
|
+
<summary>
|
1023
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.IsNotTypeException"/> class.
|
1024
|
+
</summary>
|
1025
|
+
<param name="expected">The expected type</param>
|
1026
|
+
<param name="actual">The actual object value</param>
|
1027
|
+
</member>
|
1028
|
+
<member name="T:Xunit.Sdk.IsTypeException">
|
1029
|
+
<summary>
|
1030
|
+
Exception thrown when the value is unexpectedly not of the exact given type.
|
1031
|
+
</summary>
|
1032
|
+
</member>
|
1033
|
+
<member name="M:Xunit.Sdk.IsTypeException.#ctor(System.Type,System.Object)">
|
1034
|
+
<summary>
|
1035
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.IsTypeException"/> class.
|
1036
|
+
</summary>
|
1037
|
+
<param name="expected">The expected type</param>
|
1038
|
+
<param name="actual">The actual object value</param>
|
1039
|
+
</member>
|
1040
|
+
<member name="T:Xunit.IUseFixture`1">
|
1041
|
+
<summary>
|
1042
|
+
Used to decorate xUnit.net test classes that utilize fixture classes.
|
1043
|
+
An instance of the fixture data is initialized just before the first
|
1044
|
+
test in the class is run, and if it implements IDisposable, is disposed
|
1045
|
+
after the last test in the class is run.
|
1046
|
+
</summary>
|
1047
|
+
<typeparam name="T">The type of the fixture</typeparam>
|
1048
|
+
</member>
|
1049
|
+
<member name="M:Xunit.IUseFixture`1.SetFixture(`0)">
|
1050
|
+
<summary>
|
1051
|
+
Called on the test class just before each test method is run,
|
1052
|
+
passing the fixture data so that it can be used for the test.
|
1053
|
+
All test runs share the same instance of fixture data.
|
1054
|
+
</summary>
|
1055
|
+
<param name="data">The fixture data</param>
|
1056
|
+
</member>
|
1057
|
+
<member name="T:Xunit.Sdk.NotInRangeException">
|
1058
|
+
<summary>
|
1059
|
+
Exception thrown when a value is unexpectedly in the given range.
|
1060
|
+
</summary>
|
1061
|
+
</member>
|
1062
|
+
<member name="M:Xunit.Sdk.NotInRangeException.#ctor(System.Object,System.Object,System.Object)">
|
1063
|
+
<summary>
|
1064
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.NotInRangeException"/> class.
|
1065
|
+
</summary>
|
1066
|
+
<param name="actual">The actual object value</param>
|
1067
|
+
<param name="low">The low value of the range</param>
|
1068
|
+
<param name="high">The high value of the range</param>
|
1069
|
+
</member>
|
1070
|
+
<member name="P:Xunit.Sdk.NotInRangeException.Actual">
|
1071
|
+
<summary>
|
1072
|
+
Gets the actual object value
|
1073
|
+
</summary>
|
1074
|
+
</member>
|
1075
|
+
<member name="P:Xunit.Sdk.NotInRangeException.High">
|
1076
|
+
<summary>
|
1077
|
+
Gets the high value of the range
|
1078
|
+
</summary>
|
1079
|
+
</member>
|
1080
|
+
<member name="P:Xunit.Sdk.NotInRangeException.Low">
|
1081
|
+
<summary>
|
1082
|
+
Gets the low value of the range
|
1083
|
+
</summary>
|
1084
|
+
</member>
|
1085
|
+
<member name="P:Xunit.Sdk.NotInRangeException.Message">
|
1086
|
+
<summary>
|
1087
|
+
Gets a message that describes the current exception.
|
1088
|
+
</summary>
|
1089
|
+
<returns>The error message that explains the reason for the exception, or an empty string("").</returns>
|
1090
|
+
</member>
|
1091
|
+
<member name="T:Xunit.BeforeAfterTestAttribute">
|
1092
|
+
<summary>
|
1093
|
+
Base attribute which indicates a test method interception (allows code to be run before and
|
1094
|
+
after the test is run).
|
1095
|
+
</summary>
|
1096
|
+
</member>
|
1097
|
+
<member name="M:Xunit.BeforeAfterTestAttribute.After(System.Reflection.MethodInfo)">
|
1098
|
+
<summary>
|
1099
|
+
This method is called after the test method is executed.
|
1100
|
+
</summary>
|
1101
|
+
<param name="methodUnderTest">The method under test</param>
|
1102
|
+
</member>
|
1103
|
+
<member name="M:Xunit.BeforeAfterTestAttribute.Before(System.Reflection.MethodInfo)">
|
1104
|
+
<summary>
|
1105
|
+
This method is called before the test method is executed.
|
1106
|
+
</summary>
|
1107
|
+
<param name="methodUnderTest">The method under test</param>
|
1108
|
+
</member>
|
1109
|
+
<member name="T:Xunit.Sdk.NotEmptyException">
|
1110
|
+
<summary>
|
1111
|
+
Exception thrown when a collection is unexpectedly empty.
|
1112
|
+
</summary>
|
1113
|
+
</member>
|
1114
|
+
<member name="M:Xunit.Sdk.NotEmptyException.#ctor">
|
1115
|
+
<summary>
|
1116
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.NotEmptyException"/> class.
|
1117
|
+
</summary>
|
1118
|
+
</member>
|
1119
|
+
<member name="T:Xunit.Sdk.NotEqualException">
|
1120
|
+
<summary>
|
1121
|
+
Exception thrown when two values are unexpectedly equal.
|
1122
|
+
</summary>
|
1123
|
+
</member>
|
1124
|
+
<member name="M:Xunit.Sdk.NotEqualException.#ctor">
|
1125
|
+
<summary>
|
1126
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.NotEqualException"/> class.
|
1127
|
+
</summary>
|
1128
|
+
</member>
|
1129
|
+
<member name="T:Xunit.Sdk.NotNullException">
|
1130
|
+
<summary>
|
1131
|
+
Exception thrown when an object is unexpectedly null.
|
1132
|
+
</summary>
|
1133
|
+
</member>
|
1134
|
+
<member name="M:Xunit.Sdk.NotNullException.#ctor">
|
1135
|
+
<summary>
|
1136
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.NotNullException"/> class.
|
1137
|
+
</summary>
|
1138
|
+
</member>
|
1139
|
+
<member name="T:Xunit.Sdk.NotSameException">
|
1140
|
+
<summary>
|
1141
|
+
Exception thrown when two values are unexpected the same instance.
|
1142
|
+
</summary>
|
1143
|
+
</member>
|
1144
|
+
<member name="M:Xunit.Sdk.NotSameException.#ctor">
|
1145
|
+
<summary>
|
1146
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.NotSameException"/> class.
|
1147
|
+
</summary>
|
1148
|
+
</member>
|
1149
|
+
<member name="T:Xunit.Sdk.NullException">
|
1150
|
+
<summary>
|
1151
|
+
Exception thrown when an object reference is unexpectedly not null.
|
1152
|
+
</summary>
|
1153
|
+
</member>
|
1154
|
+
<member name="M:Xunit.Sdk.NullException.#ctor(System.Object)">
|
1155
|
+
<summary>
|
1156
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.NullException"/> class.
|
1157
|
+
</summary>
|
1158
|
+
<param name="actual"></param>
|
1159
|
+
</member>
|
1160
|
+
<member name="T:Xunit.Sdk.LifetimeCommand">
|
1161
|
+
<summary>
|
1162
|
+
Command that automatically creates the instance of the test class
|
1163
|
+
and disposes it (if it implements <see cref="T:System.IDisposable"/>).
|
1164
|
+
</summary>
|
1165
|
+
</member>
|
1166
|
+
<member name="M:Xunit.Sdk.LifetimeCommand.#ctor(Xunit.Sdk.ITestCommand,Xunit.Sdk.IMethodInfo)">
|
1167
|
+
<summary>
|
1168
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.LifetimeCommand"/> object.
|
1169
|
+
</summary>
|
1170
|
+
<param name="innerCommand">The command that is bring wrapped</param>
|
1171
|
+
<param name="method">The method under test</param>
|
1172
|
+
</member>
|
1173
|
+
<member name="M:Xunit.Sdk.LifetimeCommand.Execute(System.Object)">
|
1174
|
+
<summary>
|
1175
|
+
Executes the test method. Creates a new instance of the class
|
1176
|
+
under tests and passes it to the inner command. Also catches
|
1177
|
+
any exceptions and converts them into <see cref="T:Xunit.Sdk.FailedResult"/>s.
|
1178
|
+
</summary>
|
1179
|
+
<param name="testClass">The instance of the test class</param>
|
1180
|
+
<returns>Returns information about the test run</returns>
|
1181
|
+
</member>
|
1182
|
+
<member name="T:Xunit.Sdk.TraceAssertCommand">
|
1183
|
+
<summary>
|
1184
|
+
A command wrapper which catches Trace.Assert and Debug.Assert failures and turns
|
1185
|
+
them into assertion exceptions.
|
1186
|
+
</summary>
|
1187
|
+
</member>
|
1188
|
+
<member name="M:Xunit.Sdk.TraceAssertCommand.#ctor(Xunit.Sdk.ITestCommand)">
|
1189
|
+
<summary>
|
1190
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TraceAssertCommand"/> class.
|
1191
|
+
</summary>
|
1192
|
+
<param name="innerCommand">The command that will be wrapped.</param>
|
1193
|
+
</member>
|
1194
|
+
<member name="M:Xunit.Sdk.TraceAssertCommand.Execute(System.Object)">
|
1195
|
+
<summary>
|
1196
|
+
Executes the test method.
|
1197
|
+
</summary>
|
1198
|
+
<param name="testClass">The instance of the test class</param>
|
1199
|
+
<returns>Returns information about the test run</returns>
|
1200
|
+
</member>
|
1201
|
+
<member name="T:Xunit.Sdk.FixtureCommand">
|
1202
|
+
<summary>
|
1203
|
+
Command used to wrap a <see cref="T:Xunit.Sdk.ITestCommand"/> which has associated
|
1204
|
+
fixture data.
|
1205
|
+
</summary>
|
1206
|
+
</member>
|
1207
|
+
<member name="M:Xunit.Sdk.FixtureCommand.#ctor(Xunit.Sdk.ITestCommand,System.Collections.Generic.Dictionary{System.Reflection.MethodInfo,System.Object})">
|
1208
|
+
<summary>
|
1209
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.FixtureCommand"/> class.
|
1210
|
+
</summary>
|
1211
|
+
<param name="innerCommand">The inner command</param>
|
1212
|
+
<param name="fixtures">The fixtures to be set on the test class</param>
|
1213
|
+
</member>
|
1214
|
+
<member name="M:Xunit.Sdk.FixtureCommand.Execute(System.Object)">
|
1215
|
+
<summary>
|
1216
|
+
Sets the fixtures on the test class by calling SetFixture, then
|
1217
|
+
calls the inner command.
|
1218
|
+
</summary>
|
1219
|
+
<param name="testClass">The instance of the test class</param>
|
1220
|
+
<returns>Returns information about the test run</returns>
|
1221
|
+
</member>
|
1222
|
+
<member name="T:Xunit.Sdk.TestTimer">
|
1223
|
+
<summary>
|
1224
|
+
A timer class used to figure out how long tests take to run. On most .NET implementations
|
1225
|
+
this will use the <see cref="T:System.Diagnostics.Stopwatch"/> class because it's a high
|
1226
|
+
resolution timer; however, on Silverlight/CoreCLR, it will use <see cref="T:System.DateTime"/>
|
1227
|
+
(which will provide lower resolution results).
|
1228
|
+
</summary>
|
1229
|
+
</member>
|
1230
|
+
<member name="M:Xunit.Sdk.TestTimer.#ctor">
|
1231
|
+
<summary>
|
1232
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TestTimer"/> class.
|
1233
|
+
</summary>
|
1234
|
+
</member>
|
1235
|
+
<member name="M:Xunit.Sdk.TestTimer.Start">
|
1236
|
+
<summary>
|
1237
|
+
Starts timing.
|
1238
|
+
</summary>
|
1239
|
+
</member>
|
1240
|
+
<member name="M:Xunit.Sdk.TestTimer.Stop">
|
1241
|
+
<summary>
|
1242
|
+
Stops timing.
|
1243
|
+
</summary>
|
1244
|
+
</member>
|
1245
|
+
<member name="P:Xunit.Sdk.TestTimer.ElapsedMilliseconds">
|
1246
|
+
<summary>
|
1247
|
+
Gets how long the timer ran, in milliseconds. In order for this to be valid,
|
1248
|
+
both <see cref="M:Xunit.Sdk.TestTimer.Start"/> and <see cref="M:Xunit.Sdk.TestTimer.Stop"/> must have been called.
|
1249
|
+
</summary>
|
1250
|
+
</member>
|
1251
|
+
<member name="T:Xunit.TraitAttribute">
|
1252
|
+
<summary>
|
1253
|
+
Attribute used to decorate a test method with arbitrary name/value pairs ("traits").
|
1254
|
+
</summary>
|
1255
|
+
</member>
|
1256
|
+
<member name="M:Xunit.TraitAttribute.#ctor(System.String,System.String)">
|
1257
|
+
<summary>
|
1258
|
+
Creates a new instance of the <see cref="T:Xunit.TraitAttribute"/> class.
|
1259
|
+
</summary>
|
1260
|
+
<param name="name">The trait name</param>
|
1261
|
+
<param name="value">The trait value</param>
|
1262
|
+
</member>
|
1263
|
+
<member name="P:Xunit.TraitAttribute.Name">
|
1264
|
+
<summary>
|
1265
|
+
Gets the trait name.
|
1266
|
+
</summary>
|
1267
|
+
</member>
|
1268
|
+
<member name="P:Xunit.TraitAttribute.Value">
|
1269
|
+
<summary>
|
1270
|
+
Gets the trait value.
|
1271
|
+
</summary>
|
1272
|
+
</member>
|
1273
|
+
<member name="T:Xunit.Sdk.TestClassCommandRunner">
|
1274
|
+
<summary>
|
1275
|
+
Runner that executes an <see cref="T:Xunit.Sdk.ITestClassCommand"/> synchronously.
|
1276
|
+
</summary>
|
1277
|
+
</member>
|
1278
|
+
<member name="M:Xunit.Sdk.TestClassCommandRunner.Execute(Xunit.Sdk.ITestClassCommand,System.Collections.Generic.List{Xunit.Sdk.IMethodInfo},System.Predicate{Xunit.Sdk.ITestCommand},System.Predicate{Xunit.Sdk.ITestResult})">
|
1279
|
+
<summary>
|
1280
|
+
Execute the <see cref="T:Xunit.Sdk.ITestClassCommand"/>.
|
1281
|
+
</summary>
|
1282
|
+
<param name="testClassCommand">The test class command to execute</param>
|
1283
|
+
<param name="methods">The methods to execute; if null or empty, all methods will be executed</param>
|
1284
|
+
<param name="startCallback">The start run callback</param>
|
1285
|
+
<param name="resultCallback">The end run result callback</param>
|
1286
|
+
<returns>A <see cref="T:Xunit.Sdk.ClassResult"/> with the results of the test run</returns>
|
1287
|
+
</member>
|
1288
|
+
<member name="T:Xunit.Sdk.TestClassCommandFactory">
|
1289
|
+
<summary>
|
1290
|
+
Factory for <see cref="T:Xunit.Sdk.ITestClassCommand"/> objects, based on the type under test.
|
1291
|
+
</summary>
|
1292
|
+
</member>
|
1293
|
+
<member name="M:Xunit.Sdk.TestClassCommandFactory.Make(System.Type)">
|
1294
|
+
<summary>
|
1295
|
+
Creates the test class command, which implements <see cref="T:Xunit.Sdk.ITestClassCommand"/>, for a given type.
|
1296
|
+
</summary>
|
1297
|
+
<param name="type">The type under test</param>
|
1298
|
+
<returns>The test class command, if the class is a test class; null, otherwise</returns>
|
1299
|
+
</member>
|
1300
|
+
<member name="M:Xunit.Sdk.TestClassCommandFactory.Make(Xunit.Sdk.ITypeInfo)">
|
1301
|
+
<summary>
|
1302
|
+
Creates the test class command, which implements <see cref="T:Xunit.Sdk.ITestClassCommand"/>, for a given type.
|
1303
|
+
</summary>
|
1304
|
+
<param name="typeInfo">The type under test</param>
|
1305
|
+
<returns>The test class command, if the class is a test class; null, otherwise</returns>
|
1306
|
+
</member>
|
1307
|
+
<member name="T:Xunit.Sdk.TestClassCommand">
|
1308
|
+
<summary>
|
1309
|
+
Represents an xUnit.net test class
|
1310
|
+
</summary>
|
1311
|
+
</member>
|
1312
|
+
<member name="T:Xunit.Sdk.ITestClassCommand">
|
1313
|
+
<summary>
|
1314
|
+
Interface which describes the ability to executes all the tests in a test class.
|
1315
|
+
</summary>
|
1316
|
+
</member>
|
1317
|
+
<member name="M:Xunit.Sdk.ITestClassCommand.ChooseNextTest(System.Collections.Generic.ICollection{Xunit.Sdk.IMethodInfo})">
|
1318
|
+
<summary>
|
1319
|
+
Allows the test class command to choose the next test to be run from the list of
|
1320
|
+
tests that have not yet been run, thereby allowing it to choose the run order.
|
1321
|
+
</summary>
|
1322
|
+
<param name="testsLeftToRun">The tests remaining to be run</param>
|
1323
|
+
<returns>The index of the test that should be run</returns>
|
1324
|
+
</member>
|
1325
|
+
<member name="M:Xunit.Sdk.ITestClassCommand.ClassFinish">
|
1326
|
+
<summary>
|
1327
|
+
Execute actions to be run after all the test methods of this test class are run.
|
1328
|
+
</summary>
|
1329
|
+
<returns>Returns the <see cref="T:System.Exception"/> thrown during execution, if any; null, otherwise</returns>
|
1330
|
+
</member>
|
1331
|
+
<member name="M:Xunit.Sdk.ITestClassCommand.ClassStart">
|
1332
|
+
<summary>
|
1333
|
+
Execute actions to be run before any of the test methods of this test class are run.
|
1334
|
+
</summary>
|
1335
|
+
<returns>Returns the <see cref="T:System.Exception"/> thrown during execution, if any; null, otherwise</returns>
|
1336
|
+
</member>
|
1337
|
+
<member name="M:Xunit.Sdk.ITestClassCommand.EnumerateTestCommands(Xunit.Sdk.IMethodInfo)">
|
1338
|
+
<summary>
|
1339
|
+
Enumerates the test commands for a given test method in this test class.
|
1340
|
+
</summary>
|
1341
|
+
<param name="testMethod">The method under test</param>
|
1342
|
+
<returns>The test commands for the given test method</returns>
|
1343
|
+
</member>
|
1344
|
+
<member name="M:Xunit.Sdk.ITestClassCommand.EnumerateTestMethods">
|
1345
|
+
<summary>
|
1346
|
+
Enumerates the methods which are test methods in this test class.
|
1347
|
+
</summary>
|
1348
|
+
<returns>The test methods</returns>
|
1349
|
+
</member>
|
1350
|
+
<member name="M:Xunit.Sdk.ITestClassCommand.IsTestMethod(Xunit.Sdk.IMethodInfo)">
|
1351
|
+
<summary>
|
1352
|
+
Determines if a given <see cref="T:Xunit.Sdk.IMethodInfo"/> refers to a test method.
|
1353
|
+
</summary>
|
1354
|
+
<param name="testMethod">The test method to validate</param>
|
1355
|
+
<returns>True if the method is a test method; false, otherwise</returns>
|
1356
|
+
</member>
|
1357
|
+
<member name="P:Xunit.Sdk.ITestClassCommand.ObjectUnderTest">
|
1358
|
+
<summary>
|
1359
|
+
Gets the object instance that is under test. May return null if you wish
|
1360
|
+
the test framework to create a new object instance for each test method.
|
1361
|
+
</summary>
|
1362
|
+
</member>
|
1363
|
+
<member name="P:Xunit.Sdk.ITestClassCommand.TypeUnderTest">
|
1364
|
+
<summary>
|
1365
|
+
Gets or sets the type that is being tested
|
1366
|
+
</summary>
|
1367
|
+
</member>
|
1368
|
+
<member name="M:Xunit.Sdk.TestClassCommand.#ctor">
|
1369
|
+
<summary>
|
1370
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TestClassCommand"/> class.
|
1371
|
+
</summary>
|
1372
|
+
</member>
|
1373
|
+
<member name="M:Xunit.Sdk.TestClassCommand.#ctor(System.Type)">
|
1374
|
+
<summary>
|
1375
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TestClassCommand"/> class.
|
1376
|
+
</summary>
|
1377
|
+
<param name="typeUnderTest">The type under test</param>
|
1378
|
+
</member>
|
1379
|
+
<member name="M:Xunit.Sdk.TestClassCommand.#ctor(Xunit.Sdk.ITypeInfo)">
|
1380
|
+
<summary>
|
1381
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TestClassCommand"/> class.
|
1382
|
+
</summary>
|
1383
|
+
<param name="typeUnderTest">The type under test</param>
|
1384
|
+
</member>
|
1385
|
+
<member name="M:Xunit.Sdk.TestClassCommand.ChooseNextTest(System.Collections.Generic.ICollection{Xunit.Sdk.IMethodInfo})">
|
1386
|
+
<summary>
|
1387
|
+
Chooses the next test to run, randomly, using the <see cref="P:Xunit.Sdk.TestClassCommand.Randomizer"/>.
|
1388
|
+
</summary>
|
1389
|
+
<param name="testsLeftToRun">The tests remaining to be run</param>
|
1390
|
+
<returns>The index of the test that should be run</returns>
|
1391
|
+
</member>
|
1392
|
+
<member name="M:Xunit.Sdk.TestClassCommand.ClassFinish">
|
1393
|
+
<summary>
|
1394
|
+
Execute actions to be run after all the test methods of this test class are run.
|
1395
|
+
</summary>
|
1396
|
+
<returns>Returns the <see cref="T:System.Exception"/> thrown during execution, if any; null, otherwise</returns>
|
1397
|
+
</member>
|
1398
|
+
<member name="M:Xunit.Sdk.TestClassCommand.ClassStart">
|
1399
|
+
<summary>
|
1400
|
+
Execute actions to be run before any of the test methods of this test class are run.
|
1401
|
+
</summary>
|
1402
|
+
<returns>Returns the <see cref="T:System.Exception"/> thrown during execution, if any; null, otherwise</returns>
|
1403
|
+
</member>
|
1404
|
+
<member name="M:Xunit.Sdk.TestClassCommand.EnumerateTestCommands(Xunit.Sdk.IMethodInfo)">
|
1405
|
+
<summary>
|
1406
|
+
Enumerates the test commands for a given test method in this test class.
|
1407
|
+
</summary>
|
1408
|
+
<param name="testMethod">The method under test</param>
|
1409
|
+
<returns>The test commands for the given test method</returns>
|
1410
|
+
</member>
|
1411
|
+
<member name="M:Xunit.Sdk.TestClassCommand.EnumerateTestMethods">
|
1412
|
+
<summary>
|
1413
|
+
Enumerates the methods which are test methods in this test class.
|
1414
|
+
</summary>
|
1415
|
+
<returns>The test methods</returns>
|
1416
|
+
</member>
|
1417
|
+
<member name="M:Xunit.Sdk.TestClassCommand.IsTestMethod(Xunit.Sdk.IMethodInfo)">
|
1418
|
+
<summary>
|
1419
|
+
Determines if a given <see cref="T:Xunit.Sdk.IMethodInfo"/> refers to a test method.
|
1420
|
+
</summary>
|
1421
|
+
<param name="testMethod">The test method to validate</param>
|
1422
|
+
<returns>True if the method is a test method; false, otherwise</returns>
|
1423
|
+
</member>
|
1424
|
+
<member name="P:Xunit.Sdk.TestClassCommand.ObjectUnderTest">
|
1425
|
+
<summary>
|
1426
|
+
Gets the object instance that is under test. May return null if you wish
|
1427
|
+
the test framework to create a new object instance for each test method.
|
1428
|
+
</summary>
|
1429
|
+
</member>
|
1430
|
+
<member name="P:Xunit.Sdk.TestClassCommand.Randomizer">
|
1431
|
+
<summary>
|
1432
|
+
Gets or sets the randomizer used to determine the order in which tests are run.
|
1433
|
+
</summary>
|
1434
|
+
</member>
|
1435
|
+
<member name="P:Xunit.Sdk.TestClassCommand.TypeUnderTest">
|
1436
|
+
<summary>
|
1437
|
+
Sets the type that is being tested
|
1438
|
+
</summary>
|
1439
|
+
</member>
|
1440
|
+
<member name="T:Xunit.Sdk.SkipCommand">
|
1441
|
+
<summary>
|
1442
|
+
Implementation of <see cref="T:Xunit.Sdk.ITestCommand"/> that represents a skipped test.
|
1443
|
+
</summary>
|
1444
|
+
</member>
|
1445
|
+
<member name="T:Xunit.Sdk.TestCommand">
|
1446
|
+
<summary>
|
1447
|
+
Represents an xUnit.net test command.
|
1448
|
+
</summary>
|
1449
|
+
</member>
|
1450
|
+
<member name="F:Xunit.Sdk.TestCommand.testMethod">
|
1451
|
+
<summary>
|
1452
|
+
The method under test.
|
1453
|
+
</summary>
|
1454
|
+
</member>
|
1455
|
+
<member name="M:Xunit.Sdk.TestCommand.#ctor(Xunit.Sdk.IMethodInfo)">
|
1456
|
+
<summary>
|
1457
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.TestCommand"/> class.
|
1458
|
+
</summary>
|
1459
|
+
<param name="method">The method under test.</param>
|
1460
|
+
</member>
|
1461
|
+
<member name="M:Xunit.Sdk.TestCommand.#ctor(Xunit.Sdk.IMethodInfo,System.String)">
|
1462
|
+
<summary>
|
1463
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.TestCommand"/> class.
|
1464
|
+
</summary>
|
1465
|
+
<param name="method">The method under test.</param>
|
1466
|
+
<param name="displayName">The display name of the test.</param>
|
1467
|
+
</member>
|
1468
|
+
<member name="M:Xunit.Sdk.TestCommand.Execute(System.Object)">
|
1469
|
+
<inheritdoc/>
|
1470
|
+
</member>
|
1471
|
+
<member name="M:Xunit.Sdk.TestCommand.ToStartXml">
|
1472
|
+
<inheritdoc/>
|
1473
|
+
</member>
|
1474
|
+
<member name="P:Xunit.Sdk.TestCommand.DisplayName">
|
1475
|
+
<inheritdoc/>
|
1476
|
+
</member>
|
1477
|
+
<member name="P:Xunit.Sdk.TestCommand.MethodName">
|
1478
|
+
<summary>
|
1479
|
+
Gets the name of the method under test.
|
1480
|
+
</summary>
|
1481
|
+
</member>
|
1482
|
+
<member name="P:Xunit.Sdk.TestCommand.TypeName">
|
1483
|
+
<summary>
|
1484
|
+
Gets the name of the type under test.
|
1485
|
+
</summary>
|
1486
|
+
</member>
|
1487
|
+
<member name="P:Xunit.Sdk.TestCommand.ShouldCreateInstance">
|
1488
|
+
<inheritdoc/>
|
1489
|
+
</member>
|
1490
|
+
<member name="M:Xunit.Sdk.SkipCommand.#ctor(Xunit.Sdk.IMethodInfo,System.String,System.String)">
|
1491
|
+
<summary>
|
1492
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.SkipCommand"/> class.
|
1493
|
+
</summary>
|
1494
|
+
<param name="testMethod">The method that is being skipped</param>
|
1495
|
+
<param name="displayName">The display name for the test. If null, the fully qualified
|
1496
|
+
type name is used.</param>
|
1497
|
+
<param name="reason">The reason the test was skipped.</param>
|
1498
|
+
</member>
|
1499
|
+
<member name="M:Xunit.Sdk.SkipCommand.Execute(System.Object)">
|
1500
|
+
<inheritdoc/>
|
1501
|
+
</member>
|
1502
|
+
<member name="M:Xunit.Sdk.SkipCommand.ToStartXml">
|
1503
|
+
<inheritdoc/>
|
1504
|
+
</member>
|
1505
|
+
<member name="P:Xunit.Sdk.SkipCommand.Reason">
|
1506
|
+
<summary>
|
1507
|
+
Gets the skip reason.
|
1508
|
+
</summary>
|
1509
|
+
</member>
|
1510
|
+
<member name="P:Xunit.Sdk.SkipCommand.ShouldCreateInstance">
|
1511
|
+
<inheritdoc/>
|
1512
|
+
</member>
|
1513
|
+
<member name="T:Xunit.Sdk.TestCommandFactory">
|
1514
|
+
<summary>
|
1515
|
+
Factory for creating <see cref="T:Xunit.Sdk.ITestCommand"/> objects.
|
1516
|
+
</summary>
|
1517
|
+
</member>
|
1518
|
+
<member name="M:Xunit.Sdk.TestCommandFactory.Make(Xunit.Sdk.ITestClassCommand,Xunit.Sdk.IMethodInfo)">
|
1519
|
+
<summary>
|
1520
|
+
Make instances of <see cref="T:Xunit.Sdk.ITestCommand"/> objects for the given class and method.
|
1521
|
+
</summary>
|
1522
|
+
<param name="classCommand">The class command</param>
|
1523
|
+
<param name="method">The method under test</param>
|
1524
|
+
<returns>The set of <see cref="T:Xunit.Sdk.ITestCommand"/> objects</returns>
|
1525
|
+
</member>
|
1526
|
+
<member name="T:Xunit.Sdk.TimedCommand">
|
1527
|
+
<summary>
|
1528
|
+
A command wrapper which times the running of a command.
|
1529
|
+
</summary>
|
1530
|
+
</member>
|
1531
|
+
<member name="M:Xunit.Sdk.TimedCommand.#ctor(Xunit.Sdk.ITestCommand)">
|
1532
|
+
<summary>
|
1533
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TimedCommand"/> class.
|
1534
|
+
</summary>
|
1535
|
+
<param name="innerCommand">The command that will be timed.</param>
|
1536
|
+
</member>
|
1537
|
+
<member name="M:Xunit.Sdk.TimedCommand.Execute(System.Object)">
|
1538
|
+
<summary>
|
1539
|
+
Executes the inner test method, gathering the amount of time it takes to run.
|
1540
|
+
</summary>
|
1541
|
+
<returns>Returns information about the test run</returns>
|
1542
|
+
</member>
|
1543
|
+
<member name="T:Xunit.Sdk.TimeoutCommand">
|
1544
|
+
<summary>
|
1545
|
+
Wraps a command which should fail if it runs longer than the given timeout value.
|
1546
|
+
</summary>
|
1547
|
+
</member>
|
1548
|
+
<member name="M:Xunit.Sdk.TimeoutCommand.#ctor(Xunit.Sdk.ITestCommand,System.Int32,Xunit.Sdk.IMethodInfo)">
|
1549
|
+
<summary>
|
1550
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TimeoutCommand"/> class.
|
1551
|
+
</summary>
|
1552
|
+
<param name="innerCommand">The command to be run</param>
|
1553
|
+
<param name="timeout">The timout, in milliseconds</param>
|
1554
|
+
<param name="testMethod">The method under test</param>
|
1555
|
+
</member>
|
1556
|
+
<member name="M:Xunit.Sdk.TimeoutCommand.Execute(System.Object)">
|
1557
|
+
<summary>
|
1558
|
+
Executes the test method, failing if it takes too long.
|
1559
|
+
</summary>
|
1560
|
+
<returns>Returns information about the test run</returns>
|
1561
|
+
</member>
|
1562
|
+
<member name="P:Xunit.Sdk.TimeoutCommand.Timeout">
|
1563
|
+
<summary>
|
1564
|
+
Gets the timeout value, in milliseconds.
|
1565
|
+
</summary>
|
1566
|
+
</member>
|
1567
|
+
<member name="T:Xunit.RunWithAttribute">
|
1568
|
+
<summary>
|
1569
|
+
Attributes used to decorate a test fixture that is run with an alternate test runner.
|
1570
|
+
The test runner must implement the <see cref="T:Xunit.Sdk.ITestClassCommand"/> interface.
|
1571
|
+
</summary>
|
1572
|
+
</member>
|
1573
|
+
<member name="M:Xunit.RunWithAttribute.#ctor(System.Type)">
|
1574
|
+
<summary>
|
1575
|
+
Creates a new instance of the <see cref="T:Xunit.RunWithAttribute"/> class.
|
1576
|
+
</summary>
|
1577
|
+
<param name="commandType">The class which implements ITestClassCommand and acts as the runner
|
1578
|
+
for the test fixture.</param>
|
1579
|
+
</member>
|
1580
|
+
<member name="P:Xunit.RunWithAttribute.TestClassCommand">
|
1581
|
+
<summary>
|
1582
|
+
Gets the test class command.
|
1583
|
+
</summary>
|
1584
|
+
</member>
|
1585
|
+
<member name="T:Xunit.Sdk.SameException">
|
1586
|
+
<summary>
|
1587
|
+
Exception thrown when two object references are unexpectedly not the same instance.
|
1588
|
+
</summary>
|
1589
|
+
</member>
|
1590
|
+
<member name="M:Xunit.Sdk.SameException.#ctor(System.Object,System.Object)">
|
1591
|
+
<summary>
|
1592
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.SameException"/> class.
|
1593
|
+
</summary>
|
1594
|
+
<param name="expected">The expected object reference</param>
|
1595
|
+
<param name="actual">The actual object reference</param>
|
1596
|
+
</member>
|
1597
|
+
<member name="T:Xunit.Sdk.AssemblyResult">
|
1598
|
+
<summary>
|
1599
|
+
Contains the test results from an assembly.
|
1600
|
+
</summary>
|
1601
|
+
</member>
|
1602
|
+
<member name="T:Xunit.Sdk.CompositeResult">
|
1603
|
+
<summary>
|
1604
|
+
Contains multiple test results, representing them as a composite test result.
|
1605
|
+
</summary>
|
1606
|
+
</member>
|
1607
|
+
<member name="M:Xunit.Sdk.CompositeResult.Add(Xunit.Sdk.ITestResult)">
|
1608
|
+
<summary>
|
1609
|
+
Adds a test result to the composite test result list.
|
1610
|
+
</summary>
|
1611
|
+
<param name="testResult"></param>
|
1612
|
+
</member>
|
1613
|
+
<member name="P:Xunit.Sdk.CompositeResult.Results">
|
1614
|
+
<summary>
|
1615
|
+
Gets the test results.
|
1616
|
+
</summary>
|
1617
|
+
</member>
|
1618
|
+
<member name="M:Xunit.Sdk.AssemblyResult.#ctor(System.String)">
|
1619
|
+
<summary>
|
1620
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.AssemblyResult"/> class.
|
1621
|
+
</summary>
|
1622
|
+
<param name="assemblyFilename">The filename of the assembly</param>
|
1623
|
+
</member>
|
1624
|
+
<member name="M:Xunit.Sdk.AssemblyResult.#ctor(System.String,System.String)">
|
1625
|
+
<summary>
|
1626
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.AssemblyResult"/> class.
|
1627
|
+
</summary>
|
1628
|
+
<param name="assemblyFilename">The filename of the assembly</param>
|
1629
|
+
<param name="configFilename">The configuration filename</param>
|
1630
|
+
</member>
|
1631
|
+
<member name="M:Xunit.Sdk.AssemblyResult.ToXml(System.Xml.XmlNode)">
|
1632
|
+
<summary>
|
1633
|
+
Converts the test result into XML that is consumed by the test runners.
|
1634
|
+
</summary>
|
1635
|
+
<param name="parentNode">The parent node.</param>
|
1636
|
+
<returns>The newly created XML node.</returns>
|
1637
|
+
</member>
|
1638
|
+
<member name="P:Xunit.Sdk.AssemblyResult.ConfigFilename">
|
1639
|
+
<summary>
|
1640
|
+
Gets the fully qualified filename of the configuration file.
|
1641
|
+
</summary>
|
1642
|
+
</member>
|
1643
|
+
<member name="P:Xunit.Sdk.AssemblyResult.Directory">
|
1644
|
+
<summary>
|
1645
|
+
Gets the directory where the assembly resides.
|
1646
|
+
</summary>
|
1647
|
+
</member>
|
1648
|
+
<member name="P:Xunit.Sdk.AssemblyResult.FailCount">
|
1649
|
+
<summary>
|
1650
|
+
Gets the number of failed results.
|
1651
|
+
</summary>
|
1652
|
+
</member>
|
1653
|
+
<member name="P:Xunit.Sdk.AssemblyResult.Filename">
|
1654
|
+
<summary>
|
1655
|
+
Gets the fully qualified filename of the assembly.
|
1656
|
+
</summary>
|
1657
|
+
</member>
|
1658
|
+
<member name="P:Xunit.Sdk.AssemblyResult.PassCount">
|
1659
|
+
<summary>
|
1660
|
+
Gets the number of passed results.
|
1661
|
+
</summary>
|
1662
|
+
</member>
|
1663
|
+
<member name="P:Xunit.Sdk.AssemblyResult.SkipCount">
|
1664
|
+
<summary>
|
1665
|
+
Gets the number of skipped results.
|
1666
|
+
</summary>
|
1667
|
+
</member>
|
1668
|
+
<member name="T:Xunit.Sdk.ClassResult">
|
1669
|
+
<summary>
|
1670
|
+
Contains the test results from a test class.
|
1671
|
+
</summary>
|
1672
|
+
</member>
|
1673
|
+
<member name="M:Xunit.Sdk.ClassResult.#ctor(System.Type)">
|
1674
|
+
<summary>
|
1675
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.ClassResult"/> class.
|
1676
|
+
</summary>
|
1677
|
+
<param name="type">The type under test</param>
|
1678
|
+
</member>
|
1679
|
+
<member name="M:Xunit.Sdk.ClassResult.#ctor(System.String,System.String,System.String)">
|
1680
|
+
<summary>
|
1681
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.ClassResult"/> class.
|
1682
|
+
</summary>
|
1683
|
+
<param name="typeName">The simple name of the type under test</param>
|
1684
|
+
<param name="typeFullName">The fully qualified name of the type under test</param>
|
1685
|
+
<param name="typeNamespace">The namespace of the type under test</param>
|
1686
|
+
</member>
|
1687
|
+
<member name="M:Xunit.Sdk.ClassResult.SetException(System.Exception)">
|
1688
|
+
<summary>
|
1689
|
+
Sets the exception thrown by the test fixture.
|
1690
|
+
</summary>
|
1691
|
+
<param name="ex">The thrown exception</param>
|
1692
|
+
</member>
|
1693
|
+
<member name="M:Xunit.Sdk.ClassResult.ToXml(System.Xml.XmlNode)">
|
1694
|
+
<summary>
|
1695
|
+
Converts the test result into XML that is consumed by the test runners.
|
1696
|
+
</summary>
|
1697
|
+
<param name="parentNode">The parent node.</param>
|
1698
|
+
<returns>The newly created XML node.</returns>
|
1699
|
+
</member>
|
1700
|
+
<member name="P:Xunit.Sdk.ClassResult.ExceptionType">
|
1701
|
+
<summary>
|
1702
|
+
Gets the fully qualified test fixture exception type, when an exception has occurred.
|
1703
|
+
</summary>
|
1704
|
+
</member>
|
1705
|
+
<member name="P:Xunit.Sdk.ClassResult.FailCount">
|
1706
|
+
<summary>
|
1707
|
+
Gets the number of tests which failed.
|
1708
|
+
</summary>
|
1709
|
+
</member>
|
1710
|
+
<member name="P:Xunit.Sdk.ClassResult.FullyQualifiedName">
|
1711
|
+
<summary>
|
1712
|
+
Gets the fully qualified name of the type under test.
|
1713
|
+
</summary>
|
1714
|
+
</member>
|
1715
|
+
<member name="P:Xunit.Sdk.ClassResult.Message">
|
1716
|
+
<summary>
|
1717
|
+
Gets the test fixture exception message, when an exception has occurred.
|
1718
|
+
</summary>
|
1719
|
+
</member>
|
1720
|
+
<member name="P:Xunit.Sdk.ClassResult.Name">
|
1721
|
+
<summary>
|
1722
|
+
Gets the simple name of the type under test.
|
1723
|
+
</summary>
|
1724
|
+
</member>
|
1725
|
+
<member name="P:Xunit.Sdk.ClassResult.Namespace">
|
1726
|
+
<summary>
|
1727
|
+
Gets the namespace of the type under test.
|
1728
|
+
</summary>
|
1729
|
+
</member>
|
1730
|
+
<member name="P:Xunit.Sdk.ClassResult.PassCount">
|
1731
|
+
<summary>
|
1732
|
+
Gets the number of tests which passed.
|
1733
|
+
</summary>
|
1734
|
+
</member>
|
1735
|
+
<member name="P:Xunit.Sdk.ClassResult.SkipCount">
|
1736
|
+
<summary>
|
1737
|
+
Gets the number of tests which were skipped.
|
1738
|
+
</summary>
|
1739
|
+
</member>
|
1740
|
+
<member name="P:Xunit.Sdk.ClassResult.StackTrace">
|
1741
|
+
<summary>
|
1742
|
+
Gets the test fixture exception stack trace, when an exception has occurred.
|
1743
|
+
</summary>
|
1744
|
+
</member>
|
1745
|
+
<member name="T:Xunit.Sdk.FailedResult">
|
1746
|
+
<summary>
|
1747
|
+
Represents a failed test result.
|
1748
|
+
</summary>
|
1749
|
+
</member>
|
1750
|
+
<member name="T:Xunit.Sdk.MethodResult">
|
1751
|
+
<summary>
|
1752
|
+
Represents the results from running a test method
|
1753
|
+
</summary>
|
1754
|
+
</member>
|
1755
|
+
<member name="M:Xunit.Sdk.MethodResult.#ctor(Xunit.Sdk.IMethodInfo,System.String)">
|
1756
|
+
<summary>
|
1757
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.MethodResult"/> class. The traits for
|
1758
|
+
the test method are discovered using reflection.
|
1759
|
+
</summary>
|
1760
|
+
<param name="method">The method under test.</param>
|
1761
|
+
<param name="displayName">The display name for the test. If null, the fully qualified
|
1762
|
+
type name is used.</param>
|
1763
|
+
</member>
|
1764
|
+
<member name="M:Xunit.Sdk.MethodResult.#ctor(System.String,System.String,System.String,Xunit.Sdk.MultiValueDictionary{System.String,System.String})">
|
1765
|
+
<summary>
|
1766
|
+
Initializes a new instance of the <see cref="T:Xunit.Sdk.MethodResult"/> class.
|
1767
|
+
</summary>
|
1768
|
+
<param name="methodName">The name of the method under test.</param>
|
1769
|
+
<param name="typeName">The type of the method under test.</param>
|
1770
|
+
<param name="displayName">The display name for the test. If null, the fully qualified
|
1771
|
+
type name is used.</param>
|
1772
|
+
<param name="traits">The traits.</param>
|
1773
|
+
</member>
|
1774
|
+
<member name="M:Xunit.Sdk.MethodResult.ToXml(System.Xml.XmlNode)">
|
1775
|
+
<summary>
|
1776
|
+
Converts the test result into XML that is consumed by the test runners.
|
1777
|
+
</summary>
|
1778
|
+
<param name="parentNode">The parent node.</param>
|
1779
|
+
<returns>The newly created XML node.</returns>
|
1780
|
+
</member>
|
1781
|
+
<member name="P:Xunit.Sdk.MethodResult.DisplayName">
|
1782
|
+
<summary>
|
1783
|
+
Gets or sets the display name of the method under test. This is the value that's shown
|
1784
|
+
during failures and in the resulting output XML.
|
1785
|
+
</summary>
|
1786
|
+
</member>
|
1787
|
+
<member name="P:Xunit.Sdk.MethodResult.MethodName">
|
1788
|
+
<summary>
|
1789
|
+
Gets the name of the method under test.
|
1790
|
+
</summary>
|
1791
|
+
</member>
|
1792
|
+
<member name="P:Xunit.Sdk.MethodResult.Output">
|
1793
|
+
<summary>
|
1794
|
+
Gets or sets the standard output/standard error from the test that was captured
|
1795
|
+
while the test was running.
|
1796
|
+
</summary>
|
1797
|
+
</member>
|
1798
|
+
<member name="P:Xunit.Sdk.MethodResult.Traits">
|
1799
|
+
<summary>
|
1800
|
+
Gets the traits attached to the test method.
|
1801
|
+
</summary>
|
1802
|
+
</member>
|
1803
|
+
<member name="P:Xunit.Sdk.MethodResult.TypeName">
|
1804
|
+
<summary>
|
1805
|
+
Gets the name of the type under test.
|
1806
|
+
</summary>
|
1807
|
+
</member>
|
1808
|
+
<member name="M:Xunit.Sdk.FailedResult.#ctor(Xunit.Sdk.IMethodInfo,System.Exception,System.String)">
|
1809
|
+
<summary>
|
1810
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.FailedResult"/> class.
|
1811
|
+
</summary>
|
1812
|
+
<param name="method">The method under test</param>
|
1813
|
+
<param name="exception">The exception throw by the test</param>
|
1814
|
+
<param name="displayName">The display name for the test. If null, the fully qualified
|
1815
|
+
type name is used.</param>
|
1816
|
+
</member>
|
1817
|
+
<member name="M:Xunit.Sdk.FailedResult.#ctor(System.String,System.String,System.String,Xunit.Sdk.MultiValueDictionary{System.String,System.String},System.String,System.String,System.String)">
|
1818
|
+
<summary>
|
1819
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.FailedResult"/> class.
|
1820
|
+
</summary>
|
1821
|
+
<param name="methodName">The name of the method under test</param>
|
1822
|
+
<param name="typeName">The name of the type under test</param>
|
1823
|
+
<param name="displayName">The display name of the test</param>
|
1824
|
+
<param name="traits">The custom properties attached to the test method</param>
|
1825
|
+
<param name="exceptionType">The full type name of the exception throw</param>
|
1826
|
+
<param name="message">The exception message</param>
|
1827
|
+
<param name="stackTrace">The exception stack trace</param>
|
1828
|
+
</member>
|
1829
|
+
<member name="M:Xunit.Sdk.FailedResult.ToXml(System.Xml.XmlNode)">
|
1830
|
+
<summary>
|
1831
|
+
Converts the test result into XML that is consumed by the test runners.
|
1832
|
+
</summary>
|
1833
|
+
<param name="parentNode">The parent node.</param>
|
1834
|
+
<returns>The newly created XML node.</returns>
|
1835
|
+
</member>
|
1836
|
+
<member name="P:Xunit.Sdk.FailedResult.ExceptionType">
|
1837
|
+
<summary>
|
1838
|
+
Gets the exception type thrown by the test method.
|
1839
|
+
</summary>
|
1840
|
+
</member>
|
1841
|
+
<member name="P:Xunit.Sdk.FailedResult.Message">
|
1842
|
+
<summary>
|
1843
|
+
Gets the exception message thrown by the test method.
|
1844
|
+
</summary>
|
1845
|
+
</member>
|
1846
|
+
<member name="P:Xunit.Sdk.FailedResult.StackTrace">
|
1847
|
+
<summary>
|
1848
|
+
Gets the stack trace of the exception thrown by the test method.
|
1849
|
+
</summary>
|
1850
|
+
</member>
|
1851
|
+
<member name="T:Xunit.Sdk.PassedResult">
|
1852
|
+
<summary>
|
1853
|
+
Represents a passing test result.
|
1854
|
+
</summary>
|
1855
|
+
</member>
|
1856
|
+
<member name="M:Xunit.Sdk.PassedResult.#ctor(Xunit.Sdk.IMethodInfo,System.String)">
|
1857
|
+
<summary>
|
1858
|
+
Create a new instance of the <see cref="T:Xunit.Sdk.PassedResult"/> class.
|
1859
|
+
</summary>
|
1860
|
+
<param name="method">The method under test</param>
|
1861
|
+
<param name="displayName">The display name for the test. If null, the fully qualified
|
1862
|
+
type name is used.</param>
|
1863
|
+
</member>
|
1864
|
+
<member name="M:Xunit.Sdk.PassedResult.#ctor(System.String,System.String,System.String,Xunit.Sdk.MultiValueDictionary{System.String,System.String})">
|
1865
|
+
<summary>
|
1866
|
+
Create a new instance of the <see cref="T:Xunit.Sdk.PassedResult"/> class.
|
1867
|
+
</summary>
|
1868
|
+
<param name="methodName">The name of the method under test</param>
|
1869
|
+
<param name="typeName">The name of the type under test</param>
|
1870
|
+
<param name="displayName">The display name for the test. If null, the fully qualified
|
1871
|
+
type name is used.</param>
|
1872
|
+
<param name="traits">The custom properties attached to the test method</param>
|
1873
|
+
</member>
|
1874
|
+
<member name="M:Xunit.Sdk.PassedResult.ToXml(System.Xml.XmlNode)">
|
1875
|
+
<summary>
|
1876
|
+
Converts the test result into XML that is consumed by the test runners.
|
1877
|
+
</summary>
|
1878
|
+
<param name="parentNode">The parent node.</param>
|
1879
|
+
<returns>The newly created XML node.</returns>
|
1880
|
+
</member>
|
1881
|
+
<member name="T:Xunit.Sdk.SkipResult">
|
1882
|
+
<summary>
|
1883
|
+
Represents a skipped test result.
|
1884
|
+
</summary>
|
1885
|
+
</member>
|
1886
|
+
<member name="M:Xunit.Sdk.SkipResult.#ctor(Xunit.Sdk.IMethodInfo,System.String,System.String)">
|
1887
|
+
<summary>
|
1888
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.SkipResult"/> class. Uses reflection to discover
|
1889
|
+
the skip reason.
|
1890
|
+
</summary>
|
1891
|
+
<param name="method">The method under test</param>
|
1892
|
+
<param name="displayName">The display name for the test. If null, the fully qualified
|
1893
|
+
type name is used.</param>
|
1894
|
+
<param name="reason">The reason the test was skipped.</param>
|
1895
|
+
</member>
|
1896
|
+
<member name="M:Xunit.Sdk.SkipResult.#ctor(System.String,System.String,System.String,Xunit.Sdk.MultiValueDictionary{System.String,System.String},System.String)">
|
1897
|
+
<summary>
|
1898
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.SkipResult"/> class.
|
1899
|
+
</summary>
|
1900
|
+
<param name="methodName">The name of the method under test</param>
|
1901
|
+
<param name="typeName">The name of the type under test</param>
|
1902
|
+
<param name="displayName">The display name for the test. If null, the fully qualified
|
1903
|
+
type name is used.</param>
|
1904
|
+
<param name="traits">The traits attached to the method under test</param>
|
1905
|
+
<param name="reason">The skip reason</param>
|
1906
|
+
</member>
|
1907
|
+
<member name="M:Xunit.Sdk.SkipResult.ToXml(System.Xml.XmlNode)">
|
1908
|
+
<summary>
|
1909
|
+
Converts the test result into XML that is consumed by the test runners.
|
1910
|
+
</summary>
|
1911
|
+
<param name="parentNode">The parent node.</param>
|
1912
|
+
<returns>The newly created XML node.</returns>
|
1913
|
+
</member>
|
1914
|
+
<member name="P:Xunit.Sdk.SkipResult.Reason">
|
1915
|
+
<summary>
|
1916
|
+
Gets the skip reason.
|
1917
|
+
</summary>
|
1918
|
+
</member>
|
1919
|
+
<member name="T:Xunit.Sdk.IAttributeInfo">
|
1920
|
+
<summary>
|
1921
|
+
Represents information about an attribute.
|
1922
|
+
</summary>
|
1923
|
+
</member>
|
1924
|
+
<member name="M:Xunit.Sdk.IAttributeInfo.GetInstance``1">
|
1925
|
+
<summary>
|
1926
|
+
Gets the instance of the attribute, if available.
|
1927
|
+
</summary>
|
1928
|
+
<typeparam name="T">The type of the attribute</typeparam>
|
1929
|
+
<returns>The instance of the attribute, if available.</returns>
|
1930
|
+
</member>
|
1931
|
+
<member name="M:Xunit.Sdk.IAttributeInfo.GetPropertyValue``1(System.String)">
|
1932
|
+
<summary>
|
1933
|
+
Gets an initialized property value of the attribute.
|
1934
|
+
</summary>
|
1935
|
+
<typeparam name="TValue">The type of the property</typeparam>
|
1936
|
+
<param name="propertyName">The name of the property</param>
|
1937
|
+
<returns>The property value</returns>
|
1938
|
+
</member>
|
1939
|
+
<member name="T:Xunit.Sdk.IMethodInfo">
|
1940
|
+
<summary>
|
1941
|
+
Represents information about a method.
|
1942
|
+
</summary>
|
1943
|
+
</member>
|
1944
|
+
<member name="M:Xunit.Sdk.IMethodInfo.CreateInstance">
|
1945
|
+
<summary>
|
1946
|
+
Creates an instance of the type where this test method was found. If using
|
1947
|
+
reflection, this should be the ReflectedType.
|
1948
|
+
</summary>
|
1949
|
+
<returns>A new instance of the type.</returns>
|
1950
|
+
</member>
|
1951
|
+
<member name="M:Xunit.Sdk.IMethodInfo.GetCustomAttributes(System.Type)">
|
1952
|
+
<summary>
|
1953
|
+
Gets all the custom attributes for the method that are of the given type.
|
1954
|
+
</summary>
|
1955
|
+
<param name="attributeType">The type of the attribute</param>
|
1956
|
+
<returns>The matching attributes that decorate the method</returns>
|
1957
|
+
</member>
|
1958
|
+
<member name="M:Xunit.Sdk.IMethodInfo.HasAttribute(System.Type)">
|
1959
|
+
<summary>
|
1960
|
+
Determines if the method has at least one instance of the given attribute type.
|
1961
|
+
</summary>
|
1962
|
+
<param name="attributeType">The type of the attribute</param>
|
1963
|
+
<returns>True if the method has at least one instance of the given attribute type; false, otherwise</returns>
|
1964
|
+
</member>
|
1965
|
+
<member name="M:Xunit.Sdk.IMethodInfo.Invoke(System.Object,System.Object[])">
|
1966
|
+
<summary>
|
1967
|
+
Invokes the test on the given class, with the given parameters.
|
1968
|
+
</summary>
|
1969
|
+
<param name="testClass">The instance of the test class (may be null if
|
1970
|
+
the test method is static).</param>
|
1971
|
+
<param name="parameters">The parameters to be passed to the test method.</param>
|
1972
|
+
</member>
|
1973
|
+
<member name="P:Xunit.Sdk.IMethodInfo.IsAbstract">
|
1974
|
+
<summary>
|
1975
|
+
Gets a value indicating whether the method is abstract.
|
1976
|
+
</summary>
|
1977
|
+
</member>
|
1978
|
+
<member name="P:Xunit.Sdk.IMethodInfo.IsStatic">
|
1979
|
+
<summary>
|
1980
|
+
Gets a value indicating whether the method is static.
|
1981
|
+
</summary>
|
1982
|
+
</member>
|
1983
|
+
<member name="P:Xunit.Sdk.IMethodInfo.MethodInfo">
|
1984
|
+
<summary>
|
1985
|
+
Gets the underlying <see cref="P:Xunit.Sdk.IMethodInfo.MethodInfo"/> for the method, if available.
|
1986
|
+
</summary>
|
1987
|
+
</member>
|
1988
|
+
<member name="P:Xunit.Sdk.IMethodInfo.Name">
|
1989
|
+
<summary>
|
1990
|
+
Gets the name of the method.
|
1991
|
+
</summary>
|
1992
|
+
</member>
|
1993
|
+
<member name="P:Xunit.Sdk.IMethodInfo.ReturnType">
|
1994
|
+
<summary>
|
1995
|
+
Gets the fully qualified type name of the return type.
|
1996
|
+
</summary>
|
1997
|
+
</member>
|
1998
|
+
<member name="P:Xunit.Sdk.IMethodInfo.TypeName">
|
1999
|
+
<summary>
|
2000
|
+
Gets the fully qualified type name of the type that this method belongs to. If
|
2001
|
+
using reflection, this should be the ReflectedType.
|
2002
|
+
</summary>
|
2003
|
+
</member>
|
2004
|
+
<member name="T:Xunit.Sdk.ITypeInfo">
|
2005
|
+
<summary>
|
2006
|
+
Represents information about a type.
|
2007
|
+
</summary>
|
2008
|
+
</member>
|
2009
|
+
<member name="M:Xunit.Sdk.ITypeInfo.GetCustomAttributes(System.Type)">
|
2010
|
+
<summary>
|
2011
|
+
Gets all the custom attributes for the type that are of the given attribute type.
|
2012
|
+
</summary>
|
2013
|
+
<param name="attributeType">The type of the attribute</param>
|
2014
|
+
<returns>The matching attributes that decorate the type</returns>
|
2015
|
+
</member>
|
2016
|
+
<member name="M:Xunit.Sdk.ITypeInfo.GetMethod(System.String)">
|
2017
|
+
<summary>
|
2018
|
+
Gets a test method by name.
|
2019
|
+
</summary>
|
2020
|
+
<param name="methodName">The name of the method</param>
|
2021
|
+
<returns>The method, if it exists; null, otherwise.</returns>
|
2022
|
+
</member>
|
2023
|
+
<member name="M:Xunit.Sdk.ITypeInfo.GetMethods">
|
2024
|
+
<summary>
|
2025
|
+
Gets all the methods
|
2026
|
+
</summary>
|
2027
|
+
<returns></returns>
|
2028
|
+
</member>
|
2029
|
+
<member name="M:Xunit.Sdk.ITypeInfo.HasAttribute(System.Type)">
|
2030
|
+
<summary>
|
2031
|
+
Determines if the type has at least one instance of the given attribute type.
|
2032
|
+
</summary>
|
2033
|
+
<param name="attributeType">The type of the attribute</param>
|
2034
|
+
<returns>True if the type has at least one instance of the given attribute type; false, otherwise</returns>
|
2035
|
+
</member>
|
2036
|
+
<member name="M:Xunit.Sdk.ITypeInfo.HasInterface(System.Type)">
|
2037
|
+
<summary>
|
2038
|
+
Determines if the type implements the given interface.
|
2039
|
+
</summary>
|
2040
|
+
<param name="interfaceType">The type of the interface</param>
|
2041
|
+
<returns>True if the type implements the given interface; false, otherwise</returns>
|
2042
|
+
</member>
|
2043
|
+
<member name="P:Xunit.Sdk.ITypeInfo.IsAbstract">
|
2044
|
+
<summary>
|
2045
|
+
Gets a value indicating whether the type is abstract.
|
2046
|
+
</summary>
|
2047
|
+
</member>
|
2048
|
+
<member name="P:Xunit.Sdk.ITypeInfo.IsSealed">
|
2049
|
+
<summary>
|
2050
|
+
Gets a value indicating whether the type is sealed.
|
2051
|
+
</summary>
|
2052
|
+
</member>
|
2053
|
+
<member name="P:Xunit.Sdk.ITypeInfo.Type">
|
2054
|
+
<summary>
|
2055
|
+
Gets the underlying <see cref="P:Xunit.Sdk.ITypeInfo.Type"/> object, if available.
|
2056
|
+
</summary>
|
2057
|
+
</member>
|
2058
|
+
<member name="T:Xunit.Sdk.MethodUtility">
|
2059
|
+
<summary>
|
2060
|
+
Utility class which inspects methods for test information
|
2061
|
+
</summary>
|
2062
|
+
</member>
|
2063
|
+
<member name="M:Xunit.Sdk.MethodUtility.GetSkipReason(Xunit.Sdk.IMethodInfo)">
|
2064
|
+
<summary>
|
2065
|
+
Gets the skip reason from a test method.
|
2066
|
+
</summary>
|
2067
|
+
<param name="method">The method to be inspected</param>
|
2068
|
+
<returns>The skip reason</returns>
|
2069
|
+
</member>
|
2070
|
+
<member name="M:Xunit.Sdk.MethodUtility.GetTestCommands(Xunit.Sdk.IMethodInfo)">
|
2071
|
+
<summary>
|
2072
|
+
Gets the test commands for a test method.
|
2073
|
+
</summary>
|
2074
|
+
<param name="method">The method to be inspected</param>
|
2075
|
+
<returns>The <see cref="T:Xunit.Sdk.ITestCommand"/> objects for the test method</returns>
|
2076
|
+
</member>
|
2077
|
+
<member name="M:Xunit.Sdk.MethodUtility.GetTimeoutParameter(Xunit.Sdk.IMethodInfo)">
|
2078
|
+
<summary>
|
2079
|
+
Gets the timeout value for a test method.
|
2080
|
+
</summary>
|
2081
|
+
<param name="method">The method to be inspected</param>
|
2082
|
+
<returns>The timeout, in milliseconds</returns>
|
2083
|
+
</member>
|
2084
|
+
<member name="M:Xunit.Sdk.MethodUtility.GetTraits(Xunit.Sdk.IMethodInfo)">
|
2085
|
+
<summary>
|
2086
|
+
Gets the traits on a test method.
|
2087
|
+
</summary>
|
2088
|
+
<param name="method">The method to be inspected</param>
|
2089
|
+
<returns>A dictionary of the traits</returns>
|
2090
|
+
</member>
|
2091
|
+
<member name="M:Xunit.Sdk.MethodUtility.HasTimeout(Xunit.Sdk.IMethodInfo)">
|
2092
|
+
<summary>
|
2093
|
+
Determines whether a test method has a timeout.
|
2094
|
+
</summary>
|
2095
|
+
<param name="method">The method to be inspected</param>
|
2096
|
+
<returns>True if the method has a timeout; false, otherwise</returns>
|
2097
|
+
</member>
|
2098
|
+
<member name="M:Xunit.Sdk.MethodUtility.HasTraits(Xunit.Sdk.IMethodInfo)">
|
2099
|
+
<summary>
|
2100
|
+
Determines whether a test method has traits.
|
2101
|
+
</summary>
|
2102
|
+
<param name="method">The method to be inspected</param>
|
2103
|
+
<returns>True if the method has traits; false, otherwise</returns>
|
2104
|
+
</member>
|
2105
|
+
<member name="M:Xunit.Sdk.MethodUtility.IsSkip(Xunit.Sdk.IMethodInfo)">
|
2106
|
+
<summary>
|
2107
|
+
Determines whether a test method should be skipped.
|
2108
|
+
</summary>
|
2109
|
+
<param name="method">The method to be inspected</param>
|
2110
|
+
<returns>True if the method should be skipped; false, otherwise</returns>
|
2111
|
+
</member>
|
2112
|
+
<member name="M:Xunit.Sdk.MethodUtility.IsTest(Xunit.Sdk.IMethodInfo)">
|
2113
|
+
<summary>
|
2114
|
+
Determines whether a method is a test method. A test method must be decorated
|
2115
|
+
with the <see cref="T:Xunit.FactAttribute"/> (or derived class) and must not be abstract.
|
2116
|
+
</summary>
|
2117
|
+
<param name="method">The method to be inspected</param>
|
2118
|
+
<returns>True if the method is a test method; false, otherwise</returns>
|
2119
|
+
</member>
|
2120
|
+
<member name="T:Xunit.Sdk.Reflector">
|
2121
|
+
<summary>
|
2122
|
+
Wrapper to implement <see cref="T:Xunit.Sdk.IMethodInfo"/> and <see cref="T:Xunit.Sdk.ITypeInfo"/> using reflection.
|
2123
|
+
</summary>
|
2124
|
+
</member>
|
2125
|
+
<member name="M:Xunit.Sdk.Reflector.Wrap(System.Attribute)">
|
2126
|
+
<summary>
|
2127
|
+
Converts an <see cref="T:System.Attribute"/> into an <see cref="T:Xunit.Sdk.IAttributeInfo"/> using reflection.
|
2128
|
+
</summary>
|
2129
|
+
<param name="attribute"></param>
|
2130
|
+
<returns></returns>
|
2131
|
+
</member>
|
2132
|
+
<member name="M:Xunit.Sdk.Reflector.Wrap(System.Reflection.MethodInfo)">
|
2133
|
+
<summary>
|
2134
|
+
Converts a <see cref="T:System.Reflection.MethodInfo"/> into an <see cref="T:Xunit.Sdk.IMethodInfo"/> using reflection.
|
2135
|
+
</summary>
|
2136
|
+
<param name="method">The method to wrap</param>
|
2137
|
+
<returns>The wrapper</returns>
|
2138
|
+
</member>
|
2139
|
+
<member name="M:Xunit.Sdk.Reflector.Wrap(System.Type)">
|
2140
|
+
<summary>
|
2141
|
+
Converts a <see cref="T:System.Type"/> into an <see cref="T:Xunit.Sdk.ITypeInfo"/> using reflection.
|
2142
|
+
</summary>
|
2143
|
+
<param name="type">The type to wrap</param>
|
2144
|
+
<returns>The wrapper</returns>
|
2145
|
+
</member>
|
2146
|
+
<member name="T:Xunit.Sdk.TypeUtility">
|
2147
|
+
<summary>
|
2148
|
+
Utility class which inspects types for test information
|
2149
|
+
</summary>
|
2150
|
+
</member>
|
2151
|
+
<member name="M:Xunit.Sdk.TypeUtility.ContainsTestMethods(Xunit.Sdk.ITypeInfo)">
|
2152
|
+
<summary>
|
2153
|
+
Determines if a type contains any test methods
|
2154
|
+
</summary>
|
2155
|
+
<param name="type">The type to be inspected</param>
|
2156
|
+
<returns>True if the class contains any test methods; false, otherwise</returns>
|
2157
|
+
</member>
|
2158
|
+
<member name="M:Xunit.Sdk.TypeUtility.GetRunWith(Xunit.Sdk.ITypeInfo)">
|
2159
|
+
<summary>
|
2160
|
+
Retrieves the type to run the test class with from the <see cref="T:Xunit.RunWithAttribute"/>, if present.
|
2161
|
+
</summary>
|
2162
|
+
<param name="type">The type to be inspected</param>
|
2163
|
+
<returns>The type of the test class runner, if present; null, otherwise</returns>
|
2164
|
+
</member>
|
2165
|
+
<member name="M:Xunit.Sdk.TypeUtility.GetTestMethods(Xunit.Sdk.ITypeInfo)">
|
2166
|
+
<summary>
|
2167
|
+
Retrieves a list of the test methods from the test class.
|
2168
|
+
</summary>
|
2169
|
+
<param name="type">The type to be inspected</param>
|
2170
|
+
<returns>The test methods</returns>
|
2171
|
+
</member>
|
2172
|
+
<member name="M:Xunit.Sdk.TypeUtility.HasRunWith(Xunit.Sdk.ITypeInfo)">
|
2173
|
+
<summary>
|
2174
|
+
Determines if the test class has a <see cref="T:Xunit.RunWithAttribute"/> applied to it.
|
2175
|
+
</summary>
|
2176
|
+
<param name="type">The type to be inspected</param>
|
2177
|
+
<returns>True if the test class has a run with attribute; false, otherwise</returns>
|
2178
|
+
</member>
|
2179
|
+
<member name="M:Xunit.Sdk.TypeUtility.ImplementsITestClassCommand(Xunit.Sdk.ITypeInfo)">
|
2180
|
+
<summary>
|
2181
|
+
Determines if the type implements <see cref="T:Xunit.Sdk.ITestClassCommand"/>.
|
2182
|
+
</summary>
|
2183
|
+
<param name="type">The type to be inspected</param>
|
2184
|
+
<returns>True if the type implements <see cref="T:Xunit.Sdk.ITestClassCommand"/>; false, otherwise</returns>
|
2185
|
+
</member>
|
2186
|
+
<member name="M:Xunit.Sdk.TypeUtility.IsAbstract(Xunit.Sdk.ITypeInfo)">
|
2187
|
+
<summary>
|
2188
|
+
Determines whether the specified type is abstract.
|
2189
|
+
</summary>
|
2190
|
+
<param name="type">The type.</param>
|
2191
|
+
<returns>
|
2192
|
+
<c>true</c> if the specified type is abstract; otherwise, <c>false</c>.
|
2193
|
+
</returns>
|
2194
|
+
</member>
|
2195
|
+
<member name="M:Xunit.Sdk.TypeUtility.IsStatic(Xunit.Sdk.ITypeInfo)">
|
2196
|
+
<summary>
|
2197
|
+
Determines whether the specified type is static.
|
2198
|
+
</summary>
|
2199
|
+
<param name="type">The type.</param>
|
2200
|
+
<returns>
|
2201
|
+
<c>true</c> if the specified type is static; otherwise, <c>false</c>.
|
2202
|
+
</returns>
|
2203
|
+
</member>
|
2204
|
+
<member name="M:Xunit.Sdk.TypeUtility.IsTestClass(Xunit.Sdk.ITypeInfo)">
|
2205
|
+
<summary>
|
2206
|
+
Determines if a class is a test class.
|
2207
|
+
</summary>
|
2208
|
+
<param name="type">The type to be inspected</param>
|
2209
|
+
<returns>True if the type is a test class; false, otherwise</returns>
|
2210
|
+
</member>
|
2211
|
+
<member name="T:Xunit.FactAttribute">
|
2212
|
+
<summary>
|
2213
|
+
Attribute that is applied to a method to indicate that it is a fact that should be run
|
2214
|
+
by the test runner. It can also be extended to support a customized definition of a
|
2215
|
+
test method.
|
2216
|
+
</summary>
|
2217
|
+
</member>
|
2218
|
+
<member name="M:Xunit.FactAttribute.CreateTestCommands(Xunit.Sdk.IMethodInfo)">
|
2219
|
+
<summary>
|
2220
|
+
Creates instances of <see cref="T:Xunit.Sdk.ITestCommand"/> which represent individual intended
|
2221
|
+
invocations of the test method.
|
2222
|
+
</summary>
|
2223
|
+
<param name="method">The method under test</param>
|
2224
|
+
<returns>An enumerator through the desired test method invocations</returns>
|
2225
|
+
</member>
|
2226
|
+
<member name="M:Xunit.FactAttribute.EnumerateTestCommands(Xunit.Sdk.IMethodInfo)">
|
2227
|
+
<summary>
|
2228
|
+
Enumerates the test commands represented by this test method. Derived classes should
|
2229
|
+
override this method to return instances of <see cref="T:Xunit.Sdk.ITestCommand"/>, one per execution
|
2230
|
+
of a test method.
|
2231
|
+
</summary>
|
2232
|
+
<param name="method">The test method</param>
|
2233
|
+
<returns>The test commands which will execute the test runs for the given method</returns>
|
2234
|
+
</member>
|
2235
|
+
<member name="P:Xunit.FactAttribute.DisplayName">
|
2236
|
+
<summary>
|
2237
|
+
Gets the name of the test to be used when the test is skipped. Defaults to
|
2238
|
+
null, which will cause the fully qualified test name to be used.
|
2239
|
+
</summary>
|
2240
|
+
</member>
|
2241
|
+
<member name="P:Xunit.FactAttribute.Name">
|
2242
|
+
<summary>
|
2243
|
+
Obsolete. Please use the <see cref="P:Xunit.FactAttribute.DisplayName"/> property instead.
|
2244
|
+
</summary>
|
2245
|
+
</member>
|
2246
|
+
<member name="P:Xunit.FactAttribute.Skip">
|
2247
|
+
<summary>
|
2248
|
+
Marks the test so that it will not be run, and gets or sets the skip reason
|
2249
|
+
</summary>
|
2250
|
+
</member>
|
2251
|
+
<member name="P:Xunit.FactAttribute.Timeout">
|
2252
|
+
<summary>
|
2253
|
+
Marks the test as failing if it does not finish running within the given time
|
2254
|
+
period, in milliseconds; set to 0 or less to indicate the method has no timeout
|
2255
|
+
</summary>
|
2256
|
+
</member>
|
2257
|
+
<member name="T:Xunit.Sdk.ThrowsException">
|
2258
|
+
<summary>
|
2259
|
+
Exception thrown when code unexpectedly fails to throw an exception.
|
2260
|
+
</summary>
|
2261
|
+
</member>
|
2262
|
+
<member name="M:Xunit.Sdk.ThrowsException.#ctor(System.Type)">
|
2263
|
+
<summary>
|
2264
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.ThrowsException"/> class. Call this constructor
|
2265
|
+
when no exception was thrown.
|
2266
|
+
</summary>
|
2267
|
+
<param name="expectedType">The type of the exception that was expected</param>
|
2268
|
+
</member>
|
2269
|
+
<member name="M:Xunit.Sdk.ThrowsException.#ctor(System.Type,System.Exception)">
|
2270
|
+
<summary>
|
2271
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.ThrowsException"/> class. Call this constructor
|
2272
|
+
when an exception of the wrong type was thrown.
|
2273
|
+
</summary>
|
2274
|
+
<param name="expectedType">The type of the exception that was expected</param>
|
2275
|
+
<param name="actual">The actual exception that was thrown</param>
|
2276
|
+
</member>
|
2277
|
+
<member name="P:Xunit.Sdk.ThrowsException.StackTrace">
|
2278
|
+
<summary>
|
2279
|
+
Gets a string representation of the frames on the call stack at the time the current exception was thrown.
|
2280
|
+
</summary>
|
2281
|
+
<returns>A string that describes the contents of the call stack, with the most recent method call appearing first.</returns>
|
2282
|
+
</member>
|
2283
|
+
<member name="T:Xunit.Sdk.TimeoutException">
|
2284
|
+
<summary>
|
2285
|
+
Exception thrown when a test method exceeds the given timeout value
|
2286
|
+
</summary>
|
2287
|
+
</member>
|
2288
|
+
<member name="M:Xunit.Sdk.TimeoutException.#ctor(System.Int64)">
|
2289
|
+
<summary>
|
2290
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TimeoutException"/> class.
|
2291
|
+
</summary>
|
2292
|
+
<param name="timeout">The timeout value, in milliseconds</param>
|
2293
|
+
</member>
|
2294
|
+
<member name="T:Xunit.Sdk.TrueException">
|
2295
|
+
<summary>
|
2296
|
+
Exception thrown when a value is unexpectedly false.
|
2297
|
+
</summary>
|
2298
|
+
</member>
|
2299
|
+
<member name="M:Xunit.Sdk.TrueException.#ctor(System.String)">
|
2300
|
+
<summary>
|
2301
|
+
Creates a new instance of the <see cref="T:Xunit.Sdk.TrueException"/> class.
|
2302
|
+
</summary>
|
2303
|
+
<param name="userMessage">The user message to be displayed, or null for the default message</param>
|
2304
|
+
</member>
|
2305
|
+
</members>
|
2306
|
+
</doc>
|