From 1c3fb1b352fd8a03cd0df0cf969e07ee72909bc9 Mon Sep 17 00:00:00 2001 From: erezmazor Date: Fri, 5 Jun 2009 07:31:11 +0000 Subject: [PATCH] Fixed broken unit tests: 1. Changed incorrect reference to template object in VelocityEngineFactoryObjectTests.xml 2. Made VelocityEngineFactoryObjectTests.xml embedded resource --- .../Spring.Template.Velocity.Tests.csproj | 2 +- .../Template/Velocity/VelocityEngineFactoryObjectTests.cs | 3 --- .../Template/Velocity/VelocityEngineFactoryObjectTests.xml | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/test/Spring/Spring.Template.Velocity.Tests/Spring.Template.Velocity.Tests.csproj b/test/Spring/Spring.Template.Velocity.Tests/Spring.Template.Velocity.Tests.csproj index 26689329..d91cb353 100644 --- a/test/Spring/Spring.Template.Velocity.Tests/Spring.Template.Velocity.Tests.csproj +++ b/test/Spring/Spring.Template.Velocity.Tests/Spring.Template.Velocity.Tests.csproj @@ -64,7 +64,7 @@ - + diff --git a/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineFactoryObjectTests.cs b/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineFactoryObjectTests.cs index fe06f7fe..1df4490d 100644 --- a/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineFactoryObjectTests.cs +++ b/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineFactoryObjectTests.cs @@ -50,9 +50,6 @@ namespace Spring.Template.Velocity.Tests.Template.Velocity typeof (VelocityEngineFactoryObjectTests))); VelocityEngine velocityEngine = appContext.GetObject("velocityEngine") as VelocityEngine; Assert.IsNotNull(velocityEngine); - - - } } } \ No newline at end of file diff --git a/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineFactoryObjectTests.xml b/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineFactoryObjectTests.xml index b753bcb4..faf60682 100644 --- a/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineFactoryObjectTests.xml +++ b/test/Spring/Spring.Template.Velocity.Tests/Template/Velocity/VelocityEngineFactoryObjectTests.xml @@ -1,7 +1,7 @@  - +