diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2014-01-23 14:14:35 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2014-01-23 14:14:35 +0400 |
commit | 77394d2b6bd7b2958b53894d1afb7477f4b4da91 (patch) | |
tree | 8fddefad2767aa3a050cae776e2c8beb78b3628e /mcs/class/Microsoft.Build/Test | |
parent | 5afd546fdde781daaa0d12177a677a8f09437e72 (diff) |
Path existence and lookup is now based on insensitive search.
Diffstat (limited to 'mcs/class/Microsoft.Build/Test')
-rw-r--r-- | mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectTest.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectTest.cs b/mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectTest.cs index eed7761b221..022a92f4030 100644 --- a/mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectTest.cs +++ b/mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectTest.cs @@ -268,6 +268,20 @@ namespace MonoTests.Microsoft.Build.Evaluation var inst = proj.CreateProjectInstance (); Assert.AreEqual ("4.0", inst.ToolsVersion, "#1"); } + + [Test] + public void LoadCaseInsensitive () + { + string project_xml = @"<Project xmlns='http://schemas.microsoft.com/developer/msbuild/2003'> + <PropertyGroup> + <AssemblyName>Foo</AssemblyName> + </PropertyGroup> + <Import Project='$(MSBuildToolsPath)\Microsoft.CSharp.Targets' /> +</Project>"; + var xml = XmlReader.Create (new StringReader (project_xml)); + var root = ProjectRootElement.Create (xml); + new Project (root, null, "4.0"); + } } } |