コード例 #1
0
		public void CheckProjectContainsItself ()
		{
			var folder = new SolutionFolder ();
			var project = new MonoDevelop.CSharp.Project.CSharpProject { Name = "foo" };
			folder.AddItem (project);

			Assert.IsNotNull (folder.GetProjectContainingFile (project.FileName), "#1");
		}
コード例 #2
0
        public void CheckProjectContainsItself()
        {
            var folder  = new SolutionFolder();
            var project = new MonoDevelop.CSharp.Project.CSharpProject {
                Name = "foo"
            };

            folder.AddItem(project);

            Assert.IsNotNull(folder.GetProjectContainingFile(project.FileName), "#1");
        }