public void ReturnsContentFromAllFoldersByTypesAndSrcPath() { (string GitDirectory, string ContentDirectory) = GetSrc.SrcPath(); System.Collections.Generic.List <Types.InputType> types = Types.GetTypes(Types.InputType.all); System.Collections.Generic.Dictionary <Types.InputType, System.Collections.Generic.IEnumerable <string> > files = GetFilesFromDirectoryTree.GetAllFiles(types, ContentDirectory); AnallyExpect.MarkdownXmlOrOpmlFilesOnAll(files); }
public void ReturnsContentSpecificFolderByConfiguration(Types.InputType type) { (string GitDirectory, string ContentDirectory) = GetSrc.SrcPath(); Configuration configuration = new Configuration(GitDirectory, ContentDirectory) { InputType = type, BuildType = Types.BuildType.origin, Verbose = false }; configuration.TypesToProcess = configuration.GetTypes(); System.Collections.Generic.Dictionary <Types.InputType, System.Collections.Generic.IEnumerable <string> > files = GetFilesFromDirectoryTree.GetAllFiles(configuration); AnallyExpect.MarkdownXmlOrOpmlFilesOnSingleType(type, files); }