示例#1
0
 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);
 }
示例#2
0
        public void ReturnsContentFromAllFoldersByConfiguration()
        {
            (string GitDirectory, string ContentDirectory) = GetSrc.SrcPath();
            Configuration configuration = new Configuration(GitDirectory, ContentDirectory)
            {
                InputType = Types.InputType.all,
                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.MarkdownXmlOrOpmlFilesOnAll(files);
        }