Skip to content

Commit

Permalink
[asp.net] Added code to handle local resources copying in the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
grendello committed Jan 4, 2011
1 parent 851ab61 commit 5e0ee04
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Expand Up @@ -34,6 +34,7 @@
../../System.Web/Test/mainsoft/NunitWeb/NunitWeb/StandardUrl.cs
../../System.Web/Test/mainsoft/NunitWeb/NunitWeb/WebTest.cs
../../System.Web/Test/mainsoft/NunitWeb/NunitWeb/WebTestResourcesSetupAttribute.cs
code/WebTestLocal.cs
code/Country.cs
code/CountryCollection.cs
code/Bug604053_DataSource.cs
Expand Down
15 changes: 15 additions & 0 deletions mcs/class/System.Web.Extensions/Test/code/WebTestLocal.cs
@@ -0,0 +1,15 @@
using System;

namespace MonoTests.SystemWeb.Framework
{
public partial class WebTest
{
static partial void CopyResourcesLocal ()
{
Type myself = typeof (WebTest);
#if !DOTNET
CopyResource (myself, "Web.mono.config", "Web.config");
#endif
}
}
}

0 comments on commit 5e0ee04

Please sign in to comment.