public void Multiple_include_project_types() { var projectText = File.ReadAllText("Multiple_Include.txt"); var finder = new StartProjectFinder(); Assert.True(finder.ShouldIncludeProjectXml(XDocument.Parse(projectText), "/dir/project.csproj")); }
public void WebApplication_xproj() { var projectText = File.ReadAllText("WebApplication_xproj.txt"); var finder = new StartProjectFinder(); Assert.False(finder.ShouldIncludeProjectXml(XDocument.Parse(projectText), "/dir/project.csproj")); }
public void StartActionIsProgram() { var projectText = File.ReadAllText("StartActionIsProgram.txt"); var finder = new StartProjectFinder(); Assert.True(finder.ShouldIncludeProjectXml(XDocument.Parse(projectText), "/dir/project.csproj")); }
public void Lib_from_OutputType() { var projectText = File.ReadAllText("OutputType_Lib.txt"); var finder = new StartProjectFinder(); Assert.False(finder.ShouldIncludeProjectXml(XDocument.Parse(projectText), "/dir/project.csproj")); }
public void Conditional_Exe_from_OutputType() { var projectText = File.ReadAllText("OutputType_Conditional_Exe.txt"); var finder = new StartProjectFinder(); Assert.True(finder.ShouldIncludeProjectXml(XDocument.Parse(projectText), "/dir/project.csproj")); }