Пример #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(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);
        }