Example #1
0
 public StoryTestFolder(Memory memory, string theInputPath, string theOutputPath, string theSelection, FolderModel theFolderModel, StoryTestFolder theParentFolder) {
     this.memory = memory;
     Name = theInputPath;
     OutputPath = theOutputPath;
     myFolderModel = theFolderModel;
     myParent = theParentFolder;
     mySelection = theSelection;
 }
Example #2
0
 public StoryTestFolder(string theInputPath, string theOutputPath, FolderModel theFolderModel, StoryTestFolder theParentFolder, Filters filters)
 {
     FullName      = theInputPath;
     OutputPath    = theOutputPath;
     myFolderModel = theFolderModel;
     myParent      = theParentFolder;
     this.filters  = filters;
 }
Example #3
0
 public StoryTestFolder(Configuration configuration, string theInputPath, string theOutputPath, string theSelection, FolderModel theFolderModel, StoryTestFolder theParentFolder)
 {
     this.configuration = configuration;
     Name          = theInputPath;
     OutputPath    = theOutputPath;
     myFolderModel = theFolderModel;
     myParent      = theParentFolder;
     mySelection   = theSelection;
 }
Example #4
0
 public StoryTestFolder(Memory memory, string theInputPath, string theOutputPath, string theSelection, FolderModel theFolderModel, StoryTestFolder theParentFolder)
 {
     this.memory   = memory;
     Name          = theInputPath;
     OutputPath    = theOutputPath;
     myFolderModel = theFolderModel;
     myParent      = theParentFolder;
     mySelection   = theSelection;
 }
Example #5
0
        StoryTestFolder CreateStoryTestFolder(Memory memory, FolderModel folderModel) {
            var storyTestFolder = new StoryTestFolder(memory, folderModel);

            string tagList = memory.GetItem<Settings>().TagList;
            if (!string.IsNullOrEmpty(tagList))
                storyTestFolder.AddPageFilter(new TagFilter(tagList));

            return storyTestFolder;
        }
Example #6
0
        StoryTestFolder CreateStoryTestFolder(Memory memory)
        {
            var storyTestFolder = new StoryTestFolder(memory, new FileSystemModel(memory.GetItem<Settings>().CodePageNumber));

            string tagList = memory.GetItem<Settings>().TagList;
            if (!string.IsNullOrEmpty(tagList))
                storyTestFolder.AddPageFilter(new TagFilter(tagList));

            return storyTestFolder;
        }
Example #7
0
        StoryTestFolder CreateStoryTestFolder(Configuration configuration)
        {
            var storyTestFolder = new StoryTestFolder(configuration, new FileSystemModel(configuration.GetItem<Settings>().CodePageNumber));

            string tagList = configuration.GetItem<Settings>().TagList;
            if (!string.IsNullOrEmpty(tagList))
                storyTestFolder.AddPageFilter(new TagFilter(tagList));

            return storyTestFolder;
        }
Example #8
0
        private StoryTestSuite CreateChildSuite(string inputFolder, string relativeFolderPath)
        {
            var folder = new StoryTestFolder(memory, inputFolder, Path.Combine(OutputPath, relativeFolderPath), mySelection, myFolderModel, this);

            foreach (var pageFilter in pageFilters)
            {
                folder.AddPageFilter(pageFilter);
            }

            return(folder);
        }
        StoryTestFolder CreateStoryTestFolder(Memory memory, FolderModel folderModel)
        {
            var storyTestFolder = new StoryTestFolder(memory, folderModel);

            string tagList = memory.GetItem <Settings>().TagList;

            if (!string.IsNullOrEmpty(tagList))
            {
                storyTestFolder.AddPageFilter(new TagFilter(tagList));
            }

            return(storyTestFolder);
        }
Example #10
0
        private StoryTestSuite CreateChildSuite(string inputFolder, string relativeFolderPath) {
            var folder = new StoryTestFolder(memory, inputFolder, Path.Combine(OutputPath, relativeFolderPath), mySelection, myFolderModel, this);

            foreach (var pageFilter in pageFilters)
                folder.AddPageFilter(pageFilter);

            return folder;
        }
Example #11
0
 public StoryTestFile(string thePath, StoryTestFolder theFolder, FolderModel theFolderModel)
 {
     myPath = new StoryFileName(thePath);
     myFolder = theFolder;
     myFolderModel = theFolderModel;
 }
Example #12
0
 public StoryTestFolder(Configuration configuration, string theInputPath, string theOutputPath, string theSelection, FolderModel theFolderModel, StoryTestFolder theParentFolder)
 {
     this.configuration = configuration;
     Name = theInputPath;
     OutputPath = theOutputPath;
     myFolderModel = theFolderModel;
     myParent = theParentFolder;
     mySelection = theSelection;
 }
Example #13
0
 public StoryTestFile(string thePath, StoryTestFolder theFolder, FolderModel theFolderModel)
 {
     myPath        = new StoryFileName(thePath);
     myFolder      = theFolder;
     myFolderModel = theFolderModel;
 }