public void SetUp() { var document = new ProjectDocument(ProjectType.CSharp); document.AddReference("ReferencedProject"); var parser = new FakeProjectParser(new ProjectDocument[] {document}); _cache = new FakeCache(); _preparer = new ProjectPreparer(parser, _cache); }
public void SetUp() { _firstDocument = new ProjectDocument(ProjectType.CSharp); _firstDocument.HasBeenReadFromFile(); _secondDocument = new ProjectDocument(ProjectType.CSharp); _secondDocument.HasBeenReadFromFile(); var parser = new FakeProjectParser(new ProjectDocument[] { _secondDocument, _firstDocument }); _cache = new Cache(new FakeServiceLocator(parser, delegate { return _cache; })); }
public void SetUp() { var document = new ProjectDocument(ProjectType.CSharp); document.AddReference("ReferencedProject"); var parser = new FakeProjectParser(new ProjectDocument[] {document}); _cache = new FakeCache(); _preparer = new ProjectPreparer(parser, _cache); _testProject = Path.GetFullPath(string.Format("TestResources{0}VS2008{0}CSharpNUnitTestProject.csproj", Path.DirectorySeparatorChar)); }
public void SetUp() { _firstDocument = new ProjectDocument(ProjectType.CSharp); _firstDocument.HasBeenReadFromFile(); _secondDocument = new ProjectDocument(ProjectType.CSharp); _secondDocument.HasBeenReadFromFile(); var parser = new FakeProjectParser(new ProjectDocument[] { _secondDocument, _firstDocument }); _cache = new Cache(new FakeServiceLocator(parser, delegate { return _cache; })); _testProject = Path.GetFullPath(string.Format("TestResources{0}VS2008{0}CSharpNUnitTestProject.csproj", Path.DirectorySeparatorChar)); _testProjectVB = Path.GetFullPath(string.Format("TestResources{0}VS2008{0}NUnitTestProjectVisualBasic.vbproj", Path.DirectorySeparatorChar)); }