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

This commit is contained in:
sornaks 2015-08-28 11:48:03 -07:00
parent f2db0d1483
commit 9915ea3809
2 changed files with 6 additions and 18 deletions

View File

@ -46,9 +46,6 @@ 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
@ -58,7 +55,6 @@ mypartial
yield return new[] { "!-invalid-!", expected3 }; yield return new[] { "!-invalid-!", expected3 };
} }
} }
}
[Theory] [Theory]
[MemberData(nameof(LocalizationData))] [MemberData(nameof(LocalizationData))]

View File

@ -144,15 +144,11 @@ 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))]
@ -294,11 +290,7 @@ 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>