Package org.jbehave.core.io

Examples of org.jbehave.core.io.UnderscoredToCapitalized


* @author Mauro Talevi
*/
public class FreemarkerViewGenerator extends TemplateableViewGenerator {

    public FreemarkerViewGenerator() {
        this(new UnderscoredToCapitalized());
    }
View Full Code Here


    public FreemarkerViewGenerator(StoryNameResolver nameResolver) {
        super(nameResolver, new FreemarkerProcessor());
    }

    public FreemarkerViewGenerator(Class<?> templateLoadingFrom) {
        this(new UnderscoredToCapitalized(), templateLoadingFrom);
    }
View Full Code Here

            storiesByPath.put(storyPath, new Story(storyPath));
        }
       
        // When
        StoryMaps storyMaps = new StoryMaps(asList(new StoryMap("filter", new HashSet<Story>(storiesByPath.values()))));
        StoryLanes storyLanes = new StoryLanes(storyMaps, new UnderscoredToCapitalized());
       
        // Then
        assertThat(storyMaps.toString(), containsString("filter"));
        assertThat(storyMaps.getMaps().toString(), containsString("filter"));
        assertThat(storyMaps.getMetaFilters(), equalTo(asList("filter")));
View Full Code Here

        this.nameResolver = storyNameResolver();
        this.paths = annotationBuilder.findPaths();
    }

    protected StoryNameResolver storyNameResolver() {
        return new UnderscoredToCapitalized();
    }
View Full Code Here

TOP

Related Classes of org.jbehave.core.io.UnderscoredToCapitalized

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.