Alexander Köplinger
12db763951
[System.Web] Fix WizardStepBase_Theme sharing violation error during test
...
We were sometimes seeing the following test failure on Jenkins:
```
Test Case Failures:
1) MonoTests.System.Web.UI.WebControls.WizardStepBaseTest.WizardStepBase_Theme : System.IO.IOException : Sharing violation on path /var/folders/wm/jvn0yl0d39q9sm9glcrhdrmw0000gn/T/tmp672264ba.tmp/App_Themes/Theme1/WizardTest.skin
at System.IO.File.SetLastWriteTime (System.String path, DateTime lastWriteTime) [0x00029] in /Users/builder/jenkins/workspace/test-mono-mainline/label/osx-i386/mcs/class/corlib/System.IO/File.cs:474
at MonoTests.SystemWeb.Framework.WebTest.CopyBinary (System.Byte[] sourceArray, System.String targetUrl) [0x00098] in /Users/builder/jenkins/workspace/test-mono-mainline/label/osx-i386/mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/WebTest.cs:364
at MonoTests.SystemWeb.Framework.WebTest.CopyResource (System.Type type, System.String resourceName, System.String targetUrl) [0x00059] in /Users/builder/jenkins/workspace/test-mono-mainline/label/osx-i386/mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/WebTest.cs:307
at MonoTests.System.Web.UI.WebControls.WizardStepBaseTest.WizardStepBase_Theme () [0x00000] in /Users/builder/jenkins/workspace/test-mono-mainline/label/osx-i386/mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardStepBaseTest.cs:311
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /Users/builder/jenkins/workspace/test-mono-mainline/label/osx-i386/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
```
This happens because System.Web.UI.WebControls/ThemeTest.cs copies the WizardTest.skin file to the same App_Themes/Theme1 path in its setup method.
Since we're not interested in any particular theme in WizardStepBase_Theme we fix this by just using a different theme name (WizardStepBase instead of Theme1) so the two test fixtures don't clash.
2016-01-01 15:05:15 +01:00
..
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2005-09-20 15:40:58 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2005-10-07 17:52:19 +00:00
2007-01-17 16:56:41 +00:00
2005-09-21 17:17:37 +00:00
2005-08-26 22:54:41 +00:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2005-09-21 17:17:37 +00:00
2005-08-26 22:54:16 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2010-04-28 13:08:39 +00:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2005-09-21 17:17:37 +00:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2005-08-26 22:55:06 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2005-10-07 17:52:19 +00:00
2005-08-26 22:53:47 +00:00
2005-09-21 17:17:37 +00:00
2005-09-21 17:17:37 +00:00
2005-08-26 22:53:14 +00:00
2005-08-26 22:53:14 +00:00
2005-09-21 17:17:37 +00:00
2005-08-26 22:53:14 +00:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2005-08-26 22:52:45 +00:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2005-09-21 17:17:37 +00:00
2005-08-26 22:52:45 +00:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-01-21 17:18:30 +01:00
2005-09-21 17:17:37 +00:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2015-01-21 17:18:30 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-21 17:17:37 +00:00
2005-09-21 17:17:37 +00:00
2005-09-21 17:13:31 +00:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2005-09-21 17:17:37 +00:00
2015-07-26 15:01:49 +02:00
2005-09-21 17:17:37 +00:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2005-09-23 14:13:57 +00:00
2005-08-26 22:52:17 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2005-09-23 14:13:57 +00:00
2010-06-24 12:55:00 +00:00
2005-09-23 13:24:01 +00:00
2005-09-23 14:13:57 +00:00
2005-10-24 20:53:30 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2005-09-23 14:13:57 +00:00
2005-09-20 15:40:58 +00:00
2010-07-15 16:51:09 +00:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2005-09-23 14:13:57 +00:00
2006-11-30 15:07:43 +00:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2012-06-01 18:04:24 -04:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2005-09-23 14:13:57 +00:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2005-08-26 22:53:14 +00:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2006-06-28 20:01:15 +00:00
2015-01-17 05:45:39 +01:00
2006-06-14 22:05:19 +00:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-07-26 15:01:49 +02:00
2010-08-04 18:54:53 +02:00
2005-10-17 14:14:28 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2005-09-23 14:13:57 +00:00
2005-08-26 22:54:16 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2011-01-10 08:45:01 +00:00
2005-09-23 14:13:57 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2005-09-23 14:13:57 +00:00
2005-08-26 22:53:14 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2005-09-23 13:24:01 +00:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2005-09-23 13:24:01 +00:00
2015-01-17 05:45:39 +01:00
2005-09-23 14:13:57 +00:00
2009-10-13 15:35:40 +00:00
2005-09-23 14:13:57 +00:00
2015-01-17 05:45:39 +01:00
2016-01-01 15:05:15 +01:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00
2015-01-17 05:45:39 +01:00
2015-07-26 15:01:49 +02:00
2015-01-17 05:45:39 +01:00