Пример #1
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;
        }
Пример #2
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;
        }
Пример #3
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;
        }
Пример #4
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);
        }
Пример #6
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;
        }