springnet-commits Mailing List for Spring Framework .NET (Page 512)
Brought to you by:
aseovic,
markpollack
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(33) |
Aug
(163) |
Sep
(491) |
Oct
(289) |
Nov
(336) |
Dec
(84) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(227) |
Feb
(413) |
Mar
(128) |
Apr
(232) |
May
(92) |
Jun
(299) |
Jul
(386) |
Aug
(228) |
Sep
(237) |
Oct
(426) |
Nov
(325) |
Dec
(405) |
2006 |
Jan
(315) |
Feb
(311) |
Mar
(152) |
Apr
(177) |
May
(443) |
Jun
(92) |
Jul
(88) |
Aug
(80) |
Sep
(288) |
Oct
(515) |
Nov
(1049) |
Dec
(440) |
2007 |
Jan
(179) |
Feb
(406) |
Mar
(294) |
Apr
(80) |
May
(432) |
Jun
(242) |
Jul
(452) |
Aug
(710) |
Sep
(206) |
Oct
(240) |
Nov
(65) |
Dec
(227) |
2008 |
Jan
(80) |
Feb
(90) |
Mar
(98) |
Apr
(136) |
May
(101) |
Jun
(12) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Springboy <spr...@us...> - 2004-07-26 07:43:34
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17585/Spring/Spring.Core.Tests Modified Files: Spring.Core.Tests.csproj Spring.Core.Tests.dll.config Log Message: Unit tests for the all of the new classes added in the previous commit. Index: Spring.Core.Tests.csproj =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Spring.Core.Tests.csproj,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Spring.Core.Tests.csproj 23 Jul 2004 15:24:58 -0000 1.15 --- Spring.Core.Tests.csproj 26 Jul 2004 07:42:53 -0000 1.16 *************** *** 1,409 **** ! <VisualStudioProject> ! <CSHARP ! ProjectType = "Local" ! ProductVersion = "7.10.3077" ! SchemaVersion = "2.0" ! ProjectGuid = "{44B16BAA-6DF8-447C-9D7F-3AD3D854D904}" ! > ! <Build> ! <Settings ! ApplicationIcon = "" ! AssemblyKeyContainerName = "" ! AssemblyName = "Spring.Core.Tests" ! AssemblyOriginatorKeyFile = "" ! DefaultClientScript = "JScript" ! DefaultHTMLPageLayout = "Grid" ! DefaultTargetSchema = "IE50" ! DelaySign = "false" ! OutputType = "Library" ! PreBuildEvent = "" ! PostBuildEvent = 'echo "Copying .xml files for tests"
xcopy $(ProjectDir)Data ..\..\..\..\build\VS.Net\Spring.Core.Tests\Debug\ /y /s /q' ! RootNamespace = "Spring" ! RunPostBuildEvent = "OnOutputUpdated" ! StartupObject = "" ! > ! <Config ! Name = "Debug" ! AllowUnsafeBlocks = "false" ! BaseAddress = "285212672" ! CheckForOverflowUnderflow = "false" ! ConfigurationOverrideFile = "" ! DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "" ! DebugSymbols = "true" ! FileAlignment = "4096" ! IncrementalBuild = "false" ! NoStdLib = "false" ! NoWarn = "" ! Optimize = "false" ! OutputPath = "..\..\..\build\VS.Net\Spring.Core.Tests\Debug\" ! RegisterForComInterop = "false" ! RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" ! WarningLevel = "4" ! /> ! <Config ! Name = "Release" ! AllowUnsafeBlocks = "false" ! BaseAddress = "285212672" ! CheckForOverflowUnderflow = "false" ! ConfigurationOverrideFile = "" ! DefineConstants = "TRACE" ! DocumentationFile = "" ! DebugSymbols = "false" ! FileAlignment = "4096" ! IncrementalBuild = "false" ! NoStdLib = "false" ! NoWarn = "" ! Optimize = "true" ! OutputPath = "..\..\..\build\VS.Net\Release\" ! RegisterForComInterop = "false" ! RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" ! WarningLevel = "4" ! /> ! </Settings> ! <References> ! <Reference ! Name = "System" ! AssemblyName = "System" ! /> ! <Reference ! Name = "Spring.Core" ! Project = "{710961A3-0DF4-49E4-A26E-F5B9C044AC84}" ! Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" ! Private = "True" ! /> ! <Reference ! Name = "nunit.framework" ! AssemblyName = "nunit.framework" ! HintPath = "..\..\..\lib\Net\1.1\nunit.framework.dll" ! /> ! <Reference ! Name = "System.Data" ! AssemblyName = "System.Data" ! HintPath = "..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" ! /> ! <Reference ! Name = "System.XML" ! AssemblyName = "System.Xml" ! HintPath = "..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" ! /> ! <Reference ! Name = "Iesi.Collections" ! AssemblyName = "Iesi.Collections" ! HintPath = "..\..\..\lib\Iesi.Collections.dll" ! /> ! <Reference ! Name = "Spring.Aop.Tests" ! Project = "{2111596A-0327-4C9D-8919-294FBD988A23}" ! Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" ! /> ! </References> ! </Build> ! <Files> ! <Include> ! <File ! RelPath = "AssemblyInfo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Spring.Core.Tests.build" ! BuildAction = "None" ! /> ! <File ! RelPath = "Spring.Core.Tests.dll.config" ! BuildAction = "None" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\concurrent.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\leaf.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\middle.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\root.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Config\ObjectFactoryCreatingFactoryObjectTests.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\autowire.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\child.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\classnotfound.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\collections.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\constructor-arg.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\default-autowire.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\default-lazy-init.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\dependenciesmaterializethis.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\factorycircle.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\initializers.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\invalid.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\invalid-factory.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\notfullyspecified.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\parent.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\reftypes.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\resource.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedalldependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedobjectdependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedsimpledependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\test.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedalldependencycheckmissingobjects.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedAllDependencyCheckMissingSimple.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedobjectdependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedsimpledependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Objects\DerivedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\IndexedTestBean.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\INestedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\ITestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\NestedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\ObjectWrapperTestSuite.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\TestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\AbstractListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\AbstractObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\DefaultListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\DummyFactory.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\HasMap.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\KnowsIfInstantiated.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\LifecycleObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\MustBeInitialized.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\ObjectFactoryUtilsTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\ConstructorArgumentValuesTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\MethodInvokingFactoryObjectTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\ObjectFactoryCreatingFactoryObjectTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\ConstructorDependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DerivedConstructorDependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyBo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyDao.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyReferencer.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\IDummyBo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\MixedCollectionObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\ReadOnlyXmlTestResource.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlObjectDefinitionReaderTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\LinkedListTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\StringUtilTestSuite.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\TypeAliasResolverTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! </Include> ! </Files> ! </CSHARP> ! </VisualStudioProject> ! --- 1,423 ---- ! <VisualStudioProject> ! <CSHARP ! ProjectType = "Local" ! ProductVersion = "7.10.3077" ! SchemaVersion = "2.0" ! ProjectGuid = "{44B16BAA-6DF8-447C-9D7F-3AD3D854D904}" ! > ! <Build> ! <Settings ! ApplicationIcon = "" ! AssemblyKeyContainerName = "" ! AssemblyName = "Spring.Core.Tests" ! AssemblyOriginatorKeyFile = "" ! DefaultClientScript = "JScript" ! DefaultHTMLPageLayout = "Grid" ! DefaultTargetSchema = "IE50" ! DelaySign = "false" ! OutputType = "Library" ! PreBuildEvent = "" ! PostBuildEvent = "" ! RootNamespace = "Spring" ! RunPostBuildEvent = "OnBuildSuccess" ! StartupObject = "" ! > ! <Config ! Name = "Debug" ! AllowUnsafeBlocks = "false" ! BaseAddress = "285212672" ! CheckForOverflowUnderflow = "false" ! ConfigurationOverrideFile = "" ! DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "" ! DebugSymbols = "true" ! FileAlignment = "4096" ! IncrementalBuild = "false" ! NoStdLib = "false" ! NoWarn = "" ! Optimize = "false" ! OutputPath = "..\..\..\build\VS.Net\Spring.Core.Tests\Debug\" ! RegisterForComInterop = "false" ! RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" ! WarningLevel = "4" ! /> ! <Config ! Name = "Release" ! AllowUnsafeBlocks = "false" ! BaseAddress = "285212672" ! CheckForOverflowUnderflow = "false" ! ConfigurationOverrideFile = "" ! DefineConstants = "TRACE" ! DocumentationFile = "" ! DebugSymbols = "false" ! FileAlignment = "4096" ! IncrementalBuild = "false" ! NoStdLib = "false" ! NoWarn = "" ! Optimize = "true" ! OutputPath = "..\..\..\build\VS.Net\Release\" ! RegisterForComInterop = "false" ! RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" ! WarningLevel = "4" ! /> ! </Settings> ! <References> ! <Reference ! Name = "System" ! AssemblyName = "System" ! /> ! <Reference ! Name = "Spring.Core" ! Project = "{710961A3-0DF4-49E4-A26E-F5B9C044AC84}" ! Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" ! Private = "True" ! /> ! <Reference ! Name = "nunit.framework" ! AssemblyName = "nunit.framework" ! HintPath = "..\..\..\lib\Net\1.1\nunit.framework.dll" ! /> ! <Reference ! Name = "System.Data" ! AssemblyName = "System.Data" ! HintPath = "..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" ! /> ! <Reference ! Name = "System.XML" ! AssemblyName = "System.Xml" ! HintPath = "..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" ! /> ! <Reference ! Name = "Iesi.Collections" ! AssemblyName = "Iesi.Collections" ! HintPath = "..\..\..\lib\Iesi.Collections.dll" ! /> ! <Reference ! Name = "Spring.Aop.Tests" ! Project = "{2111596A-0327-4C9D-8919-294FBD988A23}" ! Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" ! /> ! </References> ! </Build> ! <Files> ! <Include> ! <File ! RelPath = "AssemblyInfo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Spring.Core.Tests.build" ! BuildAction = "None" ! /> ! <File ! RelPath = "Spring.Core.Tests.dll.config" ! BuildAction = "None" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\concurrent.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\leaf.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\middle.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\root.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Config\ObjectFactoryCreatingFactoryObjectTests.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\autowire.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\child.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\classnotfound.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\collections.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\constructor-arg.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\default-autowire.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\default-lazy-init.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\dependenciesmaterializethis.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\factorycircle.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\initializers.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\invalid.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\invalid-factory.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\notfullyspecified.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\parent.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\reftypes.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\resource.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedalldependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedobjectdependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedsimpledependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\test.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedalldependencycheckmissingobjects.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedAllDependencyCheckMissingSimple.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedobjectdependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedsimpledependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Objects\DerivedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\IndexedTestBean.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\INestedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\ITestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\NestedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\ObjectUtilsTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\ObjectWrapperTestSuite.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\TestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\AbstractListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\AbstractObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\DefaultListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\DummyFactory.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\HasMap.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\KnowsIfInstantiated.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\LifecycleObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\MustBeInitialized.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\ObjectFactoryUtilsTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\ConstructorArgumentValuesTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\MethodInvokingFactoryObjectTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\ObjectFactoryCreatingFactoryObjectTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\ConstructorDependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DerivedConstructorDependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyBo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyDao.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyReferencer.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\IDummyBo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\MixedCollectionObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\ReadOnlyXmlTestResource.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlObjectDefinitionReaderTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\TypeConverters\RuntimeTypeConverterTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\LinkedListTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\StringUtilTestSuite.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\TypeAliasResolverTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\TypeResolverTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! </Include> ! </Files> ! </CSHARP> ! </VisualStudioProject> Index: Spring.Core.Tests.dll.config =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Spring.Core.Tests.dll.config,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Spring.Core.Tests.dll.config 16 Jul 2004 14:06:17 -0000 1.1 --- Spring.Core.Tests.dll.config 26 Jul 2004 07:42:53 -0000 1.2 *************** *** 18,22 **** <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net-net-1.0" /> ! <section name="spring-objects" type="Spring.Objects.Factory.Xml.ObjectsDefinitionConfigResource, Spring.Core" /> </configSections> <spring-objects> --- 18,22 ---- <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net-net-1.0" /> ! <section name="spring-objects" type="Spring.Objects.Factory.Xml.XmlConfigObjectFactoryHandler, Spring.Core" /> </configSections> <spring-objects> |
From: Springboy <spr...@us...> - 2004-07-26 07:43:33
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Objects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17585/Spring/Spring.Core.Tests/Objects Modified Files: ObjectWrapperTestSuite.cs Added Files: ObjectUtilsTests.cs Log Message: Unit tests for the all of the new classes added in the previous commit. --- NEW FILE: ObjectUtilsTests.cs --- #region Licence /* * Copyright 2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #endregion #region Imports using System; using System.Reflection; using NUnit.Framework; #endregion namespace Spring.Objects { /// <summary> /// Unit tests for the ObjectUtils class. /// </summary> /// <author>Rick Evans (.NET)</author> /// <version>$Id: ObjectUtilsTests.cs,v 1.1 2004/07/26 07:42:53 springboy Exp $</version> [TestFixture] public class ObjectUtilsTests { [Test] public void InstantiateType () { object foo = ObjectUtils.InstantiateType (typeof (TestObject)); Assert.IsNotNull (foo, "Failed to instantiate an instance of a valid Type."); Assert.IsTrue (foo is TestObject, "The instanintiared intance was an instance of the type that was passed in."); } [Test] [ExpectedException (typeof (FatalObjectException))] public void InstantiateTypeWithAbstractType () { ObjectUtils.InstantiateType (typeof (AbstractType)); } [Test] [ExpectedException (typeof (FatalObjectException))] public void InstantiateTypeWithInterfaceType () { ObjectUtils.InstantiateType (typeof (System.Collections.IList)); } [Test] [ExpectedException (typeof (FatalObjectException))] public void InstantiateTypeWithBadType () { ObjectUtils.InstantiateType (typeof (NoZeroArgConstructorType)); } [Test] public void InstantiateByCtorWithNoArgs () { Type type = typeof (TestObject); ConstructorInfo ctor = type.GetConstructor (Type.EmptyTypes); object foo = ObjectUtils.InstantiateType (ctor, new object [] {}); Assert.IsNotNull (foo, "Failed to instantiate an instance of a valid Type."); Assert.IsTrue (foo is TestObject, "The instanintiared intance was an instance of the type that was passed in."); } [Test] public void InstantiateByCtorArgs () { Type type = typeof (TestObject); ConstructorInfo ctor = type.GetConstructor (new Type [] {typeof (string), typeof (int)}); object foo = ObjectUtils.InstantiateType (ctor, new object [] {"Yakov Petrovich Golyadkin", 39}); Assert.IsNotNull (foo, "Failed to instantiate an instance of a valid Type."); Assert.IsTrue (foo is TestObject, "The instanintiared intance was an instance of the type that was passed in."); TestObject obj = foo as TestObject; Assert.AreEqual ("Yakov Petrovich Golyadkin", obj.Name); Assert.AreEqual (39, obj.Age); } [Test] [ExpectedException (typeof (FatalObjectException))] public void InstantiateByBadCtorArgs () { Type type = typeof (TestObject); ConstructorInfo ctor = type.GetConstructor (new Type [] {typeof (Missing), typeof (bool)}); object foo = ObjectUtils.InstantiateType (ctor, new object [] {"Yakov Petrovich Golyadkin", 39}); } [Test] public void IsSimpleProperty () { Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (string))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (long))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (bool))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (int))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (float))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (ushort))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (double))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (ulong))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (char))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (uint))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (string []))); Assert.IsTrue (ObjectUtils.IsSimpleProperty (typeof (Type))); Assert.IsFalse (ObjectUtils.IsSimpleProperty (typeof (TestObject))); Assert.IsFalse (ObjectUtils.IsSimpleProperty (typeof (System.Collections.IList []))); } /// <summary> /// A class that doesn&t have a parameterless constructor. /// </summary> private class NoZeroArgConstructorType { /// <summary> /// Creates a new instance of the NoZeroArgConstructorType class. /// </summary> /// <param name="foo">A spurious argument (ignored).</param> public NoZeroArgConstructorType (string foo) {} } /// <summary> /// An abstract class. /// </summary> private abstract class AbstractType { /// <summary> /// Creates a new instance of the AbstractType class. /// </summary> public AbstractType () {} } } } Index: ObjectWrapperTestSuite.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Objects/ObjectWrapperTestSuite.cs,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** ObjectWrapperTestSuite.cs 21 Jul 2004 03:37:18 -0000 1.18 --- ObjectWrapperTestSuite.cs 26 Jul 2004 07:42:53 -0000 1.19 *************** *** 193,197 **** { IObjectWrapper ow = new ObjectWrapper(t); - Console.WriteLine(ow); MutablePropertyValues pvs = new MutablePropertyValues(); pvs.AddPropertyValue(new PropertyValue("Age", (object) newAge)); --- 193,196 ---- |
From: Springboy <spr...@us...> - 2004-07-26 07:43:33
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Objects/Factory/Xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17585/Spring/Spring.Core.Tests/Objects/Factory/Xml Modified Files: XmlObjectFactoryTests.cs Log Message: Unit tests for the all of the new classes added in the previous commit. Index: XmlObjectFactoryTests.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Objects/Factory/Xml/XmlObjectFactoryTests.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** XmlObjectFactoryTests.cs 16 Jul 2004 14:06:17 -0000 1.3 --- XmlObjectFactoryTests.cs 26 Jul 2004 07:42:53 -0000 1.4 *************** *** 22,25 **** --- 22,26 ---- using System; + using System.Configuration; using System.Data; using System.IO; *************** *** 50,58 **** [Test] ! public virtual void LoadFromConfigFile () { ! XmlObjectFactory xbf = new XmlObjectFactory (); ! xbf.LoadObjectDefinitionsFromConfig (); ! Assert.IsTrue (xbf.ObjectDefinitionCount == 4); } --- 51,64 ---- [Test] ! public void LoadFromConfig () { ! IObjectFactory factory ! = ConfigurationSettings.GetConfig ("spring-objects") as IObjectFactory; ! Assert.IsNotNull (factory, "Factory loaded from config was null."); ! Assert.IsTrue (factory is IConfigurableListableObjectFactory); ! IConfigurableListableObjectFactory clof ! = factory as IConfigurableListableObjectFactory; ! Assert.IsTrue (clof.ObjectDefinitionCount == 4); ! Assert.IsNotNull (factory ["foo"]); } *************** *** 963,970 **** [Test] ! [ExpectedException (typeof (ObjectDefinitionException))] public virtual void FactoryObjectDefinedAsPrototype () { ! XmlObjectFactory xbf = new XmlObjectFactory (new ReadOnlyXmlTestResource ("invalid-factory.xml", GetType ())); } --- 969,977 ---- [Test] ! [ExpectedException (typeof (ObjectDefinitionStoreException))] public virtual void FactoryObjectDefinedAsPrototype () { ! XmlObjectFactory xbf = new XmlObjectFactory ( ! new ReadOnlyXmlTestResource ("invalid-factory.xml", GetType ())); } |
From: Springboy <spr...@us...> - 2004-07-26 07:43:33
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Data/Spring/Objects/Factory/Xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17585/Spring/Spring.Core.Tests/Data/Spring/Objects/Factory/Xml Modified Files: invalid-factory.xml Log Message: Unit tests for the all of the new classes added in the previous commit. Index: invalid-factory.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Data/Spring/Objects/Factory/Xml/invalid-factory.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** invalid-factory.xml 12 Jul 2004 07:48:16 -0000 1.3 --- invalid-factory.xml 26 Jul 2004 07:42:53 -0000 1.4 *************** *** 3,7 **** <objects> ! <object id="invalidFactory" class="Spring.Objects.Factory.DummyFactory" singleton="false"> <property name="singleton"> <value>false</value> --- 3,7 ---- <objects> ! <object id="invalidFactory" class="Spring.Objects.Factory.DummyFactory, Spring.Core.Tests" singleton="false"> <property name="singleton"> <value>false</value> |
From: Springboy <spr...@us...> - 2004-07-26 07:43:23
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17585/Spring/Spring.Core.Tests/Util Modified Files: StringUtilTestSuite.cs Added Files: TypeResolverTests.cs Log Message: Unit tests for the all of the new classes added in the previous commit. --- NEW FILE: TypeResolverTests.cs --- #region Licence /* * Copyright 2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #endregion #region Imports using System; using NUnit.Framework; #endregion namespace Spring.Util { /// <summary> /// Unit tests for the TypeResolver class. /// </summary> /// <author>Rick Evans (.NET)</author> /// <version>$Id: TypeResolverTests.cs,v 1.1 2004/07/26 07:43:10 springboy Exp $</version> [TestFixture] public class TypeResolverTests { [Test] public void ResolveLocalAssemblyType () { Type t = new TypeResolver ().Resolve ("Spring.Objects.TestObject"); Assert.AreEqual (typeof (Spring.Objects.TestObject), t); } [Test] public void ResolveWithPartialAssemblyName () { Type t = new TypeResolver ().Resolve ("System.Data.IDbConnection, System.Data"); Assert.AreEqual (typeof (System.Data.IDbConnection), t); } [Test] public void ResolveAliasedType () { Type t = new TypeResolver ().Resolve ("string"); Assert.AreEqual (typeof (string), t); } /// <summary> /// Tests that the resolve method throws the correct exception /// when supplied a load of old rubbish as a type name. /// </summary> [Test] [ExpectedException (typeof (TypeLoadException))] public void ResolveRaskolnikovsDilemma () { Type t = new TypeResolver ().Resolve ("RaskolnikovsDilemma, System.StPetersburg"); } [Test] [ExpectedException (typeof (TypeLoadException), "Could not load type with a null or zero length parameter.")] public void ResolveBadArgs () { Type t = new TypeResolver ().Resolve (null); } } } Index: StringUtilTestSuite.cs =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Util/StringUtilTestSuite.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** StringUtilTestSuite.cs 1 May 2004 06:15:43 -0000 1.3 --- StringUtilTestSuite.cs 26 Jul 2004 07:43:10 -0000 1.4 *************** *** 1,11 **** /* * Copyright 2002-2004 the original author or authors. ! * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ! * * http://www.apache.org/licenses/LICENSE-2.0 ! * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, --- 1,13 ---- + #region Licence + /* * Copyright 2002-2004 the original author or authors. ! * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ! * * http://www.apache.org/licenses/LICENSE-2.0 ! * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, *************** *** 13,36 **** * See the License for the specific language governing permissions and * limitations under the License. ! */ using System; using NUnit.Framework; namespace Spring.Util { ! /// <summary> ! /// Test StringUtils functionality. ! /// </summary> ! /// <author>Aleksandar Seovic</author> ! /// <version>$Id$</version> ! [TestFixture] public class StringUtilTestSuite ! { ! public StringUtilTestSuite() ! { ! } ! /// <summary> ! /// Tests StringUtils.CountOccurrencesOf /// </summary> [Test] --- 15,42 ---- * See the License for the specific language governing permissions and * limitations under the License. ! */ ! ! #endregion ! ! #region Imports ! using System; using NUnit.Framework; + #endregion + namespace Spring.Util { ! /// <summary> ! /// Test StringUtils functionality. ! /// </summary> ! /// <author>Aleksandar Seovic</author> ! /// <author>Rick Evans (.NET)</author> ! /// <version>$Id$</version> ! [TestFixture] public class StringUtilTestSuite ! { /// <summary> ! /// Tests StringUtils.CountOccurrencesOf. /// </summary> [Test] *************** *** 50,54 **** /// <summary> ! /// Tests StringUtils.Delete /// </summary> [Test] --- 56,60 ---- /// <summary> ! /// Tests StringUtils.Delete. /// </summary> [Test] *************** *** 69,73 **** /// <summary> ! /// Tests StringUtils.DeleteAny /// </summary> [Test] --- 75,79 ---- /// <summary> ! /// Tests StringUtils.DeleteAny. /// </summary> [Test] *************** *** 88,92 **** /// <summary> ! /// Tests StringUtils.Split /// </summary> [Test] --- 94,98 ---- /// <summary> ! /// Tests StringUtils.Split. /// </summary> [Test] *************** *** 110,114 **** /// <summary> ! /// Tests StringUtils.HasLength /// </summary> [Test] --- 116,120 ---- /// <summary> ! /// Tests StringUtils.HasLength. /// </summary> [Test] *************** *** 122,126 **** /// <summary> ! /// Tests StringUtils.HasText /// </summary> [Test] --- 128,132 ---- /// <summary> ! /// Tests StringUtils.HasText. /// </summary> [Test] *************** *** 135,139 **** /// <summary> ! /// Tests StringUtils.Unqualify /// </summary> [Test] --- 141,145 ---- /// <summary> ! /// Tests StringUtils.Unqualify. /// </summary> [Test] *************** *** 147,151 **** /// <summary> ! /// Tests StringUtils.Uncapitalize /// </summary> [Test] --- 153,157 ---- /// <summary> ! /// Tests StringUtils.Uncapitalize. /// </summary> [Test] *************** *** 159,162 **** --- 165,221 ---- } + /// <summary> + /// Tests StringUtils.AddStringToArray. + /// </summary> + [Test] + public void AddStringToArrayTests () + { + string [] arr = new string [] {"Foo", "Bar"}; + string [] res1 = new string [] {"Foo", "Bar", "Baz"}; + + Assert.IsTrue ( + ArrayUtils.AreEqual (res1, StringUtils.AddStringToArray (arr, "Baz"))); + Assert.IsTrue ( + ArrayUtils.AreEqual (arr, StringUtils.AddStringToArray (arr, null)), "Added null string, so should've got the original array back."); + } + + /// <summary> + /// Tests StringUtils.CollectionToDelimitedString. + /// </summary> + [Test] + public void CollectionToDelimitedString () + { + Foo [] arr = new Foo [] {new Foo ("Foo"), new Foo ("Bar")}; + Assert.AreEqual ( + ":Foo,:Bar", StringUtils.CollectionToCommaDelimitedString (arr)); + } + + /// <summary> + /// Tests StringUtils.CollectionToDelimitedString. + /// </summary> + [Test] + public void ArrayToDelimitedString () + { + Foo [] arr = new Foo [] {new Foo ("Foo"), new Foo ("Bar")}; + Assert.AreEqual ( + ":Foo,:Bar", StringUtils.ArrayToCommaDelimitedString (arr)); + Assert.AreEqual ("null", StringUtils.ArrayToCommaDelimitedString (null)); + } + + private class Foo + { + + public Foo (string bar) + { + _bar = bar; + } + + public override string ToString () + { + return ":" + _bar; + } + + private string _bar; + } } } |
From: Springboy <spr...@us...> - 2004-07-26 07:43:19
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Objects/TypeConverters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17585/Spring/Spring.Core.Tests/Objects/TypeConverters Added Files: RuntimeTypeConverterTests.cs Log Message: Unit tests for the all of the new classes added in the previous commit. --- NEW FILE: RuntimeTypeConverterTests.cs --- #region Licence /* * Copyright 2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #endregion #region Imports using System; using NUnit.Framework; #endregion namespace Spring.Objects.TypeConverters { /// <summary> /// Unit tests for the RuntimeTypeConverter class. /// </summary> [TestFixture] public class RuntimeTypeConverterTests { [Test] public void CanConvertFrom () { RuntimeTypeConverter cnv = new RuntimeTypeConverter (); Assert.IsTrue (cnv.CanConvertFrom (typeof (string)), "Mmm... I can't convert froma string to a Type, which is the main point of this custom converter. :("); Assert.IsFalse (cnv.CanConvertFrom (GetType ()), "Mmm... managed to convert top a Type from a Type of this test. Boing!"); } [Test] public void ConvertFromString () { RuntimeTypeConverter cnv = new RuntimeTypeConverter (); object foo = cnv.ConvertFrom ("System.String"); Assert.IsNotNull (foo); Assert.AreEqual ("System.RuntimeType", foo.GetType ().FullName); } [Test] public void ConvertToString () { RuntimeTypeConverter cnv = new RuntimeTypeConverter (); object foo = cnv.ConvertTo (typeof (string), typeof (string)); Assert.IsNotNull (foo); Assert.AreEqual (typeof (string).AssemblyQualifiedName, foo); } } } |
From: Springboy <spr...@us...> - 2004-07-26 07:41:44
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/Factory/Xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17448 Removed Files: ObjectsDefinitionConfigResource.cs Log Message: Load of old pants... need SpecialCaseResource for Resources that don't exist. --- ObjectsDefinitionConfigResource.cs DELETED --- |
From: Springboy <spr...@us...> - 2004-07-26 07:40:46
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/Factory/Xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17342 Added Files: XmlConfigObjectFactoryHandler.cs Log Message: Convenience class to instantiate & populate an IObjectFactory from config file. --- NEW FILE: XmlConfigObjectFactoryHandler.cs --- #region Licence /* * Copyright 2002-2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #endregion #region Imports using System; using System.Xml; using System.Configuration; using Spring.Util; using Spring.Core.IO; using Spring.Objects; using Spring.Objects.Factory.Support; #endregion namespace Spring.Objects.Factory.Xml { /// <summary> /// Creates a <see cref="Spring.Objects.Factory.IObjectFactory"/> instance /// populated with the object definitions supplied in the configuration /// section. /// </summary> /// <author>Rick Evans (.NET)</author> /// <version>$Id: XmlConfigObjectFactoryHandler.cs,v 1.1 2004/07/26 07:40:37 springboy Exp $</version> public class XmlConfigObjectFactoryHandler : IConfigurationSectionHandler { #region Constants private static readonly string DefaultObjectFactoryType = typeof (DefaultListableObjectFactory).AssemblyQualifiedName; #endregion #region Constructor (s) / Destructor /// <summary> /// Creates a new instance of the XmlConfigObjectFactoryHandler class. /// </summary> public XmlConfigObjectFactoryHandler () {} #endregion #region Properties /// <summary> /// The full, assembly qualified name of the /// <see cref="Spring.Objects.Factory.IObjectFactory"/> instance that is to be /// populated with object definitions pulled from a configuration section. /// </summary> /// <remarks> /// <p> /// The name must refer to an <see cref="Spring.Objects.Factory.IObjectFactory"/> /// implementation that also implements the /// <see cref="Spring.Objects.Factory.Support.IObjectDefinitionRegistry"/> /// interface. /// </p> /// </remarks> protected string ObjectFactoryTypeName { get { return _factoryTypeName; } set { if (StringUtils.HasText (value)) { _factoryTypeName = value; } } } #endregion #region Methods /// <summary> /// Creates a <see cref="Spring.Objects.Factory.IObjectFactory"/> instance /// populated with the object definitions supplied in the configuration /// section. /// </summary> /// <param name="parent"> /// The configuration settings in a corresponding parent /// configuration section. /// </param> /// <param name="configContext"> /// The configuration context when called from the ASP.NET /// configuration system. Otherwise, this parameter is reserved and /// is a null reference. /// </param> /// <param name="section"> /// The <see cref="System.Xml.XmlNode"/> for the section. /// </param> /// <returns> /// A <see cref="Spring.Objects.Factory.IObjectFactory"/> instance /// populated with the object definitions supplied in the configuration /// section. /// </returns> public object Create (object parent, object configContext, XmlNode section) { IObjectFactory factory = InstantiateFactory (); XmlObjectDefinitionReader reader = new XmlObjectDefinitionReader (factory as IObjectDefinitionRegistry); reader.RegisterObjectDefinitions ( section as XmlElement, new ObjectsDefinitionConfigResource (section.Name)); return factory; } /// <summary> /// Instantiate the <see cref="Spring.Objects.Factory.IObjectFactory"/> instance /// that is to be populated with object definitions pulled from a configuration /// section. /// </summary> /// <returns> /// A <see cref="Spring.Objects.Factory.IObjectFactory"/> instance. /// </returns> protected virtual IObjectFactory InstantiateFactory () { return ObjectUtils.InstantiateType ( ObjectUtils.ResolveType (ObjectFactoryTypeName)) as IObjectFactory; } #endregion #region Fields private string _factoryTypeName = DefaultObjectFactoryType; #endregion private class ObjectsDefinitionConfigResource : IResource { #region Constructor (s) / Destructor /// <summary> /// Creates a new instance of the ObjectsDefinitionConfigResource class. /// </summary> /// <param name="configurationSection"> /// The name of the configuration section that this resource is serving up. /// </param> public ObjectsDefinitionConfigResource (string configurationSection) { SetDescription (configurationSection); } #endregion #region IResource Members public bool IsOpen { get { return false; } } public Uri URL { get { return null; } } public System.IO.FileInfo File { get { return null; } } public string Description { get { return _description; } } public bool Exists { get { return false; } } #endregion #region IInputStreamSource Members public System.IO.Stream InputStream { get { return null; } } #endregion #region Methods /// <summary> /// Sets the description of this configuration section resource. /// </summary> /// <param name="configurationSection"> /// The name of the configuration section. /// </param> private void SetDescription (string configurationSection) { _description = "[Configuration File Section] : " + configurationSection; } #endregion #region Fields private string _description; #endregion } } } |
From: Springboy <spr...@us...> - 2004-07-26 07:39:04
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Objects/TypeConverters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17164 Added Files: RuntimeTypeConverter.cs Log Message: Converter for runtime type Types (used in and registered with ObjectWrapper) --- NEW FILE: RuntimeTypeConverter.cs --- #region Licence /* * Copyright 2002-2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #endregion #region Imports using System; using System.Globalization; using System.ComponentModel; using Spring.Util; #endregion namespace Spring.Objects.TypeConverters { /// <summary> /// A custom <see cref="System.ComponentModel.TypeConverter"/> for /// runtime type references. /// </summary> /// <remarks> /// <p> /// Currently only supports conversion to and from a /// <see cref="System.String"/>. /// </p> /// </remarks> /// <author>Rick Evans (.NET)</author> /// <version>$Id: RuntimeTypeConverter.cs,v 1.1 2004/07/26 07:38:53 springboy Exp $</version> public class RuntimeTypeConverter : TypeConverter { #region Constructor (s) / Destructor /// <summary> /// Creates a new instance of the /// <see cref="Spring.Objects.TypeConverters.RuntimeTypeConverter"/> class. /// </summary> public RuntimeTypeConverter () {} #endregion #region Methods /// <summary> /// Returns whether this converter can convert an object of one /// <see cref="System.Type"/> to the <see cref="System.Type"/> /// of this converter. /// </summary> /// <remarks> /// <p> /// Currently only supports conversion from a /// <see cref="System.String"/> instance. /// </p> /// </remarks> /// <param name="context"> /// A <see cref="System.ComponentModel.ITypeDescriptorContext"/> /// that provides a format context. /// </param> /// <param name="sourceType"> /// A <see cref="System.Type"/> that represents the /// <see cref="System.Type"/> you want to convert from. /// </param> /// <returns>True if the conversion is possible.</returns> public override bool CanConvertFrom ( ITypeDescriptorContext context, Type sourceType) { if (sourceType == typeof (string)) { return true; } return base.CanConvertFrom (context, sourceType); } /// <summary> /// Converts the given value to the type of this converter. /// </summary> /// <param name="context"> /// A <see cref="System.ComponentModel.ITypeDescriptorContext"/> /// that provides a format context. /// </param> /// <param name="culture"> /// The <see cref="System.Globalization.CultureInfo"/> to use /// as the current culture. /// </param> /// <param name="value"> /// The value that is to be converted. /// </param> /// <returns> /// An <see cref="System.Object"/> that represents the converted value. /// </returns> public override object ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value) { if (value is string) { return ObjectUtils.ResolveType (value as string); } return base.ConvertFrom (context, culture, value); } /// <summary> /// Converts the given value object to the specified type, /// using the specified context and culture information. /// </summary> /// <param name="context"> /// A <see cref="System.ComponentModel.ITypeDescriptorContext"/> /// that provides a format context. /// </param> /// <param name="culture"> /// The <see cref="System.Globalization.CultureInfo"/> to use /// as the current culture. /// </param> /// <param name="value"> /// The value that is to be converted. /// </param> /// <param name="destinationType"> /// The <see cref="System.Type"/> to convert the /// <paramref name="value"/> parameter to. /// </param> /// <returns> /// An <see cref="System.Object"/> that represents the converted value. /// </returns> public override object ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { if (value is Type && destinationType == typeof (string)) { return ((Type) value).AssemblyQualifiedName; } return base.ConvertTo (context, culture, value, destinationType); } #endregion } } |
From: Springboy <spr...@us...> - 2004-07-26 07:37:22
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16977 Added Files: CachedTypeResolver.cs Log Message: Decorator for the TypeResolver class that implements typename -> Type mapping cache. --- NEW FILE: CachedTypeResolver.cs --- #region Licence /* * Copyright 2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #endregion #region Imports using System; using System.Collections; using System.Collections.Specialized; #endregion namespace Spring.Util { /// <summary> /// Resolves (instantiates) a <see cref="System.Type"/> /// by it's (possibly assembly qualified) name, and caches the /// <see cref="System.Type"/> instance against the name. /// </summary> /// <version>$Id: CachedTypeResolver.cs,v 1.1 2004/07/26 07:37:13 springboy Exp $</version> public class CachedTypeResolver : TypeResolver { #region Constructor (s) / Destructor /// <summary> /// Creates a new instance of the CachedTypeResolver class. /// </summary> public CachedTypeResolver () {} #endregion #region Properties /// <summary> /// The cache, mapping type names against a <see cref="System.Type"/> /// instance. /// </summary> private IDictionary TypeCache { get { return typeCache; } } #endregion #region Methods /// <summary> /// Resolves the supplied type name into a <see cref="System.Type"/> /// instance. /// </summary> /// <param name="typeName"> /// The (possibly partially assembly qualified) name of a <see cref="System.Type"/>. /// </param> /// <returns> /// A resolved <see cref="System.Type"/> instance. /// </returns> /// <exception cref="System.TypeLoadException"> /// If the type could not be resolved. /// </exception> public override Type Resolve (string typeName) { Type type = TypeCache [typeName] as Type; if (type == null) { type = base.Resolve (typeName); if (type != null) { TypeCache [typeName] = type; } } return type; } /// <summary> /// Clears the cache of <see cref="System.Type"/> instances /// to <see cref="System.Type"/> names. /// </summary> public void Clear () { TypeCache.Clear (); } #endregion #region Fields private IDictionary typeCache = new HybridDictionary (); #endregion } } |
From: Springboy <spr...@us...> - 2004-07-26 07:36:22
|
Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16857 Added Files: TypeResolver.cs Log Message: Merged Federico & Simon's Type resolution code into this class. --- NEW FILE: TypeResolver.cs --- #region Licence /* * Copyright 2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #endregion #region Imports using System; using System.Reflection; #endregion namespace Spring.Util { /// <summary> /// Resolves a <see cref="System.Type"/> by name. /// </summary> /// <remarks> /// <p> /// The rationale behind the creation of this class is to centralise the /// resolution of type names to <see cref="System.Type"/> instances beyond that /// offered by the plain vanilla <see cref="System.Type.GetType"/> method call. /// </p> /// </remarks> /// <version>$Id: TypeResolver.cs,v 1.1 2004/07/26 07:36:13 springboy Exp $</version> public class TypeResolver { #region Constructor (s) / Destructor /// <summary> /// Creates a new instance of the TypeResolver class. /// </summary> public TypeResolver () {} #endregion #region Methods /// <summary> /// Resolves the supplied type name into a <see cref="System.Type"/> /// instance. /// </summary> /// <param name="typeName"> /// The (possibly partially assembly qualified) name of a <see cref="System.Type"/>. /// </param> /// <returns> /// A resolved <see cref="System.Type"/> instance. /// </returns> /// <exception cref="System.TypeLoadException"> /// If the type could not be resolved. /// </exception> public virtual Type Resolve (string typeName) { #region Sanity Check if (!StringUtils.HasText (typeName)) { throw new TypeLoadException ( "Could not load type with a null or zero length parameter."); } #endregion Type type = null; string cononicalTypeName = TypeAliasResolver.Resolve (typeName); TypeAssemblyInfo typeInfo = new TypeAssemblyInfo (cononicalTypeName); if (typeInfo.IsAssemblyQualified) { // assembly qualified... load the assembly, then the Type Assembly ass = Assembly.LoadWithPartialName (typeInfo.AssemblyName); if (ass != null) { type = ass.GetType (typeInfo.TypeName, true, true); } } else { // bare type name... loop thru all loaded assemblies Assembly [] asses = AppDomain.CurrentDomain.GetAssemblies (); foreach (Assembly ass in asses) { type = ass.GetType (typeInfo.TypeName, false, false); if (type != null) { break; } } } if (type == null) { throw new TypeLoadException ( "Could not load type : " + typeName); } return type; } #endregion #region Inner Class : TypeAssemblyInfo /// <summary> /// Holds data about a <see cref="System.Type"/> and it's /// attendant <see cref="System.Reflection.Assembly"/>. /// </summary> private class TypeAssemblyInfo { #region Constants /// <summary> /// The string that separates <see cref="System.Type"/> names /// from their attendant <see cref="System.Reflection.Assembly"/> /// names in an assembly qualified type name. /// </summary> public const string TypeAssemblySeparator = ","; #endregion #region Constructor (s) / Destructor /// <summary> /// Creates a new instance of the TypeAssemblyInfo class. /// </summary> /// <param name="unresolvedTypeName"> /// The unresolved name of a <see cref="System.Type"/>. /// </param> public TypeAssemblyInfo (string unresolvedTypeName) { OriginalTypeName = unresolvedTypeName; } #endregion #region Properties /// <summary> /// The original type name that is to be resolved. /// </summary> private string OriginalTypeName { get { return originalTypeName; } set { originalTypeName = value; if (StringUtils.HasText (originalTypeName)) { int typeAssemblyIndex = originalTypeName.IndexOf (","); if (typeAssemblyIndex < 0) { unresolvedTypeName = originalTypeName; } else { unresolvedTypeName = originalTypeName.Substring ( 0, typeAssemblyIndex).Trim (); unresolvedAssemblyName = originalTypeName.Substring ( typeAssemblyIndex + 1).Trim (); } } } } /// <summary> /// The (unresolved) type name portion of the original type name. /// </summary> public string TypeName { get { return unresolvedTypeName; } } /// <summary> /// The (unresolved, possibly partial) name of the attandant assembly. /// </summary> public string AssemblyName { get { return unresolvedAssemblyName; } } /// <summary> /// Is the type name being reolved assembly qualified? /// </summary> public bool IsAssemblyQualified { get { return StringUtils.HasText (AssemblyName); } } #endregion #region Fields private string originalTypeName; private string unresolvedAssemblyName; private string unresolvedTypeName; #endregion } #endregion } } |
From: Springboy <spr...@us...> - 2004-07-26 07:35:06
|
Update of /cvsroot/springnet/Spring.Net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16672 Modified Files: Spring.build Log Message: Documentation (NDoc) target no longer includes test projects in the API output. Index: Spring.build =================================================================== RCS file: /cvsroot/springnet/Spring.Net/Spring.build,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Spring.build 16 Jul 2004 13:57:51 -0000 1.3 --- Spring.build 26 Jul 2004 07:34:58 -0000 1.4 *************** *** 101,104 **** --- 101,105 ---- <assemblies basedir="${build.dir}/bin"> <includes name="Spring.*.dll" /> + <excludes name="*Test*.dll" /> </assemblies> <documenters> |
From: Springboy <spr...@us...> - 2004-07-26 07:30:03
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Objects/TypeConverters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15968/TypeConverters Log Message: Directory /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Objects/TypeConverters added to the repository |
From: Mark P. <mar...@us...> - 2004-07-23 15:25:13
|
Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28892/test/Spring/Spring.Core.Tests Modified Files: Spring.Core.Tests.csproj Log Message: add xcopy post-build action to use nunitaddin (also first commit after syncmail activation) Index: Spring.Core.Tests.csproj =================================================================== RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Spring.Core.Tests.csproj,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Spring.Core.Tests.csproj 23 Jul 2004 10:23:51 -0000 1.14 --- Spring.Core.Tests.csproj 23 Jul 2004 15:24:58 -0000 1.15 *************** *** 1,409 **** ! <VisualStudioProject> ! <CSHARP ! ProjectType = "Local" ! ProductVersion = "7.10.3077" ! SchemaVersion = "2.0" ! ProjectGuid = "{44B16BAA-6DF8-447C-9D7F-3AD3D854D904}" ! > ! <Build> ! <Settings ! ApplicationIcon = "" ! AssemblyKeyContainerName = "" ! AssemblyName = "Spring.Core.Tests" ! AssemblyOriginatorKeyFile = "" ! DefaultClientScript = "JScript" ! DefaultHTMLPageLayout = "Grid" ! DefaultTargetSchema = "IE50" ! DelaySign = "false" ! OutputType = "Library" ! PreBuildEvent = "" ! PostBuildEvent = "" ! RootNamespace = "Spring" ! RunPostBuildEvent = "OnBuildSuccess" ! StartupObject = "" ! > ! <Config ! Name = "Debug" ! AllowUnsafeBlocks = "false" ! BaseAddress = "285212672" ! CheckForOverflowUnderflow = "false" ! ConfigurationOverrideFile = "" ! DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "" ! DebugSymbols = "true" ! FileAlignment = "4096" ! IncrementalBuild = "false" ! NoStdLib = "false" ! NoWarn = "" ! Optimize = "false" ! OutputPath = "..\..\..\build\VS.Net\Spring.Core.Tests\Debug\" ! RegisterForComInterop = "false" ! RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" ! WarningLevel = "4" ! /> ! <Config ! Name = "Release" ! AllowUnsafeBlocks = "false" ! BaseAddress = "285212672" ! CheckForOverflowUnderflow = "false" ! ConfigurationOverrideFile = "" ! DefineConstants = "TRACE" ! DocumentationFile = "" ! DebugSymbols = "false" ! FileAlignment = "4096" ! IncrementalBuild = "false" ! NoStdLib = "false" ! NoWarn = "" ! Optimize = "true" ! OutputPath = "..\..\..\build\VS.Net\Release\" ! RegisterForComInterop = "false" ! RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" ! WarningLevel = "4" ! /> ! </Settings> ! <References> ! <Reference ! Name = "System" ! AssemblyName = "System" ! /> ! <Reference ! Name = "Spring.Core" ! Project = "{710961A3-0DF4-49E4-A26E-F5B9C044AC84}" ! Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" ! Private = "True" ! /> ! <Reference ! Name = "nunit.framework" ! AssemblyName = "nunit.framework" ! HintPath = "..\..\..\lib\Net\1.1\nunit.framework.dll" ! /> ! <Reference ! Name = "System.Data" ! AssemblyName = "System.Data" ! HintPath = "..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" ! /> ! <Reference ! Name = "System.XML" ! AssemblyName = "System.Xml" ! HintPath = "..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" ! /> ! <Reference ! Name = "Iesi.Collections" ! AssemblyName = "Iesi.Collections" ! HintPath = "..\..\..\lib\Iesi.Collections.dll" ! /> ! <Reference ! Name = "Spring.Aop.Tests" ! Project = "{2111596A-0327-4C9D-8919-294FBD988A23}" ! Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" ! /> ! </References> ! </Build> ! <Files> ! <Include> ! <File ! RelPath = "AssemblyInfo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Spring.Core.Tests.build" ! BuildAction = "None" ! /> ! <File ! RelPath = "Spring.Core.Tests.dll.config" ! BuildAction = "None" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\concurrent.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\leaf.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\middle.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\root.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Config\ObjectFactoryCreatingFactoryObjectTests.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\autowire.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\child.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\classnotfound.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\collections.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\constructor-arg.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\default-autowire.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\default-lazy-init.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\dependenciesmaterializethis.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\factorycircle.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\initializers.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\invalid.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\invalid-factory.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\notfullyspecified.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\parent.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\reftypes.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\resource.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedalldependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedobjectdependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedsimpledependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\test.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedalldependencycheckmissingobjects.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedAllDependencyCheckMissingSimple.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedobjectdependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedsimpledependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Objects\DerivedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\IndexedTestBean.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\INestedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\ITestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\NestedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\ObjectWrapperTestSuite.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\TestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\AbstractListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\AbstractObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\DefaultListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\DummyFactory.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\HasMap.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\KnowsIfInstantiated.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\LifecycleObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\MustBeInitialized.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\ObjectFactoryUtilsTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\ConstructorArgumentValuesTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\MethodInvokingFactoryObjectTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\ObjectFactoryCreatingFactoryObjectTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\ConstructorDependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DerivedConstructorDependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyBo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyDao.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyReferencer.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\IDummyBo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\MixedCollectionObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\ReadOnlyXmlTestResource.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlObjectDefinitionReaderTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\LinkedListTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\StringUtilTestSuite.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\TypeAliasResolverTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! </Include> ! </Files> ! </CSHARP> ! </VisualStudioProject> ! --- 1,409 ---- ! <VisualStudioProject> ! <CSHARP ! ProjectType = "Local" ! ProductVersion = "7.10.3077" ! SchemaVersion = "2.0" ! ProjectGuid = "{44B16BAA-6DF8-447C-9D7F-3AD3D854D904}" ! > ! <Build> ! <Settings ! ApplicationIcon = "" ! AssemblyKeyContainerName = "" ! AssemblyName = "Spring.Core.Tests" ! AssemblyOriginatorKeyFile = "" ! DefaultClientScript = "JScript" ! DefaultHTMLPageLayout = "Grid" ! DefaultTargetSchema = "IE50" ! DelaySign = "false" ! OutputType = "Library" ! PreBuildEvent = "" ! PostBuildEvent = 'echo "Copying .xml files for tests"
xcopy $(ProjectDir)Data ..\..\..\..\build\VS.Net\Spring.Core.Tests\Debug\ /y /s /q' ! RootNamespace = "Spring" ! RunPostBuildEvent = "OnOutputUpdated" ! StartupObject = "" ! > ! <Config ! Name = "Debug" ! AllowUnsafeBlocks = "false" ! BaseAddress = "285212672" ! CheckForOverflowUnderflow = "false" ! ConfigurationOverrideFile = "" ! DefineConstants = "DEBUG;TRACE" ! DocumentationFile = "" ! DebugSymbols = "true" ! FileAlignment = "4096" ! IncrementalBuild = "false" ! NoStdLib = "false" ! NoWarn = "" ! Optimize = "false" ! OutputPath = "..\..\..\build\VS.Net\Spring.Core.Tests\Debug\" ! RegisterForComInterop = "false" ! RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" ! WarningLevel = "4" ! /> ! <Config ! Name = "Release" ! AllowUnsafeBlocks = "false" ! BaseAddress = "285212672" ! CheckForOverflowUnderflow = "false" ! ConfigurationOverrideFile = "" ! DefineConstants = "TRACE" ! DocumentationFile = "" ! DebugSymbols = "false" ! FileAlignment = "4096" ! IncrementalBuild = "false" ! NoStdLib = "false" ! NoWarn = "" ! Optimize = "true" ! OutputPath = "..\..\..\build\VS.Net\Release\" ! RegisterForComInterop = "false" ! RemoveIntegerChecks = "false" ! TreatWarningsAsErrors = "false" ! WarningLevel = "4" ! /> ! </Settings> ! <References> ! <Reference ! Name = "System" ! AssemblyName = "System" ! /> ! <Reference ! Name = "Spring.Core" ! Project = "{710961A3-0DF4-49E4-A26E-F5B9C044AC84}" ! Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" ! Private = "True" ! /> ! <Reference ! Name = "nunit.framework" ! AssemblyName = "nunit.framework" ! HintPath = "..\..\..\lib\Net\1.1\nunit.framework.dll" ! /> ! <Reference ! Name = "System.Data" ! AssemblyName = "System.Data" ! HintPath = "..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" ! /> ! <Reference ! Name = "System.XML" ! AssemblyName = "System.Xml" ! HintPath = "..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" ! /> ! <Reference ! Name = "Iesi.Collections" ! AssemblyName = "Iesi.Collections" ! HintPath = "..\..\..\lib\Iesi.Collections.dll" ! /> ! <Reference ! Name = "Spring.Aop.Tests" ! Project = "{2111596A-0327-4C9D-8919-294FBD988A23}" ! Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" ! /> ! </References> ! </Build> ! <Files> ! <Include> ! <File ! RelPath = "AssemblyInfo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Spring.Core.Tests.build" ! BuildAction = "None" ! /> ! <File ! RelPath = "Spring.Core.Tests.dll.config" ! BuildAction = "None" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\concurrent.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\leaf.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\middle.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\root.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Config\ObjectFactoryCreatingFactoryObjectTests.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\autowire.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\child.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\classnotfound.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\collections.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\constructor-arg.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\default-autowire.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\default-lazy-init.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\dependenciesmaterializethis.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\factorycircle.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\initializers.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\invalid.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\invalid-factory.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\notfullyspecified.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\parent.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\reftypes.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\resource.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedalldependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedobjectdependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\satisfiedsimpledependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\test.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedalldependencycheckmissingobjects.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedAllDependencyCheckMissingSimple.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedobjectdependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Data\Spring\Objects\Factory\Xml\unsatisfiedsimpledependencycheck.xml" ! BuildAction = "Content" ! /> ! <File ! RelPath = "Objects\DerivedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\IndexedTestBean.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\INestedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\ITestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\NestedTestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\ObjectWrapperTestSuite.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\TestObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\AbstractListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\AbstractObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\DefaultListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\DummyFactory.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\HasMap.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\KnowsIfInstantiated.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\LifecycleObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\MustBeInitialized.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\ObjectFactoryUtilsTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\ConstructorArgumentValuesTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\MethodInvokingFactoryObjectTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Config\ObjectFactoryCreatingFactoryObjectTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\ConstructorDependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DerivedConstructorDependenciesObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyBo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyDao.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\DummyReferencer.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\IDummyBo.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\MixedCollectionObject.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\ReadOnlyXmlTestResource.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlListableObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlObjectDefinitionReaderTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Objects\Factory\Xml\XmlObjectFactoryTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\LinkedListTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\StringUtilTestSuite.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! <File ! RelPath = "Util\TypeAliasResolverTests.cs" ! SubType = "Code" ! BuildAction = "Compile" ! /> ! </Include> ! </Files> ! </CSHARP> ! </VisualStudioProject> ! |