Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobody <nobody@localhost>2002-02-27 12:38:18 +0300
committernobody <nobody@localhost>2002-02-27 12:38:18 +0300
commit9f187b5dd0b323582e2aec7c7f17f7a1cd4ba07b (patch)
tree79bb36b51e637d540f90fd6a389cbafef2fe0f49 /mcs/nunit/src
parent5755971d0063ee3ab6278448f026367495a8aa3c (diff)
parentb3a9502b960559d7a6b6c9712be8dd052b2e0e19 (diff)
This commit was manufactured by cvs2svn to create branch 'NUNIT'.
svn path=/branches/NUNIT/mcs/; revision=2712
Diffstat (limited to 'mcs/nunit/src')
-rw-r--r--mcs/nunit/src/NUnitConsole/NUnitConsole.xml146
-rw-r--r--mcs/nunit/src/NUnitCore/IFailureDetailView.cs6
-rw-r--r--mcs/nunit/src/NUnitCore/SimpleTestCollector.cs28
3 files changed, 6 insertions, 174 deletions
diff --git a/mcs/nunit/src/NUnitConsole/NUnitConsole.xml b/mcs/nunit/src/NUnitConsole/NUnitConsole.xml
deleted file mode 100644
index 7aaf89815df..00000000000
--- a/mcs/nunit/src/NUnitConsole/NUnitConsole.xml
+++ /dev/null
@@ -1,146 +0,0 @@
-<?xml version="1.0"?>
-<doc>
- <assembly>
- <name>NUnitConsole</name>
- </assembly>
- <members>
- <member name="T:NUnit.Top">
- <summary>
-
- </summary>
- </member>
- <member name="M:NUnit.Top.Main(System.String[])">
- <summary>
-
- </summary>
- <param name="args"></param>
- </member>
- <member name="T:NUnit.TextUI.TestRunner">
- <summary>A command line based tool to run tests.</summary><remarks>
- <code>
- C:\NUnitConsole.exe /t [/wait] TestCaseClass
- </code>
- TestRunner expects the name of a TestCase class as argument.
- If this class defines a static <c>Suite</c> property it
- will be invoked and the returned test is run. Otherwise all
- the methods starting with "Test" having no arguments are run.
-
- When the wait command line argument is given TestRunner
- waits until the users types RETURN.
-
- TestRunner prints a trace as the tests are executed followed by a
- summary at the end.</remarks>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.#ctor">
- <summary>
- Constructs a TestRunner.
- </summary>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.#ctor(System.IO.TextWriter)">
- <summary>
- Constructs a TestRunner using the given stream for all the output
- </summary>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.AddError(NUnit.Framework.ITest,System.Exception)">
- <summary>
-
- </summary>
- <param name="test"></param>
- <param name="t"></param>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.AddFailure(NUnit.Framework.ITest,NUnit.Framework.AssertionFailedError)">
- <summary>
-
- </summary>
- <param name="test"></param>
- <param name="t"></param>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.CreateTestResult">
- <summary>Creates the TestResult to be used for the test run.</summary>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.DoRun(NUnit.Framework.ITest,System.Boolean)">
- <summary>
-
- </summary>
- <param name="suite"></param>
- <param name="wait"></param>
- <returns></returns>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.EndTest(NUnit.Framework.ITest)">
- <summary>
-
- </summary>
- <param name="test"></param>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.GetLoader">
- <summary>
-
- </summary>
- <returns></returns>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.Print(NUnit.Framework.TestResult)">
- <summary>
-
- </summary>
- <param name="result"></param>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.PrintErrors(NUnit.Framework.TestResult)">
- <summary>Prints the errors to the standard output.</summary>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.PrintFailures(NUnit.Framework.TestResult)">
- <summary>Prints failures to the standard output.</summary>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.PrintHeader(NUnit.Framework.TestResult)">
- <summary>Prints the header of the report.</summary>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.Run(System.Type)">
- <summary>Runs a Suite extracted from a TestCase subclass.</summary>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.Run(NUnit.Framework.ITest)">
- <summary>
-
- </summary>
- <param name="suite"></param>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.RunAndWait(NUnit.Framework.ITest)">
- <summary>Runs a single test and waits until the user
- types RETURN.</summary>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.RunFailed(System.String)">
- <summary>
-
- </summary>
- <param name="message"></param>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.Start(System.String[])">
- <summary>Starts a test run. Analyzes the command line arguments
- and runs the given test suite.</summary>
- </member>
- <member name="M:NUnit.TextUI.TestRunner.StartTest(NUnit.Framework.ITest)">
- <summary>
-
- </summary>
- <param name="test"></param>
- </member>
- <member name="P:NUnit.TextUI.TestRunner.Writer">
- <summary>
-
- </summary>
- </member>
- <member name="M:System.Collections.Hashtable.Synchronized(System.Collections.Hashtable)">
- <summary>
- Returns a synchronized (thread-safe)
- wrapper for the Hashtable.
- </summary>
- </member>
- <member name="M:System.Collections.Hashtable.GetHash(System.Object)">
- <summary>Returns the hash code for the specified key.</summary>
- </member>
- <member name="M:System.Collections.Hashtable.KeyEquals(System.Object,System.Object)">
- <summary>
- Compares a specific Object with a specific key
- in the Hashtable.
- </summary>
- </member>
- </members>
-</doc>
diff --git a/mcs/nunit/src/NUnitCore/IFailureDetailView.cs b/mcs/nunit/src/NUnitCore/IFailureDetailView.cs
index 55553b505ad..424c5a096b7 100644
--- a/mcs/nunit/src/NUnitCore/IFailureDetailView.cs
+++ b/mcs/nunit/src/NUnitCore/IFailureDetailView.cs
@@ -1,6 +1,7 @@
namespace NUnit.Runner {
using System;
+ using System.Windows.Forms;
using NUnit.Framework;
@@ -14,6 +15,11 @@ namespace NUnit.Runner {
void Clear();
/// <summary>
+ /// Returns the component used to present the TraceView
+ /// </summary>
+ Control GetComponent();
+
+ /// <summary>
/// Shows details of a TestFailure
/// </summary>
void ShowFailure(TestFailure failure);
diff --git a/mcs/nunit/src/NUnitCore/SimpleTestCollector.cs b/mcs/nunit/src/NUnitCore/SimpleTestCollector.cs
deleted file mode 100644
index e1f73ea959a..00000000000
--- a/mcs/nunit/src/NUnitCore/SimpleTestCollector.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-namespace NUnit.Runner {
-
- using System;
-
- /// <summary>
- /// An implementation of a TestCollector that considers
- /// a class to be a test class when it contains the
- /// pattern "Test" in its name
- /// <see cref="ITestCollector"/>
- /// </summary>
- public class SimpleTestCollector: ClassPathTestCollector {
- /// <summary>
- ///
- /// </summary>
- public SimpleTestCollector() {
- }
- /// <summary>
- ///
- /// </summary>
- /// <param name="classFileName"></param>
- /// <returns></returns>
- protected override bool IsTestClass(string classFileName) {
- return
- (classFileName.EndsWith(".dll") || classFileName.EndsWith(".exe")) &&
- classFileName.IndexOf("Test") > 0;
- }
- }
-} \ No newline at end of file