public Parse ( string solutionFile ) : ReadOnlyCollection |
||
solutionFile | string | Solution file name. |
return | ReadOnlyCollection |
public void ParseTest() { string[] testProjectFiles = new string[] { Path.Combine(Path.GetTempPath(), "TestProject.mdp") }; MonoDevelopSolutionParser solutionParser = new MonoDevelopSolutionParser(); ReadOnlyCollection<string> projectFiles = solutionParser.Parse(_testSolutionFile); Assert.AreEqual(testProjectFiles.Length, projectFiles.Count, "Unexpected number of project files."); foreach (string testProjectFile in testProjectFiles) { Assert.IsTrue( projectFiles.Contains(testProjectFile), "Test project file {0} was not included in the project file list.", testProjectFile); } }
public void ParseNullTest() { MonoDevelopSolutionParser solutionParser = new MonoDevelopSolutionParser(); solutionParser.Parse(null); }