Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2016-01-28 00:11:35 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2016-01-28 01:39:00 +0300
commit180e745ccee4a80c9641a2e70235387e74b9eddb (patch)
tree4f967399d976e3cad55c62a29cfdb0c2a6a5e1a8 /mcs/class/System.Xaml
parent2b2ca2dbf8b83a135220bbed2c3933af8587aa17 (diff)
[bcl] Fix dll names and InternalsVisibleTo for test assemblies
The format of the test assembly name changed in 860334ff45a8d1c5886b8dbcfadaf28ac55b9393 from System.Web_test_net_4_x.dll to net_4_x_System.Web_test.dll. This fixes all the places where the old name was used.
Diffstat (limited to 'mcs/class/System.Xaml')
-rwxr-xr-xmcs/class/System.Xaml/Test/System.Xaml/XamlObjectWriterTest.cs4
-rwxr-xr-xmcs/class/System.Xaml/Test/System.Xaml/XamlXmlReaderTest.cs2
-rwxr-xr-xmcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs2
3 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/System.Xaml/Test/System.Xaml/XamlObjectWriterTest.cs b/mcs/class/System.Xaml/Test/System.Xaml/XamlObjectWriterTest.cs
index 73dcf6f927d..1aadbebcbb4 100755
--- a/mcs/class/System.Xaml/Test/System.Xaml/XamlObjectWriterTest.cs
+++ b/mcs/class/System.Xaml/Test/System.Xaml/XamlObjectWriterTest.cs
@@ -719,7 +719,7 @@ namespace MonoTests.System.Xaml
XamlServices.Transform (new XamlObjectReader (obj), xxw);
Console.Error.WriteLine (sw);
*/
- var xml = "<TestClass3 xmlns='clr-namespace:MonoTests.System.Xaml;assembly=System.Xaml_test_net_4_0' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'><TestClass3.Nested><TestClass3 Nested='{x:Null}' /></TestClass3.Nested></TestClass3>".Replace ("net_4_0", ver);
+ var xml = "<TestClass3 xmlns='clr-namespace:MonoTests.System.Xaml;assembly=System.Xaml_test_net_4_0' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'><TestClass3.Nested><TestClass3 Nested='{x:Null}' /></TestClass3.Nested></TestClass3>".Replace ("System.Xaml_test_net_4_0", ver + "_System.Xaml_test");
var settings = new XamlObjectWriterSettings ();
bool invoked = false;
settings.XamlSetValueHandler = (sender, e) => {
@@ -835,7 +835,7 @@ namespace MonoTests.System.Xaml
XamlReader GetReader (string filename)
{
const string ver = "net_4_x";
- string xml = File.ReadAllText (Path.Combine ("Test/XmlFiles", filename)).Replace ("net_4_0", ver);
+ string xml = File.ReadAllText (Path.Combine ("Test/XmlFiles", filename)).Replace ("System.Xaml_test_net_4_0", ver + "_System.Xaml_test");
return new XamlXmlReader (XmlReader.Create (new StringReader (xml)));
}
diff --git a/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlReaderTest.cs b/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlReaderTest.cs
index 70b26b87c5a..85a4a59e286 100755
--- a/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlReaderTest.cs
+++ b/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlReaderTest.cs
@@ -46,7 +46,7 @@ namespace MonoTests.System.Xaml
XamlReader GetReader (string filename)
{
const string ver = "net_4_x";
- string xml = File.ReadAllText (Path.Combine ("Test/XmlFiles", filename)).Replace ("net_4_0", ver);
+ string xml = File.ReadAllText (Path.Combine ("Test/XmlFiles", filename)).Replace ("System.Xaml_test_net_4_0", ver + "_System.Xaml_test");
return new XamlXmlReader (XmlReader.Create (new StringReader (xml)));
}
diff --git a/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs b/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs
index eaf0f28c257..e46771c9b31 100755
--- a/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs
+++ b/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs
@@ -637,7 +637,7 @@ namespace MonoTests.System.Xaml
string ReadXml (string name)
{
string ver = "net_4_x";
- return File.ReadAllText ("Test/XmlFiles/" + name).Trim ().Replace (">\n", ">\r\n").Replace ("net_4_0", ver).Replace ("\r\n", Environment.NewLine);
+ return File.ReadAllText ("Test/XmlFiles/" + name).Trim ().Replace (">\n", ">\r\n").Replace ("System.Xaml_test_net_4_0", ver + "_System.Xaml_test").Replace ("\r\n", Environment.NewLine);
}
[Test]