Beispiel #1
0
        public void ParseProjectLineTest()
        {
            ProjectData result = SolutionAnalyzer.ParseProjectLine("some not interesting string");

            Assert.IsNull(result);
            result = SolutionAnalyzer.ParseProjectLine("Project(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC\") = \"ClassLibraryProject\", \"ClassLibraryProject\\ClassLibraryProject.csproj\", \"{953E1F18-3833-4CEB-8F51-9338ECB1E0F6}\"");
            Assert.AreEqual("ClassLibraryProject", result.ProjectName);
            Assert.AreEqual(@"ClassLibraryProject\ClassLibraryProject.csproj", result.ProjectFileName);
            Assert.AreEqual("ClassLibraryProject", result.ProjectFolder);
        }