nunit 2.4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/docs/addinsDialog.html +74 -0
- data/docs/assertions.html +91 -0
- data/docs/attributes.html +89 -0
- data/docs/category.html +265 -0
- data/docs/classicModel.html +92 -0
- data/docs/codeFuncs.js +77 -0
- data/docs/collectionAssert.html +162 -0
- data/docs/collectionConstraints.html +130 -0
- data/docs/comparisonAsserts.html +271 -0
- data/docs/comparisonConstraints.html +109 -0
- data/docs/compoundConstraints.html +97 -0
- data/docs/conditionAsserts.html +123 -0
- data/docs/conditionConstraints.html +106 -0
- data/docs/configEditor.html +93 -0
- data/docs/configFiles.html +155 -0
- data/docs/consoleCommandLine.html +271 -0
- data/docs/constraintModel.html +134 -0
- data/docs/contextMenu.html +106 -0
- data/docs/culture.html +255 -0
- data/docs/customAsserts.html +115 -0
- data/docs/customConstraints.html +101 -0
- data/docs/description.html +178 -0
- data/docs/equalConstraint.html +139 -0
- data/docs/equalityAsserts.html +187 -0
- data/docs/exception.html +296 -0
- data/docs/explicit.html +256 -0
- data/docs/extensibility.html +83 -0
- data/docs/favicon.ico +0 -0
- data/docs/features.html +75 -0
- data/docs/fileAssert.html +114 -0
- data/docs/files/QuickStart.Spanish.doc +0 -0
- data/docs/files/QuickStart.doc +0 -0
- data/docs/files/Results.xsd +70 -0
- data/docs/files/Summary.xslt +47 -0
- data/docs/files/TestResult.xml +103 -0
- data/docs/files/Thumbs.db +0 -0
- data/docs/fixtureSetup.html +201 -0
- data/docs/fixtureTeardown.html +204 -0
- data/docs/getStarted.html +80 -0
- data/docs/guiCommandLine.html +183 -0
- data/docs/identityAsserts.html +99 -0
- data/docs/ignore.html +249 -0
- data/docs/img/addinsDialog.JPG +0 -0
- data/docs/img/assembliesTab.jpg +0 -0
- data/docs/img/assemblyReloadOptions.JPG +0 -0
- data/docs/img/bulletOff.gif +0 -0
- data/docs/img/bulletOn.gif +0 -0
- data/docs/img/configEditor.jpg +0 -0
- data/docs/img/console-mock.jpg +0 -0
- data/docs/img/displayTab.jpg +0 -0
- data/docs/img/generalOptions.jpg +0 -0
- data/docs/img/generalTab.jpg +0 -0
- data/docs/img/gui-screenshot.jpg +0 -0
- data/docs/img/gui-verify.jpg +0 -0
- data/docs/img/langFilter.gif +0 -0
- data/docs/img/logo.gif +0 -0
- data/docs/img/miniGui.jpg +0 -0
- data/docs/img/optionsDialog.jpg +0 -0
- data/docs/img/resultTab.jpg +0 -0
- data/docs/img/testLoadOptions.jpg +0 -0
- data/docs/img/testOutputOptions.jpg +0 -0
- data/docs/img/testProperties.jpg +0 -0
- data/docs/img/testResultOptions.JPG +0 -0
- data/docs/img/testTab.jpg +0 -0
- data/docs/img/testsTab.JPG +0 -0
- data/docs/img/textOutputOptions.jpg +0 -0
- data/docs/img/treeDisplayOptions.JPG +0 -0
- data/docs/img/visualStudioOptions.JPG +0 -0
- data/docs/index.html +75 -0
- data/docs/installation.html +172 -0
- data/docs/license.html +88 -0
- data/docs/listMapper.html +100 -0
- data/docs/mainMenu.html +260 -0
- data/docs/multiAssembly.html +130 -0
- data/docs/nunit-console.html +84 -0
- data/docs/nunit-gui.html +115 -0
- data/docs/nunit.css +118 -0
- data/docs/nunitAddins.html +331 -0
- data/docs/optionsDialog.html +262 -0
- data/docs/platform.html +285 -0
- data/docs/platformSupport.html +99 -0
- data/docs/projectEditor.html +127 -0
- data/docs/property.html +219 -0
- data/docs/propertyConstraint.html +89 -0
- data/docs/quickStart.html +314 -0
- data/docs/releaseNotes.html +1235 -0
- data/docs/sameasConstraint.html +98 -0
- data/docs/samples.html +126 -0
- data/docs/setCulture.html +173 -0
- data/docs/setup.html +199 -0
- data/docs/setupFixture.html +198 -0
- data/docs/stringAssert.html +107 -0
- data/docs/stringConstraints.html +111 -0
- data/docs/suite.html +222 -0
- data/docs/teardown.html +204 -0
- data/docs/test.html +171 -0
- data/docs/testFixture.html +168 -0
- data/docs/testProperties.html +76 -0
- data/docs/typeAsserts.html +101 -0
- data/docs/typeConstraints.html +103 -0
- data/docs/upgrade.html +97 -0
- data/docs/utilityAsserts.html +108 -0
- data/docs/vsSupport.html +140 -0
- data/lib/net-1.1/Failure.jpg +0 -0
- data/lib/net-1.1/Ignored.jpg +0 -0
- data/lib/net-1.1/NUnitFitTests.html +277 -0
- data/lib/net-1.1/NUnitTests.config +84 -0
- data/lib/net-1.1/NUnitTests.nunit +14 -0
- data/lib/net-1.1/Success.jpg +0 -0
- data/lib/net-1.1/clr.bat +96 -0
- data/lib/net-1.1/fit.dll +0 -0
- data/lib/net-1.1/loadtest-assembly.dll +0 -0
- data/lib/net-1.1/mock-assembly.dll +0 -0
- data/lib/net-1.1/nonamespace-assembly.dll +0 -0
- data/lib/net-1.1/notestfixtures-assembly.dll +0 -0
- data/lib/net-1.1/nunit-console-runner.dll +0 -0
- data/lib/net-1.1/nunit-console.exe +0 -0
- data/lib/net-1.1/nunit-console.exe.config +117 -0
- data/lib/net-1.1/nunit-console.tests.dll +0 -0
- data/lib/net-1.1/nunit-gui-runner.dll +0 -0
- data/lib/net-1.1/nunit-gui.tests.dll +0 -0
- data/lib/net-1.1/nunit.core.dll +0 -0
- data/lib/net-1.1/nunit.core.extensions.dll +0 -0
- data/lib/net-1.1/nunit.core.interfaces.dll +0 -0
- data/lib/net-1.1/nunit.core.tests.dll +0 -0
- data/lib/net-1.1/nunit.exe +0 -0
- data/lib/net-1.1/nunit.exe.config +121 -0
- data/lib/net-1.1/nunit.extensions.tests.dll +0 -0
- data/lib/net-1.1/nunit.fixtures.dll +0 -0
- data/lib/net-1.1/nunit.fixtures.tests.dll +0 -0
- data/lib/net-1.1/nunit.framework.dll +0 -0
- data/lib/net-1.1/nunit.framework.extensions.dll +0 -0
- data/lib/net-1.1/nunit.framework.tests.dll +0 -0
- data/lib/net-1.1/nunit.framework.xml +5622 -0
- data/lib/net-1.1/nunit.mocks.dll +0 -0
- data/lib/net-1.1/nunit.mocks.tests.dll +0 -0
- data/lib/net-1.1/nunit.uikit.dll +0 -0
- data/lib/net-1.1/nunit.uikit.tests.dll +0 -0
- data/lib/net-1.1/nunit.util.dll +0 -0
- data/lib/net-1.1/nunit.util.tests.dll +0 -0
- data/lib/net-1.1/runFile.exe +0 -0
- data/lib/net-1.1/runFile.exe.config +43 -0
- data/lib/net-1.1/test-assembly.dll +0 -0
- data/lib/net-1.1/test-utilities.dll +0 -0
- data/lib/net-1.1/timing-tests.dll +0 -0
- data/lib/net-2.0/Failure.jpg +0 -0
- data/lib/net-2.0/Ignored.jpg +0 -0
- data/lib/net-2.0/NUnitFitTests.html +277 -0
- data/lib/net-2.0/NUnitTests.config +84 -0
- data/lib/net-2.0/NUnitTests.nunit +14 -0
- data/lib/net-2.0/Success.jpg +0 -0
- data/lib/net-2.0/clr.bat +96 -0
- data/lib/net-2.0/fit.dll +0 -0
- data/lib/net-2.0/loadtest-assembly.dll +0 -0
- data/lib/net-2.0/mock-assembly.dll +0 -0
- data/lib/net-2.0/nonamespace-assembly.dll +0 -0
- data/lib/net-2.0/notestfixtures-assembly.dll +0 -0
- data/lib/net-2.0/nunit-console-runner.dll +0 -0
- data/lib/net-2.0/nunit-console-x86.exe +0 -0
- data/lib/net-2.0/nunit-console-x86.exe.config +117 -0
- data/lib/net-2.0/nunit-console.exe +0 -0
- data/lib/net-2.0/nunit-console.exe.config +117 -0
- data/lib/net-2.0/nunit-console.tests.dll +0 -0
- data/lib/net-2.0/nunit-gui-runner.dll +0 -0
- data/lib/net-2.0/nunit-gui.tests.dll +0 -0
- data/lib/net-2.0/nunit-x86.exe +0 -0
- data/lib/net-2.0/nunit-x86.exe.config +121 -0
- data/lib/net-2.0/nunit.core.dll +0 -0
- data/lib/net-2.0/nunit.core.extensions.dll +0 -0
- data/lib/net-2.0/nunit.core.interfaces.dll +0 -0
- data/lib/net-2.0/nunit.core.tests.dll +0 -0
- data/lib/net-2.0/nunit.exe +0 -0
- data/lib/net-2.0/nunit.exe.config +121 -0
- data/lib/net-2.0/nunit.extensions.tests.dll +0 -0
- data/lib/net-2.0/nunit.fixtures.dll +0 -0
- data/lib/net-2.0/nunit.fixtures.tests.dll +0 -0
- data/lib/net-2.0/nunit.framework.dll +0 -0
- data/lib/net-2.0/nunit.framework.extensions.dll +0 -0
- data/lib/net-2.0/nunit.framework.tests.dll +0 -0
- data/lib/net-2.0/nunit.framework.xml +5622 -0
- data/lib/net-2.0/nunit.mocks.dll +0 -0
- data/lib/net-2.0/nunit.mocks.tests.dll +0 -0
- data/lib/net-2.0/nunit.uikit.dll +0 -0
- data/lib/net-2.0/nunit.uikit.tests.dll +0 -0
- data/lib/net-2.0/nunit.util.dll +0 -0
- data/lib/net-2.0/nunit.util.tests.dll +0 -0
- data/lib/net-2.0/runFile.exe +0 -0
- data/lib/net-2.0/runFile.exe.config +43 -0
- data/lib/net-2.0/test-assembly.dll +0 -0
- data/lib/net-2.0/test-utilities.dll +0 -0
- data/lib/net-2.0/timing-tests.dll +0 -0
- metadata +262 -0
@@ -0,0 +1,83 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
2
|
+
<html>
|
3
|
+
<!-- Standard Head Part -->
|
4
|
+
<head>
|
5
|
+
<title>NUnit - Extensibility</title>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
7
|
+
<meta http-equiv="Content-Language" content="en-US">
|
8
|
+
<link rel="stylesheet" type="text/css" href="nunit.css">
|
9
|
+
<link rel="shortcut icon" href="favicon.ico">
|
10
|
+
</head>
|
11
|
+
<!-- End Standard Head Part -->
|
12
|
+
|
13
|
+
<body>
|
14
|
+
|
15
|
+
<!-- Standard Header for NUnit.org -->
|
16
|
+
<div id="header">
|
17
|
+
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
|
18
|
+
<div id="nav">
|
19
|
+
<a href="http://www.nunit.org">NUnit</a>
|
20
|
+
<a class="active" href="index.html">Documentation</a>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<!-- End of Header -->
|
24
|
+
|
25
|
+
<div id="content">
|
26
|
+
|
27
|
+
<h2>NUnit Extensibility</h2>
|
28
|
+
|
29
|
+
<p>NUnit is designed to be extended in a number of ways.</p>
|
30
|
+
|
31
|
+
<p>Extensions to the NUnit framework - the part of NUnit that is referenced
|
32
|
+
by tests - usually take the form of
|
33
|
+
<a href="customAsserts.html">Custom Asserts</a>, written by users to
|
34
|
+
encapsulate tests that pertain to their specific projects.</p>
|
35
|
+
|
36
|
+
<p>Extending the features found within NUnit itself depends on the use of
|
37
|
+
<a href="nunitAddins.html">NUnit Addins</a>.
|
38
|
+
Currently, The Addin mechanism only supports extensions to the NUnit core -
|
39
|
+
the part of NUnit that builds and executes test suites. However, the API that
|
40
|
+
is used provides for the future ability to extend the client side of NUnit,
|
41
|
+
including the GUI.</p>
|
42
|
+
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<!-- Submenu -->
|
47
|
+
<div id="subnav">
|
48
|
+
<ul>
|
49
|
+
<li><a href="index.html">NUnit 2.4.8</a></li>
|
50
|
+
<ul>
|
51
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
52
|
+
<li><a href="assertions.html">Assertions</a></li>
|
53
|
+
<li><a href="attributes.html">Attributes</a></li>
|
54
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
55
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
56
|
+
<li><a href="features.html">Other Features</a></li>
|
57
|
+
<ul>
|
58
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
59
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
60
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
61
|
+
<li id="current"><a href="extensibility.html">Extensibility</a></li>
|
62
|
+
<ul>
|
63
|
+
<li><a href="customAsserts.html">Custom Asserts</a></li>
|
64
|
+
<li><a href="nunitAddins.html">NUnit Addins</a></li>
|
65
|
+
</ul>
|
66
|
+
</ul>
|
67
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
68
|
+
<li><a href="samples.html">Samples</a></li>
|
69
|
+
<li><a href="license.html">License</a></li>
|
70
|
+
</ul>
|
71
|
+
</ul>
|
72
|
+
</div>
|
73
|
+
<!-- End of Submenu -->
|
74
|
+
|
75
|
+
|
76
|
+
<!-- Standard Footer for NUnit.org -->
|
77
|
+
<div id="footer">
|
78
|
+
Copyright © 2008 Charlie Poole. All Rights Reserved.
|
79
|
+
</div>
|
80
|
+
<!-- End of Footer -->
|
81
|
+
|
82
|
+
</body>
|
83
|
+
</html>
|
data/docs/favicon.ico
ADDED
Binary file
|
data/docs/features.html
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
2
|
+
<html>
|
3
|
+
<!-- Standard Head Part -->
|
4
|
+
<head>
|
5
|
+
<title>NUnit - Features</title>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
7
|
+
<meta http-equiv="Content-Language" content="en-US">
|
8
|
+
<link rel="stylesheet" type="text/css" href="nunit.css">
|
9
|
+
<link rel="shortcut icon" href="favicon.ico">
|
10
|
+
</head>
|
11
|
+
<!-- End Standard Head Part -->
|
12
|
+
|
13
|
+
<body>
|
14
|
+
|
15
|
+
<!-- Standard Header for NUnit.org -->
|
16
|
+
<div id="header">
|
17
|
+
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
|
18
|
+
<div id="nav">
|
19
|
+
<a href="http://www.nunit.org">NUnit</a>
|
20
|
+
<a class="active" href="index.html">Documentation</a>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<!-- End of Header -->
|
24
|
+
|
25
|
+
<div id="content">
|
26
|
+
|
27
|
+
<h2>Other Features</h2>
|
28
|
+
|
29
|
+
<p>If your application stores settings in <a href="configFiles.html">Configuration Files</a>,
|
30
|
+
NUnit provides you with the ability to have settings for your test, which are different
|
31
|
+
from those used in production.</p>
|
32
|
+
|
33
|
+
<p>In addition to running tests in a single assembly, NUnit provides support for tests
|
34
|
+
organized as <a href="multiAssembly.html">Multiple Assemblies</a> and for
|
35
|
+
creating and running tests as <a href="multiAssembly.html">NUnit Test Projects</a>.
|
36
|
+
|
37
|
+
<p>For those using NUnit on a Windows system with Visual Studio installed,
|
38
|
+
<a href="vsSupport.html">Visual Studio Support</a> is available.
|
39
|
+
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<!-- Submenu -->
|
43
|
+
<div id="subnav">
|
44
|
+
<ul>
|
45
|
+
<li><a href="index.html">NUnit 2.4.8</a></li>
|
46
|
+
<ul>
|
47
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
48
|
+
<li><a href="assertions.html">Assertions</a></li>
|
49
|
+
<li><a href="attributes.html">Attributes</a></li>
|
50
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
51
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
52
|
+
<li id="current"><a href="features.html">Other Features</a></li>
|
53
|
+
<ul>
|
54
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
55
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
56
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
57
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
58
|
+
</ul>
|
59
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
60
|
+
<li><a href="samples.html">Samples</a></li>
|
61
|
+
<li><a href="license.html">License</a></li>
|
62
|
+
</ul>
|
63
|
+
</ul>
|
64
|
+
</div>
|
65
|
+
<!-- End of Submenu -->
|
66
|
+
|
67
|
+
|
68
|
+
<!-- Standard Footer for NUnit.org -->
|
69
|
+
<div id="footer">
|
70
|
+
Copyright © 2008 Charlie Poole. All Rights Reserved.
|
71
|
+
</div>
|
72
|
+
<!-- End of Footer -->
|
73
|
+
|
74
|
+
</body>
|
75
|
+
</html>
|
@@ -0,0 +1,114 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
2
|
+
<html>
|
3
|
+
<!-- Standard Head Part -->
|
4
|
+
<head>
|
5
|
+
<title>NUnit - FileAssert</title>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
7
|
+
<meta http-equiv="Content-Language" content="en-US">
|
8
|
+
<link rel="stylesheet" type="text/css" href="nunit.css">
|
9
|
+
<link rel="shortcut icon" href="favicon.ico">
|
10
|
+
</head>
|
11
|
+
<!-- End Standard Head Part -->
|
12
|
+
|
13
|
+
<body>
|
14
|
+
|
15
|
+
<!-- Standard Header for NUnit.org -->
|
16
|
+
<div id="header">
|
17
|
+
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
|
18
|
+
<div id="nav">
|
19
|
+
<a href="http://www.nunit.org">NUnit</a>
|
20
|
+
<a class="active" href="index.html">Documentation</a>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<!-- End of Header -->
|
24
|
+
|
25
|
+
<div id="content">
|
26
|
+
|
27
|
+
<h2>FileAssert (NUnit 2.4)</h2>
|
28
|
+
<p>The FileAssert class provides methods for comparing two files,
|
29
|
+
which may be provided as Streams, as FileInfos or as strings
|
30
|
+
giving the path to each file.</p>
|
31
|
+
|
32
|
+
<div class="code" style="width: 36em">
|
33
|
+
<pre>FileAssert.AreEqual( Stream expected, Stream actual );
|
34
|
+
FileAssert.AreEqual( Stream expected, Stream actual,
|
35
|
+
string message );
|
36
|
+
FileAssert.AreEqual( Stream expected, Stream actual,
|
37
|
+
string message, params object[] args );
|
38
|
+
|
39
|
+
FileAssert.AreEqual( FileInfo expected, FileInfo actual );
|
40
|
+
FileAssert.AreEqual( FileInfo expected, FileInfo actual,
|
41
|
+
string message );
|
42
|
+
FileAssert.AreEqual( FileInfo expected, FileInfo actual,
|
43
|
+
string message, params object[] args );
|
44
|
+
|
45
|
+
FileAssert.AreEqual( string expected, string actual );
|
46
|
+
FileAssert.AreEqual( string expected, string actual,
|
47
|
+
string message );
|
48
|
+
FileAssert.AreEqual( string expected, string actual,
|
49
|
+
string message, params object[] args );
|
50
|
+
|
51
|
+
FileAssert.AreNotEqual( Stream expected, Stream actual );
|
52
|
+
FileAssert.AreNotEqual( Stream expected, Stream actual,
|
53
|
+
string message );
|
54
|
+
FileAssert.AreNotEqual( Stream expected, Stream actual,
|
55
|
+
string message, params object[] args );
|
56
|
+
|
57
|
+
FileAssert.AreNotEqual( FileInfo expected, FileInfo actual );
|
58
|
+
FileAssert.AreNotEqual( FileInfo expected, FileInfo actual,
|
59
|
+
string message );
|
60
|
+
FileAssert.AreNotEqual( FileInfo expected, FileInfo actual,
|
61
|
+
string message, params object[] args );
|
62
|
+
|
63
|
+
FileAssert.AreNotEqual( string expected, string actual );
|
64
|
+
FileAssert.AreNotEqual( string expected, string actual,
|
65
|
+
string message );
|
66
|
+
FileAssert.AreNotEqual( string expected, string actual,
|
67
|
+
string message, params object[] args );</pre>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
</div>
|
71
|
+
|
72
|
+
<!-- Submenu -->
|
73
|
+
<div id="subnav">
|
74
|
+
<ul>
|
75
|
+
<li><a href="index.html">NUnit 2.4.8</a></li>
|
76
|
+
<ul>
|
77
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
78
|
+
<li><a href="assertions.html">Assertions</a></li>
|
79
|
+
<ul>
|
80
|
+
<li><a href="classicModel.html">Classic Model</a></li>
|
81
|
+
<ul>
|
82
|
+
<li><a href="equalityAsserts.html">Equality Asserts</a></li>
|
83
|
+
<li><a href="identityAsserts.html">Identity Asserts</a></li>
|
84
|
+
<li><a href="conditionAsserts.html">Condition Tests</a></li>
|
85
|
+
<li><a href="comparisonAsserts.html">Comparison Asserts</a></li>
|
86
|
+
<li><a href="typeAsserts.html">Type Asserts</a></li>
|
87
|
+
<li><a href="utilityAsserts.html">Utility Methods</a></li>
|
88
|
+
<li><a href="stringAssert.html">String Assert</a></li>
|
89
|
+
<li><a href="collectionAssert.html">Collection Assert</a></li>
|
90
|
+
<li id="current"><a href="fileAssert.html">File Assert</a></li>
|
91
|
+
</ul>
|
92
|
+
<li><a href="constraintModel.html">Constraint Model</a></li>
|
93
|
+
</ul>
|
94
|
+
<li><a href="attributes.html">Attributes</a></li>
|
95
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
96
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
97
|
+
<li><a href="features.html">Other Features</a></li>
|
98
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
99
|
+
<li><a href="samples.html">Samples</a></li>
|
100
|
+
<li><a href="license.html">License</a></li>
|
101
|
+
</ul>
|
102
|
+
</ul>
|
103
|
+
</div>
|
104
|
+
<!-- End of Submenu -->
|
105
|
+
|
106
|
+
|
107
|
+
<!-- Standard Footer for NUnit.org -->
|
108
|
+
<div id="footer">
|
109
|
+
Copyright © 2008 Charlie Poole. All Rights Reserved.
|
110
|
+
</div>
|
111
|
+
<!-- End of Footer -->
|
112
|
+
|
113
|
+
</body>
|
114
|
+
</html>
|
Binary file
|
Binary file
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
3
|
+
<xs:complexType name="failureType">
|
4
|
+
<xs:sequence>
|
5
|
+
<xs:element ref="message" />
|
6
|
+
<xs:element ref="stack-trace" />
|
7
|
+
</xs:sequence>
|
8
|
+
</xs:complexType>
|
9
|
+
<xs:complexType name="reasonType">
|
10
|
+
<xs:sequence>
|
11
|
+
<xs:element ref="message" />
|
12
|
+
</xs:sequence>
|
13
|
+
</xs:complexType>
|
14
|
+
<xs:element name="message" type="xs:string" />
|
15
|
+
<xs:complexType name="resultsType">
|
16
|
+
<xs:choice>
|
17
|
+
<xs:element name="test-suite" type="test-suiteType" maxOccurs="unbounded" />
|
18
|
+
<xs:element name="test-case" type="test-caseType" maxOccurs="unbounded" minOccurs="0" />
|
19
|
+
</xs:choice>
|
20
|
+
</xs:complexType>
|
21
|
+
<xs:element name="stack-trace" type="xs:string" />
|
22
|
+
<xs:element name="test-results" type="resultType" />
|
23
|
+
<xs:complexType name="categoriesType">
|
24
|
+
<xs:sequence>
|
25
|
+
<xs:element name="category" type="categoryType" maxOccurs="unbounded" minOccurs="1"/>
|
26
|
+
</xs:sequence>
|
27
|
+
</xs:complexType>
|
28
|
+
<xs:complexType name="categoryType">
|
29
|
+
<xs:attribute name="name" type="xs:string" use="required"/>
|
30
|
+
</xs:complexType>
|
31
|
+
<xs:complexType name="resultType">
|
32
|
+
<xs:sequence>
|
33
|
+
<xs:element name="test-suite" type="test-suiteType" />
|
34
|
+
</xs:sequence>
|
35
|
+
<xs:attribute name="name" type="xs:string" use="required" />
|
36
|
+
<xs:attribute name="total" type="xs:decimal" use="required" />
|
37
|
+
<xs:attribute name="failures" type="xs:decimal" use="required" />
|
38
|
+
<xs:attribute name="not-run" type="xs:decimal" use="required" />
|
39
|
+
<xs:attribute name="date" type="xs:string" use="required" />
|
40
|
+
<xs:attribute name="time" type="xs:string" use="required" />
|
41
|
+
</xs:complexType>
|
42
|
+
<xs:complexType name="test-caseType">
|
43
|
+
<xs:sequence>
|
44
|
+
<xs:element name="categories" type="categoriesType" minOccurs="0" maxOccurs="1" />
|
45
|
+
<xs:choice>
|
46
|
+
<xs:element name="failure" type="failureType" minOccurs="0" />
|
47
|
+
<xs:element name="reason" type="reasonType" minOccurs="0" />
|
48
|
+
</xs:choice>
|
49
|
+
</xs:sequence>
|
50
|
+
|
51
|
+
<xs:attribute name="name" type="xs:string" use="required" />
|
52
|
+
<xs:attribute name="description" type="xs:string" use="optional" />
|
53
|
+
<xs:attribute name="success" type="xs:string" use="optional" />
|
54
|
+
<xs:attribute name="time" type="xs:string" use="optional" />
|
55
|
+
<xs:attribute name="executed" type="xs:string" use="required" />
|
56
|
+
<xs:attribute name="asserts" type="xs:string" use="optional" />
|
57
|
+
</xs:complexType>
|
58
|
+
<xs:complexType name="test-suiteType">
|
59
|
+
<xs:sequence>
|
60
|
+
<xs:element name="categories" type="categoriesType" minOccurs="0" maxOccurs="1" />
|
61
|
+
<xs:element name="results" type="resultsType" />
|
62
|
+
</xs:sequence>
|
63
|
+
<xs:attribute name="name" type="xs:string" use="required" />
|
64
|
+
<xs:attribute name="description" type="xs:string" use="optional" />
|
65
|
+
<xs:attribute name="success" type="xs:string" use="required" />
|
66
|
+
<xs:attribute name="time" type="xs:string" use="required" />
|
67
|
+
<xs:attribute name="asserts" type="xs:string" use="optional" />
|
68
|
+
</xs:complexType>
|
69
|
+
|
70
|
+
</xs:schema>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
3
|
+
<xsl:output method='text'/>
|
4
|
+
|
5
|
+
<xsl:template match="/">
|
6
|
+
<xsl:apply-templates/>
|
7
|
+
</xsl:template>
|
8
|
+
|
9
|
+
<xsl:template match="test-results">
|
10
|
+
<xsl:text>Tests run: </xsl:text>
|
11
|
+
<xsl:value-of select="@total"/>
|
12
|
+
<xsl:text>, Failures: </xsl:text>
|
13
|
+
<xsl:value-of select="@failures"/>
|
14
|
+
<xsl:text>, Not run: </xsl:text>
|
15
|
+
<xsl:value-of select="@not-run"/>
|
16
|
+
<xsl:text>, Time: </xsl:text>
|
17
|
+
<xsl:value-of select="test-suite/@time"/>
|
18
|
+
<xsl:text> seconds
|
19
|
+
</xsl:text>
|
20
|
+
<xsl:text>
|
21
|
+
</xsl:text>
|
22
|
+
|
23
|
+
<xsl:if test="//test-case[failure]"><xsl:text>Failures:
|
24
|
+
</xsl:text></xsl:if>
|
25
|
+
<xsl:apply-templates select="//test-case[failure]"/>
|
26
|
+
<xsl:if test="//test-case[@executed='False']"><xsl:text>Tests not run:
|
27
|
+
</xsl:text></xsl:if>
|
28
|
+
<xsl:apply-templates select="//test-case[@executed='False']"/>
|
29
|
+
<xsl:text disable-output-escaping='yes'>
</xsl:text>
|
30
|
+
</xsl:template>
|
31
|
+
|
32
|
+
<xsl:template match="test-case">
|
33
|
+
<xsl:value-of select="position()"/><xsl:text>) </xsl:text>
|
34
|
+
<xsl:value-of select="@name"/>
|
35
|
+
<xsl:text> : </xsl:text>
|
36
|
+
<xsl:value-of select="child::node()/message"/>
|
37
|
+
<xsl:text disable-output-escaping='yes'>
</xsl:text>
|
38
|
+
<xsl:if test="failure">
|
39
|
+
<xsl:value-of select="failure/stack-trace"/>
|
40
|
+
<xsl:text>
|
41
|
+
</xsl:text>
|
42
|
+
</xsl:if>
|
43
|
+
</xsl:template>
|
44
|
+
|
45
|
+
</xsl:stylesheet>
|
46
|
+
|
47
|
+
|
@@ -0,0 +1,103 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
2
|
+
<!--This file represents the results of running a test suite-->
|
3
|
+
<test-results name="C:\Program Files\NUnit 2.2.8\bin\mock-assembly.dll" total="5" failures="0" not-run="6" date="2006-04-22" time="12:47:24">
|
4
|
+
<environment nunit-version="2.2.8.0" clr-version="1.1.4322.2032" os-version="Microsoft Windows NT 5.1.2600.0" platform="Win32NT" cwd="C:\Program Files\NUnit 2.2.8\bin" machine-name="FERRARI" user="Charlie" user-domain="FERRARI" />
|
5
|
+
<culture-info current-culture="en-US" current-uiculture="en-US" />
|
6
|
+
<test-suite name="C:\Program Files\NUnit 2.2.8\bin\mock-assembly.dll" success="True" time="0.016" asserts="0">
|
7
|
+
<results>
|
8
|
+
<test-suite name="C:\Program Files\NUnit 2.2.8\bin\mock-assembly.dll" success="True" time="0.000" asserts="0">
|
9
|
+
<results>
|
10
|
+
<test-suite name="NUnit" success="True" time="0.000" asserts="0">
|
11
|
+
<results>
|
12
|
+
<test-suite name="NUnit.Tests" success="True" time="0.000" asserts="0">
|
13
|
+
<results>
|
14
|
+
<test-suite name="NUnit.Tests.Assemblies" success="True" time="0.000" asserts="0">
|
15
|
+
<results>
|
16
|
+
<test-suite name="NUnit.Tests.Assemblies.MockTestFixture" description="Fake Test Fixture" success="True" time="0.000" asserts="0">
|
17
|
+
<categories>
|
18
|
+
<category name="FixtureCategory" />
|
19
|
+
</categories>
|
20
|
+
<results>
|
21
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.ExplicitlyRunTest" executed="False">
|
22
|
+
<categories>
|
23
|
+
<category name="Special" />
|
24
|
+
</categories>
|
25
|
+
<reason>
|
26
|
+
<message><![CDATA[Explicit selection required]]></message>
|
27
|
+
</reason>
|
28
|
+
</test-case>
|
29
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest1" description="Mock Test #1" executed="True" success="True" time="0.000" asserts="0" />
|
30
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest2" executed="True" success="True" time="0.000" asserts="0">
|
31
|
+
<categories>
|
32
|
+
<category name="MockCategory" />
|
33
|
+
</categories>
|
34
|
+
</test-case>
|
35
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest3" executed="True" success="True" time="0.000" asserts="0">
|
36
|
+
<categories>
|
37
|
+
<category name="MockCategory" />
|
38
|
+
<category name="AnotherCategory" />
|
39
|
+
</categories>
|
40
|
+
</test-case>
|
41
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest4" executed="False">
|
42
|
+
<categories>
|
43
|
+
<category name="Foo" />
|
44
|
+
</categories>
|
45
|
+
<reason>
|
46
|
+
<message><![CDATA[ignoring this test method for now]]></message>
|
47
|
+
</reason>
|
48
|
+
</test-case>
|
49
|
+
<test-case name="NUnit.Tests.Assemblies.MockTestFixture.MockTest5" executed="False">
|
50
|
+
<reason>
|
51
|
+
<message><![CDATA[Method MockTest5's signature is not correct: it must be a public method.]]></message>
|
52
|
+
</reason>
|
53
|
+
</test-case>
|
54
|
+
</results>
|
55
|
+
</test-suite>
|
56
|
+
</results>
|
57
|
+
</test-suite>
|
58
|
+
<test-suite name="NUnit.Tests.IgnoredFixture" success="True" time="0.000" asserts="0">
|
59
|
+
<results>
|
60
|
+
<test-case name="NUnit.Tests.IgnoredFixture.Test1" executed="False">
|
61
|
+
<reason>
|
62
|
+
<message><![CDATA[]]></message>
|
63
|
+
</reason>
|
64
|
+
</test-case>
|
65
|
+
<test-case name="NUnit.Tests.IgnoredFixture.Test2" executed="False">
|
66
|
+
<reason>
|
67
|
+
<message><![CDATA[]]></message>
|
68
|
+
</reason>
|
69
|
+
</test-case>
|
70
|
+
<test-case name="NUnit.Tests.IgnoredFixture.Test3" executed="False">
|
71
|
+
<reason>
|
72
|
+
<message><![CDATA[]]></message>
|
73
|
+
</reason>
|
74
|
+
</test-case>
|
75
|
+
</results>
|
76
|
+
</test-suite>
|
77
|
+
<test-suite name="NUnit.Tests.Singletons" success="True" time="0.000" asserts="0">
|
78
|
+
<results>
|
79
|
+
<test-suite name="NUnit.Tests.Singletons.OneTestCase" success="True" time="0.000" asserts="0">
|
80
|
+
<results>
|
81
|
+
<test-case name="NUnit.Tests.Singletons.OneTestCase.TestCase" executed="True" success="True" time="0.000" asserts="0" />
|
82
|
+
</results>
|
83
|
+
</test-suite>
|
84
|
+
</results>
|
85
|
+
</test-suite>
|
86
|
+
<test-suite name="NUnit.Tests.TestAssembly" success="True" time="0.000" asserts="0">
|
87
|
+
<results>
|
88
|
+
<test-suite name="NUnit.Tests.TestAssembly.MockTestFixture" success="True" time="0.000" asserts="0">
|
89
|
+
<results>
|
90
|
+
<test-case name="NUnit.Tests.TestAssembly.MockTestFixture.MyTest" executed="True" success="True" time="0.000" asserts="0" />
|
91
|
+
</results>
|
92
|
+
</test-suite>
|
93
|
+
</results>
|
94
|
+
</test-suite>
|
95
|
+
</results>
|
96
|
+
</test-suite>
|
97
|
+
</results>
|
98
|
+
</test-suite>
|
99
|
+
</results>
|
100
|
+
</test-suite>
|
101
|
+
</results>
|
102
|
+
</test-suite>
|
103
|
+
</test-results>
|