public void should_parse_test_files_from_commit_information(string commitInfo, string testFiles) { TestFilesParser parser = new TestFilesParser(); HashSet <string> changedtestFiles = parser.parse(commitInfo) as HashSet <string>; foreach (var testfile in testFiles.Split(',')) { if (testfile.Equals("")) { if (changedtestFiles != null) { Assert.Equal(changedtestFiles.Count, 0); } } else { Assert.True(changedtestFiles != null && changedtestFiles.Contains(testfile)); } } }
public ISet <string> GetTestFilesList() { return(testFilesParser.parse(parse) as ISet <string>); }