public void NotMSBuildBasedProject()
        {
            MissingProject          project       = new MissingProject(@"C:\Projects\Test.proj", "Test");
            SelectedTests           selectedTests = new SelectedTests(project);
            NUnitConsoleApplication app           = new NUnitConsoleApplication(selectedTests);

            Assert.AreEqual(project.GetType().BaseType, typeof(AbstractProject), "MissingProject should be derived from AbstractProject.");
            Assert.AreEqual(@"D:\SharpDevelop\bin\Tools\NUnit\nunit-console.exe", app.FileName);
        }
        public void NotMSBuildBasedProject()
        {
            MissingProject project = new MissingProject(@"C:\Projects\Test.proj", "Test");
            UnitTestApplicationStartHelper helper = new UnitTestApplicationStartHelper();

            helper.Initialize(project, null);

            Assert.AreEqual(project.GetType().BaseType, typeof(AbstractProject), "MissingProject should be derived from AbstractProject.");
            Assert.AreEqual(@"D:\SharpDevelop\bin\Tools\NUnit\nunit-console.exe", helper.UnitTestApplication);
        }
        public void NotMSBuildBasedProject()
        {
            ProjectLoadInformation info = new ProjectLoadInformation(MockSolution.Create(), FileName.Create(@"C:\Projects\Test.proj"), "Test");

            MissingProject          project     = new MissingProject(info);
            ITestProject            testProject = new NUnitTestProject(project);
            NUnitConsoleApplication app         = new NUnitConsoleApplication(new[] { testProject });

            Assert.AreEqual(project.GetType().BaseType, typeof(AbstractProject), "MissingProject should be derived from AbstractProject.");
            Assert.AreEqual(@"D:\SharpDevelop\bin\Tools\NUnit\nunit-console.exe", app.FileName);
        }