Revert "Enabling ViewEngine and Localization tests which use expanders. The issues are fixed in the mono beta 4.0.4."

This reverts commit 9915ea3809.
This commit is contained in:
Ryan Nowak 2015-08-31 08:55:31 -07:00
parent dadee80aa8
commit 66a7c2e389
2 changed files with 18 additions and 6 deletions

View File

@ -46,8 +46,11 @@ mypartial
</fr-language-layout>"; </fr-language-layout>";
yield return new[] { "fr", expected2 }; yield return new[] { "fr", expected2 };
if (!TestPlatformHelper.IsMono)
{
// https://github.com/aspnet/Mvc/issues/2759
var expected3 = var expected3 =
@"<language-layout> @"<language-layout>
index index
partial partial
mypartial mypartial
@ -55,6 +58,7 @@ mypartial
yield return new[] { "!-invalid-!", expected3 }; yield return new[] { "!-invalid-!", expected3 };
} }
} }
}
[Theory] [Theory]
[MemberData(nameof(LocalizationData))] [MemberData(nameof(LocalizationData))]

View File

@ -144,11 +144,15 @@ gb-partial";
fr-partial"; fr-partial";
yield return new[] { "fr", expected2 }; yield return new[] { "fr", expected2 };
if (!TestPlatformHelper.IsMono)
{
// https://github.com/aspnet/Mvc/issues/2759
var expected3 = @"expander-index var expected3 = @"expander-index
expander-partial"; expander-partial";
yield return new[] { "!-invalid-!", expected3 }; yield return new[] { "!-invalid-!", expected3 };
} }
} }
}
[Theory] [Theory]
[MemberData(nameof(RazorViewEngine_UsesAllExpandedPathsToLookForViewsData))] [MemberData(nameof(RazorViewEngine_UsesAllExpandedPathsToLookForViewsData))]
@ -290,7 +294,11 @@ View With Layout
yield return new[] { "en-GB", expected1 }; yield return new[] { "en-GB", expected1 };
if (!TestPlatformHelper.IsMono)
{
// https://github.com/aspnet/Mvc/issues/2759
yield return new[] { "!-invalid-!", expected1 }; yield return new[] { "!-invalid-!", expected1 };
}
var expected2 = var expected2 =
@"<fr-language-layout> @"<fr-language-layout>