/usr/lib/NAnt/NAnt.NUnit2Tasks.xml is in nant 0.92~rc1+dfsg-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 | <?xml version="1.0"?>
<doc>
<assembly>
<name>NAnt.NUnit2Tasks</name>
</assembly>
<members>
<member name="T:NAnt.NUnit2.Types.Categories">
<summary>
Controls the categories of tests to execute using the <see cref="T:NAnt.NUnit2.Tasks.NUnit2Task" />.
</summary>
<example>
<para>
Only include test cases and fixtures that require no internet access.
</para>
<code>
<![CDATA[
<categories>
<include name="NoInternetAccess" />
</categories>
]]>
</code>
</example>
<example>
<para>
Exclude test cases and fixtures that are known to fail.
</para>
<code>
<![CDATA[
<categories>
<exclude name="NotWorking" />
</categories>
]]>
</code>
</example></member>
<member name="P:NAnt.NUnit2.Types.Categories.Includes">
<summary>
Specifies a list of categories to include.
</summary></member>
<member name="P:NAnt.NUnit2.Types.Categories.Excludes">
<summary>
Specifies a list of categories to exclude.
</summary></member>
<member name="T:NAnt.NUnit2.Types.Category">
<summary>
Represents a certain group of test cases or fixtures.
</summary></member>
<member name="P:NAnt.NUnit2.Types.Category.CategoryName">
<summary>
A name of a category, or comma-separated list of names.
</summary></member>
<member name="P:NAnt.NUnit2.Types.Category.IfDefined">
<summary>
If <see langword="true" /> then the category will be processed;
otherwise, skipped. The default is <see langword="true" />.
</summary></member>
<member name="P:NAnt.NUnit2.Types.Category.UnlessDefined">
<summary>
If <see langword="true" /> then the category will be skipped;
otherwise, processed. The default is <see langword="false" />.
</summary></member>
<member name="T:NAnt.NUnit2.Types.CategoryCollection">
<summary>
Contains a collection of <see cref="T:NAnt.NUnit2.Types.Category" /> elements.
</summary></member>
<member name="M:NAnt.NUnit2.Types.CategoryCollection.#ctor">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.CategoryCollection" /> class.
</summary></member>
<member name="M:NAnt.NUnit2.Types.CategoryCollection.#ctor(System.Collections.Generic.IList{NAnt.NUnit2.Types.Category})">
<summary>
Initializes a new instance of the
<see cref="T:NAnt.NUnit2.Types.CategoryCollection" /> class as a wrapper for
the specified list.
</summary>
<param name="value">
The list that is wrapped by the newly created instance.
</param></member>
<member name="M:NAnt.NUnit2.Types.CategoryCollection.#ctor(NAnt.NUnit2.Types.CategoryCollection)">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.CategoryCollection" /> class
with the specified <see cref="T:NAnt.NUnit2.Types.CategoryCollection" /> instance.
</summary>
<param name="value">
The collection to use to initialize the new instance with.
</param></member>
<member name="M:NAnt.NUnit2.Types.CategoryCollection.#ctor(NAnt.NUnit2.Types.Category[])">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.CategoryCollection" /> class
with the specified array of <see cref="T:NAnt.NUnit2.Types.Category" /> instances.
</summary>
<param name="value">
The collection to use to initialize the new instance with.
</param></member>
<member name="M:NAnt.NUnit2.Types.CategoryCollection.ToString">
<summary>
Returns a comma-delimited list of categories.
</summary>
<returns>
A comma-delimited list of categories, or an empty
<see cref="T:System.String" /> if there are no categories.
</returns></member>
<member name="P:NAnt.NUnit2.Types.CategoryCollection.Item(System.String)">
<summary>
Gets the <see cref="T:NAnt.NUnit2.Types.Category" /> with the specified name.
</summary>
<param name="value">The name of the <see cref="T:NAnt.NUnit2.Types.Category" /> to get.</param></member>
<member name="M:NAnt.NUnit2.Types.CategoryCollection.AddRange(System.Collections.Generic.IEnumerable{NAnt.NUnit2.Types.Category})">
<summary>
Adds the elements of a <see cref="T:NAnt.NUnit2.Types.Category" /> array to the end of the
collection.
</summary>
<param name="items">
The array of <see cref="T:NAnt.NUnit2.Types.Category" /> elements to be added to the end of
the collection.
</param></member>
<member name="T:NAnt.NUnit2.Types.NUnit2TestCollection">
<summary>
Contains a strongly typed collection of <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> objects.
</summary></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.#ctor">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection" /> class.
</summary></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.#ctor(NAnt.NUnit2.Types.NUnit2TestCollection)">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection" /> class
with the specified <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection" /> instance.
</summary></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.#ctor(NAnt.NUnit2.Types.NUnit2Test[])">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection" /> class
with the specified array of <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> instances.
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2TestCollection.Item(System.Int32)">
<summary>
Gets or sets the element at the specified index.
</summary>
<param name="index">The zero-based index of the element to get or set.</param></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.Add(NAnt.NUnit2.Types.NUnit2Test)">
<summary>
Adds a <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> to the end of the collection.
</summary>
<param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> to be added to the end of the collection.</param>
<returns>The position into which the new element was inserted.</returns></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.AddRange(NAnt.NUnit2.Types.NUnit2Test[])">
<summary>
Adds the elements of a <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> array to the end of the collection.
</summary>
<param name="items">The array of <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> elements to be added to the end of the collection.</param></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.AddRange(NAnt.NUnit2.Types.NUnit2TestCollection)">
<summary>
Adds the elements of a <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection" /> to the end of the collection.
</summary>
<param name="items">The <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection" /> to be added to the end of the collection.</param></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.Contains(NAnt.NUnit2.Types.NUnit2Test)">
<summary>
Determines whether a <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> is in the collection.
</summary>
<param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> to locate in the collection.</param>
<returns>
<see langword="true" /> if <paramref name="item" /> is found in the
collection; otherwise, <see langword="false" />.
</returns></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.CopyTo(NAnt.NUnit2.Types.NUnit2Test[],System.Int32)">
<summary>
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
</summary>
<param name="array">The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.</param>
<param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.IndexOf(NAnt.NUnit2.Types.NUnit2Test)">
<summary>
Retrieves the index of a specified <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> object in the collection.
</summary>
<param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> object for which the index is returned.</param>
<returns>
The index of the specified <see cref="T:NAnt.NUnit2.Types.NUnit2Test" />. If the <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> is not currently a member of the collection, it returns -1.
</returns></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.Insert(System.Int32,NAnt.NUnit2.Types.NUnit2Test)">
<summary>
Inserts a <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> into the collection at the specified index.
</summary>
<param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
<param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> to insert.</param></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.GetEnumerator">
<summary>
Returns an enumerator that can iterate through the collection.
</summary>
<returns>
A <see cref="T:NAnt.NUnit2.Types.NUnit2TestEnumerator" /> for the entire collection.
</returns></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.Remove(NAnt.NUnit2.Types.NUnit2Test)">
<summary>
Removes a member from the collection.
</summary>
<param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> to remove from the collection.</param></member>
<member name="T:NAnt.NUnit2.Types.NUnit2TestEnumerator">
<summary>
Enumerates the <see cref="T:NAnt.NUnit2.Types.NUnit2Test" /> elements of a <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection" />.
</summary></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestEnumerator.#ctor(NAnt.NUnit2.Types.NUnit2TestCollection)">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.NUnit2TestEnumerator" /> class
with the specified <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection" />.
</summary>
<param name="arguments">The collection that should be enumerated.</param></member>
<member name="P:NAnt.NUnit2.Types.NUnit2TestEnumerator.Current">
<summary>
Gets the current element in the collection.
</summary>
<returns>
The current element in the collection.
</returns></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestEnumerator.MoveNext">
<summary>
Advances the enumerator to the next element of the collection.
</summary>
<returns>
<see langword="true" /> if the enumerator was successfully advanced
to the next element; <see langword="false" /> if the enumerator has
passed the end of the collection.
</returns></member>
<member name="M:NAnt.NUnit2.Types.NUnit2TestEnumerator.Reset">
<summary>
Sets the enumerator to its initial position, which is before the
first element in the collection.
</summary></member>
<member name="T:NAnt.NUnit2.Tasks.NUnit2Task">
<summary>
Runs tests using the NUnit V2.6 framework.
</summary>
<remarks>
<para>
The <see cref="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnFailure" /> attribute is only useful when more
than one test suite is used, and you want to continue running other
test suites although a test failed.
</para>
<para>
Set <see cref="P:NAnt.Core.Task.FailOnError" /> to <see langword="false" /> to
ignore any errors and continue the build.
</para>
<para>
In order to run a test assembly built with NUnit 2.0 or 2.1 using
<see cref="T:NAnt.NUnit2.Tasks.NUnit2Task" />, you must add the following node to your
test config file :
</para>
<code>
<![CDATA[
<configuration>
...
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" />
<bindingRedirect oldVersion="2.0.6.0" newVersion="2.2.8.0" />
<bindingRedirect oldVersion="2.1.4.0" newVersion="2.2.8.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
...
</configuration>
]]>
</code>
<para>
See the <see href="http://nunit.sf.net">NUnit home page</see> for more
information.
</para>
</remarks>
<example>
<para>
Run tests in the <c>MyProject.Tests.dll</c> assembly.
</para>
<code>
<![CDATA[
<nunit2>
<formatter type="Plain" />
<test assemblyname="MyProject.Tests.dll" appconfig="MyProject.Tests.dll.config" />
</nunit2>
]]>
</code>
</example>
<example>
<para>
Only run tests that are not known to fail in files listed in the <c>tests.txt</c>
file.
</para>
<code>
<![CDATA[
<nunit2>
<formatter type="Xml" usefile="true" extension=".xml" outputdir="${build.dir}/results" />
<test>
<assemblies>
<includesfile name="tests.txt" />
</assemblies>
<categories>
<exclude name="NotWorking" />
</categories>
<references basedir="build">
<include name="Cegeka.Income.Services.dll" />
<include name="Cegeka.Util.dll" />
</references>
</test>
</nunit2>
]]>
</code>
</example></member>
<member name="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnFailure">
<summary>
Stop the test run if a test fails. The default is <see langword="false" />.
</summary></member>
<member name="P:NAnt.NUnit2.Tasks.NUnit2Task.Labels">
<summary>
Indicate whether or not to label the text output as the tests run.
</summary></member>
<member name="P:NAnt.NUnit2.Tasks.NUnit2Task.Tests">
<summary>
Tests to run.
</summary></member>
<member name="P:NAnt.NUnit2.Tasks.NUnit2Task.FormatterElements">
<summary>
Formatters to output results of unit tests.
</summary></member>
<member name="M:NAnt.NUnit2.Tasks.NUnit2Task.ExecuteTask">
<summary>
Runs the tests and sets up the formatters.
</summary></member>
<member name="M:NAnt.NUnit2.Tasks.NUnit2Task.GetListener(NAnt.Core.LogWriter)">
<summary>
Gets a new EventListener to use for the unit tests.
</summary>
<returns>
A new EventListener created with a new EventCollector that
is initialized with <paramref name="logWriter" />.
</returns>
<param name="logWriter">
Log writer to send test output to.
</param></member>
<member name="M:NAnt.NUnit2.Tasks.NUnit2Task.GetLoggingThreshold">
<summary>
Gets the logging threshold to use for a test runner based on
the current threshold of this task.
</summary>
<returns>
The logging threshold to use when running a test runner.
</returns></member>
<member name="T:NAnt.NUnit2.Types.NUnit2Test">
<summary>
Represents a <c>test</c> element of an <see cref="T:NAnt.NUnit2.Tasks.NUnit2Task" />.
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2Test.AssemblyFile">
<summary>
Name of the assembly to search for tests.
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2Test.TestName">
<summary>
Name of a specific testfixture to run. If not specified then all
testfixtures are run.
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2Test.Assemblies">
<summary>
Assemblies to include in test.
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2Test.References">
<summary>
Assemblies to scan for missing assembly references.
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2Test.Categories">
<summary>
Categories of test cases to include or exclude.
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2Test.HaltOnFailure">
<summary>
Build fails on failure. The default is <see langword="true" />.
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2Test.XsltFile">
<summary>
XSLT transform file to use when using the <see cref="F:NAnt.NUnit.Types.FormatterType.Plain" />
formatter.
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2Test.AppConfigFile">
<summary>
The application configuration file to use for the NUnit test domain.
If not specified, NAnt will try to use a configuration name matching
the file name of the assembly with extension ".config".
</summary></member>
<member name="P:NAnt.NUnit2.Types.NUnit2Test.TestAssemblies">
<summary>
Gets all assemblies specified for these tests.
</summary>
<returns>
All assemblies specified for these tests.
</returns></member>
<member name="T:NAnt.NUnit2.Tasks.NUnit2TestDomain">
<summary>
Custom TestDomain, similar to the one included with NUnit, in order
to workaround some limitations in it.
</summary></member>
<member name="M:NAnt.NUnit2.Tasks.NUnit2TestDomain.#ctor">
<summary>
Initializes a new instance of the <see cref="T:NAnt.NUnit2.Tasks.NUnit2TestDomain" />
class.
</summary></member>
<member name="M:NAnt.NUnit2.Tasks.NUnit2TestDomain.CreateRunner(System.IO.FileInfo,System.IO.FileInfo,System.Collections.Specialized.StringCollection)">
<summary>
Runs a single testcase.
</summary>
<param name="assemblyFile">The test assembly.</param>
<param name="configFile">The application configuration file for the test domain.</param>
<param name="referenceAssemblies">List of files to scan for missing assembly references.</param>
<returns>
The result of the test.
</returns></member>
<member name="T:NAnt.NUnit2.Tasks.NUnit2TestDomain.AssemblyResolveHandler">
<summary>
Helper class called when an assembly resolve event is raised.
</summary></member>
<member name="M:NAnt.NUnit2.Tasks.NUnit2TestDomain.AssemblyResolveHandler.#ctor(System.String[],System.String[])">
<summary>
Initializes an instanse of the <see cref="T:NAnt.NUnit2.Tasks.NUnit2TestDomain.AssemblyResolveHandler" />
class.
</summary></member>
<member name="M:NAnt.NUnit2.Tasks.NUnit2TestDomain.AssemblyResolveHandler.ResolveAssembly(System.Object,System.ResolveEventArgs)">
<summary>
Called back when the CLR cannot resolve a given assembly.
</summary>
<param name="sender">The source of the event.</param>
<param name="args">A <see cref="T:System.ResolveEventArgs" /> that contains the event data.</param>
<returns>
The <c>nunit.framework</c> we know to be in NAnts bin directory, if
that is the assembly that needs to be resolved; otherwise,
<see langword="null" />.
</returns></member>
<member name="M:NAnt.NUnit2.Tasks.NUnit2TestDomain.AssemblyResolveHandler.AssemblyLoad(System.Object,System.AssemblyLoadEventArgs)">
<summary>
Occurs when an assembly is loaded. The loaded assembly is added
to the assembly cache.
</summary>
<param name="sender">The source of the event.</param>
<param name="args">An <see cref="T:System.AssemblyLoadEventArgs" /> that contains the event data.</param></member>
<member name="F:NAnt.NUnit2.Tasks.NUnit2TestDomain.AssemblyResolveHandler._probePaths">
<summary>
Holds the list of directories that will be scanned for missing
assembly references.
</summary></member>
<member name="F:NAnt.NUnit2.Tasks.NUnit2TestDomain.AssemblyResolveHandler._referenceAssemblies">
<summary>
Holds the list of assemblies that can be scanned for missing
assembly references.
</summary></member>
<member name="F:NAnt.NUnit2.Tasks.NUnit2TestDomain.AssemblyResolveHandler._assemblyCache">
<summary>
Holds the loaded assemblies.
</summary></member>
</members>
</doc>
|