Only test winforms/wpf templates on Windows
This commit is contained in:
parent
7d3fd28fc4
commit
32627d01d2
1 changed files with 13 additions and 2 deletions
|
@ -63,13 +63,24 @@ namespace EndToEnd.Tests
|
||||||
[Theory]
|
[Theory]
|
||||||
[InlineData("console")]
|
[InlineData("console")]
|
||||||
[InlineData("classlib")]
|
[InlineData("classlib")]
|
||||||
[InlineData("wpf")]
|
|
||||||
[InlineData("winforms")]
|
|
||||||
[InlineData("mstest")]
|
[InlineData("mstest")]
|
||||||
[InlineData("nunit")]
|
[InlineData("nunit")]
|
||||||
[InlineData("web")]
|
[InlineData("web")]
|
||||||
[InlineData("mvc")]
|
[InlineData("mvc")]
|
||||||
public void ItCanBuildTemplates(string templateName)
|
public void ItCanBuildTemplates(string templateName)
|
||||||
|
{
|
||||||
|
TestTemplateBuild(templateName);
|
||||||
|
}
|
||||||
|
|
||||||
|
[WindowsOnlyTheory]
|
||||||
|
[InlineData("wpf")]
|
||||||
|
[InlineData("winforms")]
|
||||||
|
public void ItCanBuildDesktopTemplates(string templateName)
|
||||||
|
{
|
||||||
|
TestTemplateBuild(templateName);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TestTemplateBuild(string templateName)
|
||||||
{
|
{
|
||||||
var directory = TestAssets.CreateTestDirectory(identifier: templateName);
|
var directory = TestAssets.CreateTestDirectory(identifier: templateName);
|
||||||
string projectDirectory = directory.FullName;
|
string projectDirectory = directory.FullName;
|
||||||
|
|
Loading…
Reference in a new issue