void CreateSelectedFolderNode(string folder)
		{
			projectForSelectedFolder = TestableProject.CreateProject();
			projectNode = new ProjectNode(projectForSelectedFolder);
			
			directoryNode = new DirectoryNode(folder);
			directoryNode.AddTo(projectNode);
			
			selectedFolderNode = new SelectedFolderNodeInProjectsView(directoryNode);
		}
		void CreateWebProject(string name)
		{
			string fileName = @"d:\projects\MyProject\MyProject.csproj";
			testableProject = TestableProject.CreateProject(fileName, name);
			project = new WebProject(testableProject);
		}
		void CreateProject(string fileName)
		{
			project = TestableProject.CreateProject(fileName, "MyProject");
		}
		void CreateProject(string fileName)
		{
			testableProject = TestableProject.CreateProject(fileName, "MyProject");
			fakeModelClassLocator = new FakeMvcModelClassLocator();
			project = new MvcProject(testableProject, fakeModelClassLocator);
		}
示例#5
0
		public FakeClass(string name, TestableProjectContent projectContent)
			: base(new DefaultCompilationUnit(projectContent), name)
		{
			this.TestableProject = projectContent.TestableProject;
		}
示例#6
0
 public FakeClass(string name, TestableProjectContent projectContent)
     : base(new DefaultCompilationUnit(projectContent), name)
 {
     this.TestableProject = projectContent.TestableProject;
 }