home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Software / Freeware / Programare / Sharp / SharpDevelop_1.0.3.1761_Setup.exe / NAnt.NUnit2Tasks.xml < prev    next >
Extensible Markup Language  |  2004-11-30  |  14KB  |  294 lines

  1. <?xml version="1.0"?>
  2. <doc>
  3.     <assembly>
  4.         <name>NAnt.NUnit2Tasks</name>
  5.     </assembly>
  6.     <members>
  7.         <member name="T:NAnt.NUnit2.Types.NUnit2TestCollection">
  8.             <summary>
  9.             Contains a strongly typed collection of <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> objects.
  10.             </summary>
  11.         </member>
  12.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.#ctor">
  13.             <summary>
  14.             Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection"/> class.
  15.             </summary>
  16.         </member>
  17.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.#ctor(NAnt.NUnit2.Types.NUnit2TestCollection)">
  18.             <summary>
  19.             Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection"/> class
  20.             with the specified <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection"/> instance.
  21.             </summary>
  22.         </member>
  23.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.#ctor(NAnt.NUnit2.Types.NUnit2Test[])">
  24.             <summary>
  25.             Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection"/> class
  26.             with the specified array of <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> instances.
  27.             </summary>
  28.         </member>
  29.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.Add(NAnt.NUnit2.Types.NUnit2Test)">
  30.             <summary>
  31.             Adds a <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> to the end of the collection.
  32.             </summary>
  33.             <param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> to be added to the end of the collection.</param> 
  34.             <returns>The position into which the new element was inserted.</returns>
  35.         </member>
  36.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.AddRange(NAnt.NUnit2.Types.NUnit2Test[])">
  37.             <summary>
  38.             Adds the elements of a <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> array to the end of the collection.
  39.             </summary>
  40.             <param name="items">The array of <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> elements to be added to the end of the collection.</param> 
  41.         </member>
  42.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.AddRange(NAnt.NUnit2.Types.NUnit2TestCollection)">
  43.             <summary>
  44.             Adds the elements of a <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection"/> to the end of the collection.
  45.             </summary>
  46.             <param name="items">The <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection"/> to be added to the end of the collection.</param> 
  47.         </member>
  48.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.Contains(NAnt.NUnit2.Types.NUnit2Test)">
  49.             <summary>
  50.             Determines whether a <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> is in the collection.
  51.             </summary>
  52.             <param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> to locate in the collection.</param> 
  53.             <returns>
  54.             <see langword="true"/> if <paramref name="item"/> is found in the 
  55.             collection; otherwise, <see langword="false"/>.
  56.             </returns>
  57.         </member>
  58.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.CopyTo(NAnt.NUnit2.Types.NUnit2Test[],System.Int32)">
  59.             <summary>
  60.             Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.        
  61.             </summary>
  62.             <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> 
  63.             <param name="index">The zero-based index in <paramref name="array"/> at which copying begins.</param>
  64.         </member>
  65.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.IndexOf(NAnt.NUnit2.Types.NUnit2Test)">
  66.             <summary>
  67.             Retrieves the index of a specified <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> object in the collection.
  68.             </summary>
  69.             <param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> object for which the index is returned.</param> 
  70.             <returns>
  71.             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.
  72.             </returns>
  73.         </member>
  74.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.Insert(System.Int32,NAnt.NUnit2.Types.NUnit2Test)">
  75.             <summary>
  76.             Inserts a <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> into the collection at the specified index.
  77.             </summary>
  78.             <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
  79.             <param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> to insert.</param>
  80.         </member>
  81.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.GetEnumerator">
  82.             <summary>
  83.             Returns an enumerator that can iterate through the collection.
  84.             </summary>
  85.             <returns>
  86.             A <see cref="T:NAnt.NUnit2.Types.NUnit2TestEnumerator"/> for the entire collection.
  87.             </returns>
  88.         </member>
  89.         <member name="M:NAnt.NUnit2.Types.NUnit2TestCollection.Remove(NAnt.NUnit2.Types.NUnit2Test)">
  90.             <summary>
  91.             Removes a member from the collection.
  92.             </summary>
  93.             <param name="item">The <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> to remove from the collection.</param>
  94.         </member>
  95.         <member name="P:NAnt.NUnit2.Types.NUnit2TestCollection.Item(System.Int32)">
  96.             <summary>
  97.             Gets or sets the element at the specified index.
  98.             </summary>
  99.             <param name="index">The zero-based index of the element to get or set.</param>
  100.         </member>
  101.         <member name="T:NAnt.NUnit2.Types.NUnit2TestEnumerator">
  102.             <summary>
  103.             Enumerates the <see cref="T:NAnt.NUnit2.Types.NUnit2Test"/> elements of a <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection"/>.
  104.             </summary>
  105.         </member>
  106.         <member name="M:NAnt.NUnit2.Types.NUnit2TestEnumerator.#ctor(NAnt.NUnit2.Types.NUnit2TestCollection)">
  107.             <summary>
  108.             Initializes a new instance of the <see cref="T:NAnt.NUnit2.Types.NUnit2TestEnumerator"/> class
  109.             with the specified <see cref="T:NAnt.NUnit2.Types.NUnit2TestCollection"/>.
  110.             </summary>
  111.             <param name="arguments">The collection that should be enumerated.</param>
  112.         </member>
  113.         <member name="M:NAnt.NUnit2.Types.NUnit2TestEnumerator.MoveNext">
  114.             <summary>
  115.             Advances the enumerator to the next element of the collection.
  116.             </summary>
  117.             <returns>
  118.             <see langword="true" /> if the enumerator was successfully advanced 
  119.             to the next element; <see langword="false" /> if the enumerator has 
  120.             passed the end of the collection.
  121.             </returns>
  122.         </member>
  123.         <member name="M:NAnt.NUnit2.Types.NUnit2TestEnumerator.Reset">
  124.             <summary>
  125.             Sets the enumerator to its initial position, which is before the 
  126.             first element in the collection.
  127.             </summary>
  128.         </member>
  129.         <member name="P:NAnt.NUnit2.Types.NUnit2TestEnumerator.Current">
  130.             <summary>
  131.             Gets the current element in the collection.
  132.             </summary>
  133.             <returns>
  134.             The current element in the collection.
  135.             </returns>
  136.         </member>
  137.         <member name="T:NAnt.NUnit2.Tasks.NUnit2Task">
  138.             <summary>
  139.             Runs tests using the NUnit V2.1 framework.
  140.             </summary>
  141.             <remarks>
  142.               <para>
  143.               See the <see href="http://nunit.sf.net">NUnit home page</see> for more 
  144.               information.
  145.               </para>
  146.               <para>
  147.               The <see cref="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnFailure"/> or <see cref="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnError"/> 
  148.               attributes are only used to stop more than one test suite to stop 
  149.               running.  If any test suite fails, a build error will be thrown.  
  150.               Set <see cref="P:NAnt.Core.Task.FailOnError"/> to <see langword="false"/> to 
  151.               ignore test errors and continue the build.
  152.               </para>
  153.               <para>
  154.               In order to run a test assembly built with NUnit 2.0 using the NAnt
  155.               <see cref="T:NAnt.NUnit2.Tasks.NUnit2Task"/>, you must add the following node to your 
  156.               test config file :
  157.               </para>
  158.               <code>
  159.                 <![CDATA[
  160.             <configuration>
  161.                 ...
  162.                 <runtime>
  163.                     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  164.                         <dependentAssembly>
  165.                             <assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" /> 
  166.                             <bindingRedirect oldVersion="2.0.6.0" newVersion="2.1.4.0" /> 
  167.                         </dependentAssembly>
  168.                     </assemblyBinding>
  169.                 </runtime>
  170.                 ...
  171.             </configuration>
  172.                 ]]>
  173.               </code>
  174.             </remarks>
  175.             <example>
  176.               <para>
  177.               Run tests in the <c>MyProject.Tests.dll</c> assembly.
  178.               </para>
  179.               <code>
  180.                 <![CDATA[
  181.             <nunit2>
  182.                 <formatter type="Plain" />
  183.                 <test assemblyname="MyProject.Tests.dll" appconfig="MyProject.Tests.dll.config" />
  184.             </nunit2>
  185.                 ]]>
  186.               </code>
  187.               <para>
  188.               Run all tests in files listed in the <c>tests.txt</c> file.
  189.               </para>
  190.               <code>
  191.                 <![CDATA[
  192.             <nunit2>
  193.                 <formatter type="Xml" usefile="true" extension=".xml" outputdir="${build.dir}/results" />
  194.                 <test>
  195.                     <assemblies>
  196.                         <includesList name="tests.txt" />
  197.                     </assemblies>
  198.                 </test>
  199.             </nunit2>
  200.                 ]]>
  201.               </code>
  202.             </example>
  203.         </member>
  204.         <member name="M:NAnt.NUnit2.Tasks.NUnit2Task.ExecuteTask">
  205.             <summary>
  206.             Runs the tests and sets up the formatters.
  207.             </summary>
  208.         </member>
  209.         <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnFailure">
  210.             <summary>
  211.             Stop the build process if a test fails. The default is <see langword="false" />.
  212.             </summary>
  213.         </member>
  214.         <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.HaltOnError">
  215.             <summary>
  216.             Build fails on error. The default is <see langword="true" />.
  217.             </summary>
  218.         </member>
  219.         <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.Tests">
  220.             <summary>
  221.             Tests to run.
  222.             </summary>
  223.         </member>
  224.         <member name="P:NAnt.NUnit2.Tasks.NUnit2Task.FormatterElements">
  225.             <summary>
  226.             Formatters to output results of unit tests.
  227.             </summary>
  228.         </member>
  229.         <member name="T:NAnt.NUnit2.Types.NUnit2Test">
  230.             <summary>
  231.             Represents a <c>test</c> element of an <see cref="T:NAnt.NUnit2.Tasks.NUnit2Task"/>.
  232.             </summary>
  233.         </member>
  234.         <member name="P:NAnt.NUnit2.Types.NUnit2Test.AssemblyName">
  235.             <summary>
  236.             Name of the assembly to search for tests.
  237.             </summary>
  238.         </member>
  239.         <member name="P:NAnt.NUnit2.Types.NUnit2Test.TestName">
  240.             <summary>
  241.             Name of a specific test to run. If not specified then all tests in 
  242.             the assembly are run.
  243.             </summary>
  244.         </member>
  245.         <member name="P:NAnt.NUnit2.Types.NUnit2Test.Assemblies">
  246.             <summary>
  247.             Assemblies to include in test.
  248.             </summary>
  249.         </member>
  250.         <member name="P:NAnt.NUnit2.Types.NUnit2Test.HaltOnFailure">
  251.             <summary>
  252.             Build fails on failure.
  253.             </summary>
  254.         </member>
  255.         <member name="P:NAnt.NUnit2.Types.NUnit2Test.TransformFile">
  256.             <summary>
  257.             XSLT transform file to use when using the <see cref="F:NAnt.NUnit.Types.FormatterType.Xml"/> 
  258.             formatter.
  259.             </summary>
  260.         </member>
  261.         <member name="P:NAnt.NUnit2.Types.NUnit2Test.AppConfigFile">
  262.             <summary>
  263.             The application configuration file to use for the NUnit test domain.
  264.             </summary>
  265.         </member>
  266.         <member name="P:NAnt.NUnit2.Types.NUnit2Test.TestAssemblies">
  267.             <summary>
  268.             Gets all assemblies specified for these tests.
  269.             </summary>
  270.             <returns>
  271.             All assemblies specified for these tests.
  272.             </returns>
  273.         </member>
  274.         <member name="T:NAnt.NUnit2.Tasks.NUnit2TestDomain">
  275.             <summary>
  276.             Custom TestDomain, similar to the one included with NUnit, in order 
  277.             to workaround some limitations in it.
  278.             </summary>
  279.         </member>
  280.         <member name="M:NAnt.NUnit2.Tasks.NUnit2TestDomain.RunTest(System.String,System.String,System.String,NUnit.Core.EventListener)">
  281.             <summary>
  282.             Runs a single testcase.
  283.             </summary>
  284.             <param name="testcase">The test to run, or <see langword="null"/> if running all tests.</param>
  285.             <param name="assemblyFile">The test assembly.</param>
  286.             <param name="configFilePath">The application configuration file for the test domain.</param>
  287.             <param name="listener">An <see cref="T:NUnit.Core.EventListener"/>.</param>
  288.             <returns>
  289.             The result of the test.
  290.             </returns>
  291.         </member>
  292.     </members>
  293. </doc>
  294.