public void IsWebReferencesFolder_FolderDoesNotMatchWebReferencesProjectItemFolder_ReturnsFalse() { CreateProject(); project.FileName = FileName.Create(@"C:\projects\test\foo.csproj"); AddWebReferencesToProject(@"Web References\"); bool result = WebReferencesProjectItem.IsWebReferencesFolder(project, @"C:\projects\test\foo"); Assert.IsFalse(result); }
public void IsWebReferencesFolder_FolderMatchesWebReferencesProjectItemFolder_ReturnsTrue() { CreateProject(); project.FileName = @"C:\projects\test\foo.csproj"; AddWebReferencesToProject(@"Web References\"); bool result = WebReferencesProjectItem.IsWebReferencesFolder(project, @"C:\projects\test\Web References"); Assert.IsTrue(result); }