fixing broken build (Mvc3 xml test files collide w/ Mvc2 xml test files)

This commit is contained in:
sbohlen
2011-05-30 12:24:59 +00:00
parent 54728d1adc
commit f71ab26b98
4 changed files with 4 additions and 4 deletions

View File

@@ -71,12 +71,12 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="objects.xml">
<EmbeddedResource Include="objectsMvc3.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="namedContextObjects.xml">
<EmbeddedResource Include="namedContextObjectsMvc3.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>

View File

@@ -42,8 +42,8 @@ namespace Spring.Web.Mvc.Tests
public void _TestSetup()
{
ContextRegistry.Clear();
_context = new MvcApplicationContext("file://objects.xml");
_mvcNamedContext = new MvcApplicationContext("named", false, "file://namedContextObjects.xml");
_context = new MvcApplicationContext("file://objectsMvc3.xml");
_mvcNamedContext = new MvcApplicationContext("named", false, "file://namedContextObjectsMvc3.xml");
ContextRegistry.RegisterContext(_context);
ContextRegistry.RegisterContext(_mvcNamedContext);