4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<script language="JavaScript" type="text/JavaScript"> <!--
7
if (navigator.appName == "Netscape") {
8
if (parseInt(navigator.appVersion) >= 5) {
9
document.writeln("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/styleGuide.css\">");
10
navLine = "<td height=\"1\" bgcolor=\"666030\" width=\"*\"><img src=\"img/blankPixel.gif\"></td>";
12
navLine = "<td height=\"1\" bgcolor=\"666030\" width=\"52%\"><img src=\"img/blankPixel.gif\"></td>";
13
document.writeln("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/styleGuideNN.css\">");
14
document.writeln("<style type=\"text/css\">");
15
document.writeln("<!-- .bodytext { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: .65em; color: #000000 }");
16
document.writeln("-->");
17
document.writeln("</style>");
20
else if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
21
navLine = "<td height=\"1\" bgcolor=\"666030\" width=\"*\"><img src=\"img/blankPixel.gif\"></td>";
22
document.writeln("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/styleGuideIE.css\">");
25
navLine = "<td height=\"1\" bgcolor=\"666030\" width=\"*\"><img src=\"img/blankPixel.gif\"></td>";
26
document.writeln("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/styleGuide.css\">");
32
<body text="#000000" marginwidth="0" rightmargin="0">
33
<table width="100%" border="0" cellspacing="0" cellpadding="0">
35
<td width="25%"><a href="index.html" target="_self">
36
<img src="img/logo.gif" hspace="15" vspace="0" border="0" alt="NUnit"></a></td>
37
<td valign="top"><span class="navTable">
38
<table width="110%" border="0" cellspacing="0" cellpadding="1" height="40" vspace="15" class="divider">
41
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="link">
43
<td bgcolor="#FFFFFF">
44
<table border="0" cellspacing="10" cellpadding="0">
47
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="divider">
50
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="link">
52
<td class="navtext" bgcolor="#FFFFFF">
53
<div align="center"><a href="index.html" target="_self"><img src="img/homeOff.gif" width="40" height="12" alt="Home" border="0"></a></div>
62
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="divider">
65
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="link">
67
<td class="navtext" bgcolor="#FFFFFF">
68
<div align="center"><a href="download.html" target="_self"><img src="img/downloadOff.gif" width="78" height="12" alt="Download" border="0"></a></div>
77
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="divider">
80
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="selected">
84
<a target="_self" href="documentation.html"><img src="img/documentationOn.gif" width="118" height="12" alt="Documentation" border="0"></a></div>
93
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="divider">
96
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="link">
98
<td class="navtext" bgcolor="#FFFFFF">
99
<div align="center"><a href="community.html" target="_self"><img src="img/communityOff.gif" width="83" height="12" alt="Community" border="0"></a></div>
108
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="divider">
111
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="link">
113
<td class="navtext" bgcolor="#FFFFFF">
114
<div align="center"><a href="resources.html" target="_self"><img src="img/resourcesOff.gif" width="81" height="12" alt="Resources" border="0"></a></div>
123
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="divider">
126
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="link">
128
<td class="navtext" bgcolor="#FFFFFF">
129
<div align="center"><a href="contactUs.html" target="_self"><img src="img/contactUsOff.gif" width="83" height="12" alt="Contact Us" border="0"></a></div>
145
<table border="0" cellspacing="0" cellpadding="0" width="100%">
147
<td align="right" width="240"><img src="img/navDiv.gif" width="1" height="23" alt="|"></td>
149
<td width="120"> </td>
152
<td height="1" align="right" valign="top" width="240"><img src="img/cornerPixel.gif" width="1" height="1" alt="*"></td>
153
<script language="JavaScript" type="text/JavaScript"> <!--
154
document.writeln(navLine);
157
<td height="1" align="left" valign="bottom" width="120"><img src="img/cornerPixel.gif" width="1" height="1" alt="*"></td>
160
<td width="240"> </td>
162
<td align="left" width="120"><img src="img/navDiv.gif" width="1" height="23" alt="|"></td>
168
<table width="100%" border="0" cellspacing="0" cellpadding="0">
170
<td valign="top"> <br>
171
<table width="90%" border="0" cellspacing="0" cellpadding="0" class="lefttables">
173
<td class="bodytext">
174
<p><b>Suite (NUnit 2.0)</b><br>
175
The Suite Attribute is used to define subsets of suites based on
176
user preference. The belief by the developers of this version is
177
that the need for this will diminish because of the dynamic creation
178
mechanism provided by the framework. However it is provided for
179
backwards compatibility. <br>
181
<b>Note: </b>There is no way to run user-defined suites in the forms interface.
184
<p><b>Suite Attribute syntax</b> <br>
187
<script language="JavaScript">
188
function doClick(index, numTabs, id) {
189
document.all("tab" + id, index).className = "tab";
190
for (var i=1; i < numTabs; i++) {
191
document.all("tab" + id, (index + i) % numTabs).className = "backtab";
193
document.all("code" + id, index).style.display = "";
194
for (var j=1; j < numTabs; j++) {
195
document.all("code" + id, (index + j) % numTabs).style.display = "none";
201
border-left:1px solid cccccc; border-bottom:1px solid cccccc; border-top:1px solid cccccc; border-right:1px solid cccccc; background-color:eeffff; padding-left:10; padding-right:10; padding-top:0; padding-bottom:0
205
border-left:1px solid black; border-top:1px solid black; border-bottom:1px solid black; text-align:center;
208
border-right:0px none black;
209
background-color:eeeeee;
210
cursor:hand; font-style:normal; font-variant:normal; font-weight:normal; font-size:8pt; font-family:verdana
214
border-left:1px solid black; border-top:1px solid black; border-bottom:1px solid black; text-align:center;
217
border-right:0px none black;
218
background-color:cccccc;
219
cursor:hand; font-style:normal; font-variant:normal; font-weight:normal; font-size:8pt; font-family:verdana
223
border-left:1px none cccccc; border-top:0px none cccccc; width:55%;
225
border-bottom:1px none cccccc;
226
border-right:1px none cccccc;
227
background-color:white; font-style:normal; font-variant:normal; font-weight:normal; font-size:8pt; font-family:verdana
231
border-left:1px solid black; border-top:0px none cccccc; width:55%;
233
border-bottom:1px none cccccc;
234
border-right:1px none cccccc;
235
background-color:white; font-style:normal; font-variant:normal; font-weight:normal; font-size:8pt; font-family:verdana
238
<table cellpadding="0" cellspacing="0" width="95%">
240
<td class="code" colspan="2">
241
<pre id="code_ctl2" style="display:">namespace NUnit.Tests
244
using NUnit.Framework;
246
public class AllTests
249
public static TestSuite Suite
253
TestSuite suite = new TestSuite("All Tests");
254
suite.Add(new OneTestCase());
255
suite.Add(new Assemblies.AssemblyTests());
256
suite.Add(new AssertionTest());
264
<td class="topspace"></td>
267
<td colspan="3"><br></td>
270
<td class="tab" id="tab_ctl2" onclick="doClick(0, 1, '_ctl2')">
273
<td class="space"> </td>
279
<table width="90%" border="0" cellspacing="0" cellpadding="0" class="lefttables">
281
<td class="copyrighttext">
283
Copyright � 2002-2004 James W. Newkirk, Alexei A. Vorontsov. All Rights Reserved.
288
<td width="1" valign="top"><img src="img/sideDivider.gif" width="1" height="435" alt="|"></td>
289
<td width="235" valign="top">
290
<table border="0" cellspacing="0" cellpadding="0" align="center" class="subnavtable">
292
<td align="center" width="15" class="blanktd"><a href="download.html" target="_self"><img src="img/bulletOff.gif" width="8" height="8" alt="*" border="0"></a></td>
293
<td height="25" class="blanktd"><a href="getStarted.html" target="_self"><img src="img/getStarted.gif" width="125" height="12" alt="Getting Started" border="0"></a></td>
296
<td align="center" width="15" class="blanktd"><a href="installation.html" target="_self"><img src="img/bulletOff.gif" width="8" height="8" alt="*" border="0"></a></td>
297
<td height="25" class="blanktd"><a href="installation.html" target="_self"><img src="img/installation.gif" width="99" height="12" alt="Installation" border="0"></a></td>
300
<td align="center" width="15" class="blanktd"><img src="img/bulletOff.gif" width="8" height="8" alt="&#149;" border="0"></td>
301
<td height="25" class="blanktd"><a href="assertions.html" target="_self"><img src="img/assertions.gif" width="83" height="12" alt="Assertions" border="0"></a></td>
304
<td align="center" width="15" class="blanktd"><img src="img/bulletOff.gif" width="8" height="8" alt="&#149;" border="0"></td>
305
<td height="25" class="blanktd"><a href="attributes.html" target="_self"><img src="img/attribute.gif" width="83" height="12" alt="Attributes" border="0"></a></td>
308
<td align="center" width="15" class="blanktd"> </td>
309
<td height="25" class="blanktd"><a href="testFixture.html"><img src="img/testFixtureOff.gif" width="112" height="12" alt="Test Fixture" border="0"></a></td>
312
<td align="center" width="15" class="blanktd"> </td>
313
<td height="25" class="blanktd"><a href="test.html" target="_self"><img src="img/testOff.gif" width="52" height="12" alt="Test" border="0"></a></td>
316
<td align="center" width="15" class="blanktd"> </td>
317
<td height="25" class="blanktd"><a href="setupTeardown.html" target="_self"><img src="img/setupTeardownOff.gif" width="140" height="12" alt="Setup / Teardown" border="0"></a></td>
320
<td align="center" width="15" class="blanktd"> </td>
321
<td height="25" class="blanktd"><a href="exception.html"><img src="img/expectedExceptionOff.gif" width="168" height="12" alt="Expected Exception" border="0"></a></td>
324
<td align="center" width="15" class="blanktd"> </td>
325
<td height="25" class="blanktd"><a href="category.html" target="_self"><img src="img/categoryOff.gif" width="92" height="12" alt="Category" border="0"></a></td>
328
<td align="center" width="15" class="blanktd"> </td>
329
<td height="25" class="blanktd"><a href="explicit.html" target="_self"><img src="img/explicitOff.gif" width="80" height="12" alt="Explicit" border="0"></a></td>
332
<td align="center" width="15" class="blanktd"> </td>
333
<td height="25" class="blanktd"><a href="suite.html" target="_self"><img src="img/suiteOn.gif" width="58" height="12" alt="Suite" border="0"></a></td>
336
<td align="center" width="15" class="blanktd"> </td>
337
<td height="25" class="blanktd"><a href="ignore.html" target="_self"><img src="img/ignoreOff.gif" width="72" height="12" alt="Ignore" border="0"></a></td>
340
<td align="center" width="15" class="blanktd"><a href="upgrade.html" target="_self"><img src="img/bulletOff.gif" width="8" height="8" alt="&#149;" border="0"></a></td>
341
<td height="25" class="blanktd"><a href="upgrade.html" target="_self"><img src="img/upgrade.gif" width="83" height="12" alt="Upgrading" border="0"></a></td>
344
<td align="center" width="15" class="blanktd"><a href="commandLine.html" target="_self"><img src="img/bulletOff.gif" width="8" height="8" alt="&#149;" border="0"></a></td>
345
<td height="25" class="blanktd"><a href="commandLine.html" target="_self"><img src="img/commandLine.gif" width="195" height="12" alt="Command-Line Parameters" border="0"></a></td>
348
<td align="center" width="15" class="blanktd"><a href="samples.html" target="_self"><img src="img/bulletOff.gif" width="8" height="8" alt="*" border="0"></a></td>
349
<td height="25" class="blanktd"><a href="samples.html" target="_self"><img src="img/samples.gif" width="60" height="12" alt="Samples" border="0"></a></td>
352
<td align="center" width="15" class="blanktd"><a href="license.html" target="_self"><img src="img/bulletOff.gif" width="8" height="8" alt="&#149;" border="0"></a></td>
353
<td height="25" class="blanktd"><a href="license.html" target="_self"><img src="img/license.gif" width="62" height="12" alt="License" border="0"></a></td>
b'\\ No newline at end of file'