SPRNET-850 - Upgrade to NUnit 2.5.2

This commit is contained in:
markpollack
2009-12-04 05:38:11 +00:00
parent 196d32105b
commit 7a608b83cf
63 changed files with 797 additions and 841 deletions

View File

@@ -1,3 +1,11 @@
Changes (1.3 RC1 to 1.3 GA or greater)
========================
Spring.Data
-----------
1. The namespace for MultiDelegatingDbProvider was changed from Spring.Data to Spring.Data.Common as that is consistent with all the other implementations of IDbProvider.
Changes (1.2.0 to 1.3 or greater)
========================

View File

@@ -1,18 +0,0 @@
<log4net>
<!-- A1 is set to be a ConsoleAppender -->
<appender name="A1" type="log4net.Appender.ConsoleAppender">
<!-- A1 uses PatternLayout -->
<layout type="log4net.Layout.PatternLayout">
<!-- Print the date in ISO 8601 format -->
<conversionPattern value="%-5level %logger - %message%newline" />
</layout>
</appender>
<!-- Set root logger level to DEBUG and its only appender to A1 -->
<root>
<level value="DEBUG" />
<appender-ref ref="A1" />
</root>
</log4net>

View File

@@ -1,96 +0,0 @@
@echo off
rem Run a program under a particular version of the .Net framework
rem by setting the COMPLUS_Version environment variable.
rem
rem This command was written by Charlie Poole for the NUnit project.
rem You may use it separately from NUnit at your own risk.
if "%1"=="/?" goto help
if "%1"=="?" goto help
if "%1"=="" goto GetVersion
if /I "%1"=="off" goto RemoveVersion
if "%2"=="" goto SetVersion
goto main
:help
echo Control the version of the .Net framework that is used. The
echo command has several forms:
echo.
echo CLR
echo Reports the version of the CLR that has been set
echo.
echo CLR version
echo Sets the local shell environment to use a specific
echo version of the CLR for subsequent commands.
echo.
echo CLR version command [arguments]
echo Executes a single command using the specified CLR version.
echo.
echo CLR off
echo Turns off specific version selection for commands
echo.
echo The CLR version may be specified as vn.n.n or n.n.n. In addition,
echo the following shortcuts are recognized:
echo net-1.0, 1.0 For version 1.0.3705
echo net-1.1, 1.1 For version 1.1.4322
echo beta2 For version 2.0.50215
echo net-2.0, 2.0 For version 2.0.50727
echo.
echo NOTE:
echo Any specific settings for required or supported runtime in
echo the ^<startup^> section of a program's config file will
echo override the version specified by this command, and the
echo command will have no effect.
echo.
goto done
:main
setlocal
set CMD=
call :SetVersion %1
shift /1
:loop 'Copy remaining arguments to form the command
if "%1"=="" goto run
set CMD=%CMD% %1
shift /1
goto :loop
:run 'Execute the command
%CMD%
endlocal
goto done
:SetVersion
set COMPLUS_Version=%1
rem Substitute proper format for certain names
if /I "%COMPLUS_Version:~0,1%"=="v" goto useit
if /I "%COMPLUS_Version%"=="net-1.0" set COMPLUS_Version=v1.0.3705&goto report
if /I "%COMPLUS_Version%"=="1.0" set COMPLUS_Version=v1.0.3705&goto report
if /I "%COMPLUS_Version%"=="net-1.1" set COMPLUS_Version=v1.1.4322&goto report
if /I "%COMPLUS_Version%"=="1.1" set COMPLUS_Version=v1.1.4322&goto report
if /I "%COMPLUS_Version%"=="beta2" set COMPLUS_Version=v2.0.50215&goto report
if /I "%COMPLUS_Version%"=="net-2.0" set COMPLUS_Version=v2.0.50727&goto report
if /I "%COMPLUS_Version%"=="2.0" set COMPLUS_Version=v2.0.50727&goto report
rem Add additional substitutions here, branching to report
rem assume it's a version number without 'v'
set COMPLUS_Version=v%COMPLUS_Version%
:report
echo Setting CLR version to %COMPLUS_Version%
goto done
:GetVersion
if "%COMPLUS_Version%"=="" echo CLR version is not set
if NOT "%COMPLUS_Version%"=="" echo CLR version is set to %COMPLUS_Version%
goto done
:RemoveVersion
set COMPLUS_Version=
echo CLR version is no longer set
:done

View File

@@ -1410,6 +1410,12 @@
constraint to the Message property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintExpression.InnerException">
<summary>
Returns a new ConstraintExpression, which will apply the following
constraint to the InnerException property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintExpression.With">
<summary>
With is currently a NOP - reserved for future use.
@@ -2929,6 +2935,12 @@
constraint to the Message property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintFactory.InnerException">
<summary>
Returns a new ConstraintExpression, which will apply the following
constraint to the InnerException property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintFactory.Null">
<summary>
Returns a constraint that tests for null
@@ -3849,6 +3861,18 @@
Gets the description of the test
</summary>
</member>
<member name="P:NUnit.Framework.ITestCaseData.Ignored">
<summary>
Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored.
</summary>
<value><c>true</c> if ignored; otherwise, <c>false</c>.</value>
</member>
<member name="P:NUnit.Framework.ITestCaseData.IgnoreReason">
<summary>
Gets the ignore reason.
</summary>
<value>The ignore reason.</value>
</member>
<member name="F:NUnit.Framework.TestCaseData.arguments">
<summary>
The argument list to be provided to the test
@@ -3885,6 +3909,16 @@
to tests without requiring the class to change.
</summary>
</member>
<member name="F:NUnit.Framework.TestCaseData.isIgnored">
<summary>
If true, indicates that the test case is to be ignored
</summary>
</member>
<member name="F:NUnit.Framework.TestCaseData.ignoreReason">
<summary>
The reason for ignoring a test case
</summary>
</member>
<member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object[])">
<summary>
Initializes a new instance of the <see cref="T:TestCaseData"/> class.
@@ -3978,6 +4012,19 @@
<param name="propValue"></param>
<returns></returns>
</member>
<member name="M:NUnit.Framework.TestCaseData.Ignore">
<summary>
Ignores this TestCase.
</summary>
<returns></returns>
</member>
<member name="M:NUnit.Framework.TestCaseData.Ignore(System.String)">
<summary>
Ignores this TestCase, specifying the reason.
</summary>
<param name="reason">The reason.</param>
<returns></returns>
</member>
<member name="P:NUnit.Framework.TestCaseData.Arguments">
<summary>
Gets the argument list to be provided to the test
@@ -4008,6 +4055,18 @@
Gets the description of the test
</summary>
</member>
<member name="P:NUnit.Framework.TestCaseData.Ignored">
<summary>
Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored.
</summary>
<value><c>true</c> if ignored; otherwise, <c>false</c>.</value>
</member>
<member name="P:NUnit.Framework.TestCaseData.IgnoreReason">
<summary>
Gets the ignore reason.
</summary>
<value>The ignore reason.</value>
</member>
<member name="P:NUnit.Framework.TestCaseData.Categories">
<summary>
Gets a list of categories associated with this test.
@@ -4119,6 +4178,12 @@
constraint to the Message property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Has.InnerException">
<summary>
Returns a new ConstraintExpression, which will apply the following
constraint to the InnerException property of the object being tested.
</summary>
</member>
<member name="T:NUnit.Framework.List">
<summary>
The List class is a helper class with properties and methods
@@ -4283,6 +4348,22 @@
</summary>
<value>The name of the test.</value>
</member>
<member name="P:NUnit.Framework.TestCaseAttribute.Ignore">
<summary>
Gets or sets the ignored status of the test
</summary>
</member>
<member name="P:NUnit.Framework.TestCaseAttribute.Ignored">
<summary>
Gets or sets the ignored status of the test
</summary>
</member>
<member name="P:NUnit.Framework.TestCaseAttribute.IgnoreReason">
<summary>
Gets the ignore reason.
</summary>
<value>The ignore reason.</value>
</member>
<member name="T:NUnit.Framework.SuccessException">
<summary>
Thrown when an assertion failed.
@@ -4619,6 +4700,57 @@
<param name="expectedExceptionType">The exception Type expected</param>
<param name="code">A TestSnippet delegate</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate throws an exception when called
and returns it.
</summary>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(NUnit.Framework.TestDelegate,System.String)">
<summary>
Verifies that a delegate throws an exception when called
and returns it.
</summary>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(NUnit.Framework.TestDelegate)">
<summary>
Verifies that a delegate throws an exception when called
and returns it.
</summary>
<param name="code">A TestDelegate</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(System.Type,NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<param name="expectedExceptionType">The expected Exception Type</param>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(System.Type,NUnit.Framework.TestDelegate,System.String)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<param name="expectedExceptionType">The expected Exception Type</param>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(System.Type,NUnit.Framework.TestDelegate)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<param name="expectedExceptionType">The expected Exception Type</param>
<param name="code">A TestDelegate</param>
</member>
<member name="M:NUnit.Framework.Assert.DoesNotThrow(NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate does not throw an exception
@@ -6775,6 +6907,18 @@
The arguments originally provided to the attribute
</summary>
</member>
<member name="P:NUnit.Framework.TestFixtureAttribute.Ignore">
<summary>
Gets or sets a value indicating whether this <see cref="T:NUnit.Framework.TestFixtureAttribute"/> should be ignored.
</summary>
<value><c>true</c> if ignore; otherwise, <c>false</c>.</value>
</member>
<member name="P:NUnit.Framework.TestFixtureAttribute.IgnoreReason">
<summary>
Gets or sets the ignore reason. May set Ignored as a side effect.
</summary>
<value>The ignore reason.</value>
</member>
<member name="T:NUnit.Framework.CollectionAssert">
<summary>
A set of Assert methods operationg on one or more collections
@@ -7289,16 +7433,17 @@
</member>
<member name="T:NUnit.Framework.TimeoutAttribute">
<summary>
Marks a test with a timeout value in milliseconds. The
test will be run in a separate thread and cancelled if
the timeout is exceeded.
WUsed on a method, marks the test with a timeout value in milliseconds.
The test will be run in a separate thread and is cancelled if the timeout
is exceeded. Used on a method or assembly, sets the default timeout
for all contained test methods.
</summary>
</member>
<member name="M:NUnit.Framework.TimeoutAttribute.#ctor(System.Int32)">
<summary>
Construct a TimeoutAttribute given a time in milliseconds
</summary>
<param name="timeout"></param>
<param name="timeout">The timeout value in milliseconds</param>
</member>
<member name="T:NUnit.Framework.RequiresSTAAttribute">
<summary>
@@ -8633,6 +8778,26 @@
Creates a constraint specifying an expected exception
</summary>
</member>
<member name="P:NUnit.Framework.Throws.InnerException">
<summary>
Creates a constraint specifying an exception with a given InnerException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.TargetInvocationException">
<summary>
Creates a constraint specifying an expected TargetInvocationException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.ArgumentException">
<summary>
Creates a constraint specifying an expected TargetInvocationException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.InvalidOperationException">
<summary>
Creates a constraint specifying an expected TargetInvocationException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.Nothing">
<summary>
Creates a constraint specifying that no exception is thrown
@@ -8670,18 +8835,6 @@
guaranteed to be called, even if an exception is thrown.
</summary>
</member>
<member name="T:NUnit.Framework.Catch">
<summary>
The Catch class is used to capture an exception.
</summary>
</member>
<member name="M:NUnit.Framework.Catch.Exception(NUnit.Framework.TestDelegate)">
<summary>
Capture any exception that is thrown by the delegate
</summary>
<param name="code">A TestDelegate</param>
<returns>The exception thrown, or null</returns>
</member>
<member name="T:NUnit.Framework.Text">
<summary>
Helper class with static methods used to supply constraints
@@ -8754,6 +8907,17 @@
</summary>
<param name="milliseconds">The maximum elapsed time in milliseconds</param>
</member>
<member name="T:NUnit.Framework.SetUICultureAttribute">
<summary>
Summary description for SetUICultureAttribute.
</summary>
</member>
<member name="M:NUnit.Framework.SetUICultureAttribute.#ctor(System.String)">
<summary>
Construct given the name of a culture
</summary>
<param name="culture"></param>
</member>
<member name="T:NUnit.Framework.DirectoryAssert">
<summary>
Summary description for DirectoryAssert

View File

@@ -1,18 +0,0 @@
<log4net>
<!-- A1 is set to be a ConsoleAppender -->
<appender name="A1" type="log4net.Appender.ConsoleAppender">
<!-- A1 uses PatternLayout -->
<layout type="log4net.Layout.PatternLayout">
<!-- Print the date in ISO 8601 format -->
<conversionPattern value="%-5level %logger - %message%newline" />
</layout>
</appender>
<!-- Set root logger level to DEBUG and its only appender to A1 -->
<root>
<level value="DEBUG" />
<appender-ref ref="A1" />
</root>
</log4net>

View File

@@ -1,2 +0,0 @@
start pnunit-agent agent.conf
pnunit-launcher test.conf

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--This file represents the results of running a test suite-->
<test-results name="nunit.framework.dll" total="0" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2009-07-13" time="16:14:09">
<environment nunit-version="2.5.1.9189" clr-version="2.0.50727.4016" os-version="Microsoft Windows NT 6.0.6002 Service Pack 2" platform="Win32NT" cwd="C:\projects\svn_google\testingaspnet\nunit\NUnit-2.5.1.9189\bin\net-2.0" machine-name="EETHINKPAD" user="erich" user-domain="eethinkpad" />
<culture-info current-culture="en-US" current-uiculture="de-DE" />
<test-suite name="nunit.framework.dll" executed="False">
<reason>
<message><![CDATA[Has no TestFixtures]]></message>
</reason>
</test-suite>
</test-results>

View File

@@ -1,18 +0,0 @@
<log4net>
<!-- A1 is set to be a ConsoleAppender -->
<appender name="A1" type="log4net.Appender.ConsoleAppender">
<!-- A1 uses PatternLayout -->
<layout type="log4net.Layout.PatternLayout">
<!-- Print the date in ISO 8601 format -->
<conversionPattern value="%-5level %logger - %message%newline" />
</layout>
</appender>
<!-- Set root logger level to DEBUG and its only appender to A1 -->
<root>
<level value="DEBUG" />
<appender-ref ref="A1" />
</root>
</log4net>

View File

@@ -1,96 +0,0 @@
@echo off
rem Run a program under a particular version of the .Net framework
rem by setting the COMPLUS_Version environment variable.
rem
rem This command was written by Charlie Poole for the NUnit project.
rem You may use it separately from NUnit at your own risk.
if "%1"=="/?" goto help
if "%1"=="?" goto help
if "%1"=="" goto GetVersion
if /I "%1"=="off" goto RemoveVersion
if "%2"=="" goto SetVersion
goto main
:help
echo Control the version of the .Net framework that is used. The
echo command has several forms:
echo.
echo CLR
echo Reports the version of the CLR that has been set
echo.
echo CLR version
echo Sets the local shell environment to use a specific
echo version of the CLR for subsequent commands.
echo.
echo CLR version command [arguments]
echo Executes a single command using the specified CLR version.
echo.
echo CLR off
echo Turns off specific version selection for commands
echo.
echo The CLR version may be specified as vn.n.n or n.n.n. In addition,
echo the following shortcuts are recognized:
echo net-1.0, 1.0 For version 1.0.3705
echo net-1.1, 1.1 For version 1.1.4322
echo beta2 For version 2.0.50215
echo net-2.0, 2.0 For version 2.0.50727
echo.
echo NOTE:
echo Any specific settings for required or supported runtime in
echo the ^<startup^> section of a program's config file will
echo override the version specified by this command, and the
echo command will have no effect.
echo.
goto done
:main
setlocal
set CMD=
call :SetVersion %1
shift /1
:loop 'Copy remaining arguments to form the command
if "%1"=="" goto run
set CMD=%CMD% %1
shift /1
goto :loop
:run 'Execute the command
%CMD%
endlocal
goto done
:SetVersion
set COMPLUS_Version=%1
rem Substitute proper format for certain names
if /I "%COMPLUS_Version:~0,1%"=="v" goto useit
if /I "%COMPLUS_Version%"=="net-1.0" set COMPLUS_Version=v1.0.3705&goto report
if /I "%COMPLUS_Version%"=="1.0" set COMPLUS_Version=v1.0.3705&goto report
if /I "%COMPLUS_Version%"=="net-1.1" set COMPLUS_Version=v1.1.4322&goto report
if /I "%COMPLUS_Version%"=="1.1" set COMPLUS_Version=v1.1.4322&goto report
if /I "%COMPLUS_Version%"=="beta2" set COMPLUS_Version=v2.0.50215&goto report
if /I "%COMPLUS_Version%"=="net-2.0" set COMPLUS_Version=v2.0.50727&goto report
if /I "%COMPLUS_Version%"=="2.0" set COMPLUS_Version=v2.0.50727&goto report
rem Add additional substitutions here, branching to report
rem assume it's a version number without 'v'
set COMPLUS_Version=v%COMPLUS_Version%
:report
echo Setting CLR version to %COMPLUS_Version%
goto done
:GetVersion
if "%COMPLUS_Version%"=="" echo CLR version is not set
if NOT "%COMPLUS_Version%"=="" echo CLR version is set to %COMPLUS_Version%
goto done
:RemoveVersion
set COMPLUS_Version=
echo CLR version is no longer set
:done

View File

@@ -1498,6 +1498,12 @@
constraint to the Message property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintExpression.InnerException">
<summary>
Returns a new ConstraintExpression, which will apply the following
constraint to the InnerException property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintExpression.With">
<summary>
With is currently a NOP - reserved for future use.
@@ -3101,6 +3107,12 @@
constraint to the Message property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintFactory.InnerException">
<summary>
Returns a new ConstraintExpression, which will apply the following
constraint to the InnerException property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintFactory.Null">
<summary>
Returns a constraint that tests for null
@@ -4100,6 +4112,18 @@
Gets the description of the test
</summary>
</member>
<member name="P:NUnit.Framework.ITestCaseData.Ignored">
<summary>
Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored.
</summary>
<value><c>true</c> if ignored; otherwise, <c>false</c>.</value>
</member>
<member name="P:NUnit.Framework.ITestCaseData.IgnoreReason">
<summary>
Gets the ignore reason.
</summary>
<value>The ignore reason.</value>
</member>
<member name="F:NUnit.Framework.TestCaseData.arguments">
<summary>
The argument list to be provided to the test
@@ -4136,6 +4160,16 @@
to tests without requiring the class to change.
</summary>
</member>
<member name="F:NUnit.Framework.TestCaseData.isIgnored">
<summary>
If true, indicates that the test case is to be ignored
</summary>
</member>
<member name="F:NUnit.Framework.TestCaseData.ignoreReason">
<summary>
The reason for ignoring a test case
</summary>
</member>
<member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object[])">
<summary>
Initializes a new instance of the <see cref="T:TestCaseData"/> class.
@@ -4229,6 +4263,19 @@
<param name="propValue"></param>
<returns></returns>
</member>
<member name="M:NUnit.Framework.TestCaseData.Ignore">
<summary>
Ignores this TestCase.
</summary>
<returns></returns>
</member>
<member name="M:NUnit.Framework.TestCaseData.Ignore(System.String)">
<summary>
Ignores this TestCase, specifying the reason.
</summary>
<param name="reason">The reason.</param>
<returns></returns>
</member>
<member name="P:NUnit.Framework.TestCaseData.Arguments">
<summary>
Gets the argument list to be provided to the test
@@ -4259,6 +4306,18 @@
Gets the description of the test
</summary>
</member>
<member name="P:NUnit.Framework.TestCaseData.Ignored">
<summary>
Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored.
</summary>
<value><c>true</c> if ignored; otherwise, <c>false</c>.</value>
</member>
<member name="P:NUnit.Framework.TestCaseData.IgnoreReason">
<summary>
Gets the ignore reason.
</summary>
<value>The ignore reason.</value>
</member>
<member name="P:NUnit.Framework.TestCaseData.Categories">
<summary>
Gets a list of categories associated with this test.
@@ -4376,6 +4435,12 @@
constraint to the Message property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Has.InnerException">
<summary>
Returns a new ConstraintExpression, which will apply the following
constraint to the InnerException property of the object being tested.
</summary>
</member>
<member name="T:NUnit.Framework.List">
<summary>
The List class is a helper class with properties and methods
@@ -4540,6 +4605,22 @@
</summary>
<value>The name of the test.</value>
</member>
<member name="P:NUnit.Framework.TestCaseAttribute.Ignore">
<summary>
Gets or sets the ignored status of the test
</summary>
</member>
<member name="P:NUnit.Framework.TestCaseAttribute.Ignored">
<summary>
Gets or sets the ignored status of the test
</summary>
</member>
<member name="P:NUnit.Framework.TestCaseAttribute.IgnoreReason">
<summary>
Gets the ignore reason.
</summary>
<value>The ignore reason.</value>
</member>
<member name="T:NUnit.Framework.SuccessException">
<summary>
Thrown when an assertion failed.
@@ -4900,6 +4981,84 @@
<typeparam name="T">Type of the expected exception</typeparam>
<param name="code">A TestSnippet delegate</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate throws an exception when called
and returns it.
</summary>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(NUnit.Framework.TestDelegate,System.String)">
<summary>
Verifies that a delegate throws an exception when called
and returns it.
</summary>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(NUnit.Framework.TestDelegate)">
<summary>
Verifies that a delegate throws an exception when called
and returns it.
</summary>
<param name="code">A TestDelegate</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(System.Type,NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<param name="expectedExceptionType">The expected Exception Type</param>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(System.Type,NUnit.Framework.TestDelegate,System.String)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<param name="expectedExceptionType">The expected Exception Type</param>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(System.Type,NUnit.Framework.TestDelegate)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<param name="expectedExceptionType">The expected Exception Type</param>
<param name="code">A TestDelegate</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch``1(NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<typeparam name="T">The expected Exception Type</typeparam>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch``1(NUnit.Framework.TestDelegate,System.String)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<typeparam name="T">The expected Exception Type</typeparam>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch``1(NUnit.Framework.TestDelegate)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<typeparam name="T">The expected Exception Type</typeparam>
<param name="code">A TestDelegate</param>
</member>
<member name="M:NUnit.Framework.Assert.DoesNotThrow(NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate does not throw an exception
@@ -7218,6 +7377,18 @@
The arguments originally provided to the attribute
</summary>
</member>
<member name="P:NUnit.Framework.TestFixtureAttribute.Ignore">
<summary>
Gets or sets a value indicating whether this <see cref="T:NUnit.Framework.TestFixtureAttribute"/> should be ignored.
</summary>
<value><c>true</c> if ignore; otherwise, <c>false</c>.</value>
</member>
<member name="P:NUnit.Framework.TestFixtureAttribute.IgnoreReason">
<summary>
Gets or sets the ignore reason. May set Ignored as a side effect.
</summary>
<value>The ignore reason.</value>
</member>
<member name="P:NUnit.Framework.TestFixtureAttribute.TypeArgs">
<summary>
Get or set the type arguments. If not set
@@ -7739,16 +7910,17 @@
</member>
<member name="T:NUnit.Framework.TimeoutAttribute">
<summary>
Marks a test with a timeout value in milliseconds. The
test will be run in a separate thread and cancelled if
the timeout is exceeded.
WUsed on a method, marks the test with a timeout value in milliseconds.
The test will be run in a separate thread and is cancelled if the timeout
is exceeded. Used on a method or assembly, sets the default timeout
for all contained test methods.
</summary>
</member>
<member name="M:NUnit.Framework.TimeoutAttribute.#ctor(System.Int32)">
<summary>
Construct a TimeoutAttribute given a time in milliseconds
</summary>
<param name="timeout"></param>
<param name="timeout">The timeout value in milliseconds</param>
</member>
<member name="T:NUnit.Framework.RequiresSTAAttribute">
<summary>
@@ -9123,6 +9295,26 @@
Creates a constraint specifying an expected exception
</summary>
</member>
<member name="P:NUnit.Framework.Throws.InnerException">
<summary>
Creates a constraint specifying an exception with a given InnerException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.TargetInvocationException">
<summary>
Creates a constraint specifying an expected TargetInvocationException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.ArgumentException">
<summary>
Creates a constraint specifying an expected TargetInvocationException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.InvalidOperationException">
<summary>
Creates a constraint specifying an expected TargetInvocationException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.Nothing">
<summary>
Creates a constraint specifying that no exception is thrown
@@ -9160,18 +9352,6 @@
guaranteed to be called, even if an exception is thrown.
</summary>
</member>
<member name="T:NUnit.Framework.Catch">
<summary>
The Catch class is used to capture an exception.
</summary>
</member>
<member name="M:NUnit.Framework.Catch.Exception(NUnit.Framework.TestDelegate)">
<summary>
Capture any exception that is thrown by the delegate
</summary>
<param name="code">A TestDelegate</param>
<returns>The exception thrown, or null</returns>
</member>
<member name="T:NUnit.Framework.Text">
<summary>
Helper class with static methods used to supply constraints
@@ -9244,6 +9424,17 @@
</summary>
<param name="milliseconds">The maximum elapsed time in milliseconds</param>
</member>
<member name="T:NUnit.Framework.SetUICultureAttribute">
<summary>
Summary description for SetUICultureAttribute.
</summary>
</member>
<member name="M:NUnit.Framework.SetUICultureAttribute.#ctor(System.String)">
<summary>
Construct given the name of a culture
</summary>
<param name="culture"></param>
</member>
<member name="T:NUnit.Framework.DirectoryAssert">
<summary>
Summary description for DirectoryAssert

View File

@@ -1,18 +0,0 @@
<log4net>
<!-- A1 is set to be a ConsoleAppender -->
<appender name="A1" type="log4net.Appender.ConsoleAppender">
<!-- A1 uses PatternLayout -->
<layout type="log4net.Layout.PatternLayout">
<!-- Print the date in ISO 8601 format -->
<conversionPattern value="%-5level %logger - %message%newline" />
</layout>
</appender>
<!-- Set root logger level to DEBUG and its only appender to A1 -->
<root>
<level value="DEBUG" />
<appender-ref ref="A1" />
</root>
</log4net>

View File

@@ -1,2 +0,0 @@
start pnunit-agent agent.conf
pnunit-launcher test.conf

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1498,6 +1498,12 @@
constraint to the Message property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintExpression.InnerException">
<summary>
Returns a new ConstraintExpression, which will apply the following
constraint to the InnerException property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintExpression.With">
<summary>
With is currently a NOP - reserved for future use.
@@ -3101,6 +3107,12 @@
constraint to the Message property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintFactory.InnerException">
<summary>
Returns a new ConstraintExpression, which will apply the following
constraint to the InnerException property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Constraints.ConstraintFactory.Null">
<summary>
Returns a constraint that tests for null
@@ -4100,6 +4112,18 @@
Gets the description of the test
</summary>
</member>
<member name="P:NUnit.Framework.ITestCaseData.Ignored">
<summary>
Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored.
</summary>
<value><c>true</c> if ignored; otherwise, <c>false</c>.</value>
</member>
<member name="P:NUnit.Framework.ITestCaseData.IgnoreReason">
<summary>
Gets the ignore reason.
</summary>
<value>The ignore reason.</value>
</member>
<member name="F:NUnit.Framework.TestCaseData.arguments">
<summary>
The argument list to be provided to the test
@@ -4136,6 +4160,16 @@
to tests without requiring the class to change.
</summary>
</member>
<member name="F:NUnit.Framework.TestCaseData.isIgnored">
<summary>
If true, indicates that the test case is to be ignored
</summary>
</member>
<member name="F:NUnit.Framework.TestCaseData.ignoreReason">
<summary>
The reason for ignoring a test case
</summary>
</member>
<member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object[])">
<summary>
Initializes a new instance of the <see cref="T:TestCaseData"/> class.
@@ -4229,6 +4263,19 @@
<param name="propValue"></param>
<returns></returns>
</member>
<member name="M:NUnit.Framework.TestCaseData.Ignore">
<summary>
Ignores this TestCase.
</summary>
<returns></returns>
</member>
<member name="M:NUnit.Framework.TestCaseData.Ignore(System.String)">
<summary>
Ignores this TestCase, specifying the reason.
</summary>
<param name="reason">The reason.</param>
<returns></returns>
</member>
<member name="P:NUnit.Framework.TestCaseData.Arguments">
<summary>
Gets the argument list to be provided to the test
@@ -4259,6 +4306,18 @@
Gets the description of the test
</summary>
</member>
<member name="P:NUnit.Framework.TestCaseData.Ignored">
<summary>
Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored.
</summary>
<value><c>true</c> if ignored; otherwise, <c>false</c>.</value>
</member>
<member name="P:NUnit.Framework.TestCaseData.IgnoreReason">
<summary>
Gets the ignore reason.
</summary>
<value>The ignore reason.</value>
</member>
<member name="P:NUnit.Framework.TestCaseData.Categories">
<summary>
Gets a list of categories associated with this test.
@@ -4376,6 +4435,12 @@
constraint to the Message property of the object being tested.
</summary>
</member>
<member name="P:NUnit.Framework.Has.InnerException">
<summary>
Returns a new ConstraintExpression, which will apply the following
constraint to the InnerException property of the object being tested.
</summary>
</member>
<member name="T:NUnit.Framework.List">
<summary>
The List class is a helper class with properties and methods
@@ -4540,6 +4605,22 @@
</summary>
<value>The name of the test.</value>
</member>
<member name="P:NUnit.Framework.TestCaseAttribute.Ignore">
<summary>
Gets or sets the ignored status of the test
</summary>
</member>
<member name="P:NUnit.Framework.TestCaseAttribute.Ignored">
<summary>
Gets or sets the ignored status of the test
</summary>
</member>
<member name="P:NUnit.Framework.TestCaseAttribute.IgnoreReason">
<summary>
Gets the ignore reason.
</summary>
<value>The ignore reason.</value>
</member>
<member name="T:NUnit.Framework.SuccessException">
<summary>
Thrown when an assertion failed.
@@ -4900,6 +4981,84 @@
<typeparam name="T">Type of the expected exception</typeparam>
<param name="code">A TestSnippet delegate</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate throws an exception when called
and returns it.
</summary>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(NUnit.Framework.TestDelegate,System.String)">
<summary>
Verifies that a delegate throws an exception when called
and returns it.
</summary>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(NUnit.Framework.TestDelegate)">
<summary>
Verifies that a delegate throws an exception when called
and returns it.
</summary>
<param name="code">A TestDelegate</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(System.Type,NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<param name="expectedExceptionType">The expected Exception Type</param>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(System.Type,NUnit.Framework.TestDelegate,System.String)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<param name="expectedExceptionType">The expected Exception Type</param>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch(System.Type,NUnit.Framework.TestDelegate)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<param name="expectedExceptionType">The expected Exception Type</param>
<param name="code">A TestDelegate</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch``1(NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<typeparam name="T">The expected Exception Type</typeparam>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
<param name="args">Arguments to be used in formatting the message</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch``1(NUnit.Framework.TestDelegate,System.String)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<typeparam name="T">The expected Exception Type</typeparam>
<param name="code">A TestDelegate</param>
<param name="message">The message that will be displayed on failure</param>
</member>
<member name="M:NUnit.Framework.Assert.Catch``1(NUnit.Framework.TestDelegate)">
<summary>
Verifies that a delegate throws an exception of a certain Type
or one derived from it when called and returns it.
</summary>
<typeparam name="T">The expected Exception Type</typeparam>
<param name="code">A TestDelegate</param>
</member>
<member name="M:NUnit.Framework.Assert.DoesNotThrow(NUnit.Framework.TestDelegate,System.String,System.Object[])">
<summary>
Verifies that a delegate does not throw an exception
@@ -7218,6 +7377,18 @@
The arguments originally provided to the attribute
</summary>
</member>
<member name="P:NUnit.Framework.TestFixtureAttribute.Ignore">
<summary>
Gets or sets a value indicating whether this <see cref="T:NUnit.Framework.TestFixtureAttribute"/> should be ignored.
</summary>
<value><c>true</c> if ignore; otherwise, <c>false</c>.</value>
</member>
<member name="P:NUnit.Framework.TestFixtureAttribute.IgnoreReason">
<summary>
Gets or sets the ignore reason. May set Ignored as a side effect.
</summary>
<value>The ignore reason.</value>
</member>
<member name="P:NUnit.Framework.TestFixtureAttribute.TypeArgs">
<summary>
Get or set the type arguments. If not set
@@ -7739,16 +7910,17 @@
</member>
<member name="T:NUnit.Framework.TimeoutAttribute">
<summary>
Marks a test with a timeout value in milliseconds. The
test will be run in a separate thread and cancelled if
the timeout is exceeded.
WUsed on a method, marks the test with a timeout value in milliseconds.
The test will be run in a separate thread and is cancelled if the timeout
is exceeded. Used on a method or assembly, sets the default timeout
for all contained test methods.
</summary>
</member>
<member name="M:NUnit.Framework.TimeoutAttribute.#ctor(System.Int32)">
<summary>
Construct a TimeoutAttribute given a time in milliseconds
</summary>
<param name="timeout"></param>
<param name="timeout">The timeout value in milliseconds</param>
</member>
<member name="T:NUnit.Framework.RequiresSTAAttribute">
<summary>
@@ -9123,6 +9295,26 @@
Creates a constraint specifying an expected exception
</summary>
</member>
<member name="P:NUnit.Framework.Throws.InnerException">
<summary>
Creates a constraint specifying an exception with a given InnerException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.TargetInvocationException">
<summary>
Creates a constraint specifying an expected TargetInvocationException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.ArgumentException">
<summary>
Creates a constraint specifying an expected TargetInvocationException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.InvalidOperationException">
<summary>
Creates a constraint specifying an expected TargetInvocationException
</summary>
</member>
<member name="P:NUnit.Framework.Throws.Nothing">
<summary>
Creates a constraint specifying that no exception is thrown
@@ -9160,18 +9352,6 @@
guaranteed to be called, even if an exception is thrown.
</summary>
</member>
<member name="T:NUnit.Framework.Catch">
<summary>
The Catch class is used to capture an exception.
</summary>
</member>
<member name="M:NUnit.Framework.Catch.Exception(NUnit.Framework.TestDelegate)">
<summary>
Capture any exception that is thrown by the delegate
</summary>
<param name="code">A TestDelegate</param>
<returns>The exception thrown, or null</returns>
</member>
<member name="T:NUnit.Framework.Text">
<summary>
Helper class with static methods used to supply constraints
@@ -9244,6 +9424,17 @@
</summary>
<param name="milliseconds">The maximum elapsed time in milliseconds</param>
</member>
<member name="T:NUnit.Framework.SetUICultureAttribute">
<summary>
Summary description for SetUICultureAttribute.
</summary>
</member>
<member name="M:NUnit.Framework.SetUICultureAttribute.#ctor(System.String)">
<summary>
Construct given the name of a culture
</summary>
<param name="culture"></param>
</member>
<member name="T:NUnit.Framework.DirectoryAssert">
<summary>
Summary description for DirectoryAssert

View File

@@ -55,6 +55,7 @@
<Compile Include="Messaging\Nms\Core\MessagePostProcessorDelegate.cs" />
<Compile Include="Messaging\Nms\Core\NmsTemplate.cs" />
<Compile Include="Messaging\Nms\Core\NmsGatewaySupport.cs" />
<Compile Include="Messaging\Nms\Core\NmsTrace.cs" />
<Compile Include="Messaging\Nms\Core\ProducerDelegate.cs" />
<Compile Include="Messaging\Nms\Core\SessionDelegate.cs" />
<Compile Include="Messaging\Nms\Config\MessageListenerContainerObjectDefinitionParser.cs" />

View File

@@ -195,7 +195,9 @@ namespace Spring.Context.Support
Assert.AreEqual("\"Hello World\"", msg);
}
#if !MONO
//Spring's CultureTestScope seems incompatible on .NET 1.1 with NUnit's new in 2.5.2 changes for setting UI Culture.
[Test]
[SetUICulture("de-DE")]
public void MessageAccessFallbackTurnedOff()
{
DoTestMessageAccess(false, false);
@@ -203,6 +205,7 @@ namespace Spring.Context.Support
[Test]
[SetUICulture("de-DE")]
public void MessageAccessFallbackTurnedOn()
{
DoTestMessageAccess(false, true);
@@ -210,6 +213,7 @@ namespace Spring.Context.Support
[Test]
[SetUICulture("de-DE")]
public void MessageAccessWithParentAndFallbackTurnedOff()
{
DoTestMessageAccess(true, false);
@@ -231,6 +235,7 @@ namespace Spring.Context.Support
/// Happy day scenario where the requested message key is found and substitutions are made.
/// </summary>
[Test]
[SetUICulture("de-DE")]
public void ResourceSetMessageSourceGetMessage()
{
messageSource.ResourceManagers = resourceManagerList;

View File

@@ -45,6 +45,7 @@ namespace Spring.Context.Support
}
[Test]
[SetUICulture("de-DE")]
public void GetMessageDefaultsToCurrentUICulture()
{
StaticMessageSource msgSource = new StaticMessageSource();