org.jbehave.core.parser
Class CasePreservingResolver
java.lang.Object
org.jbehave.core.parser.AbstractStoryPathResolver
org.jbehave.core.parser.CasePreservingResolver
- All Implemented Interfaces:
- StoryPathResolver
public class CasePreservingResolver
- extends AbstractStoryPathResolver
Resolves story paths while preserving the Java story class case, e.g.:
"org.jbehave.core.ICanLogin.java" -> "org/jbehave/core/ICanLogin".
By default, no extension is used but this can be configured via the
constructor so that we can resolve story class to:
"org/jbehave/core/ICanLogin.story".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CasePreservingResolver
public CasePreservingResolver()
CasePreservingResolver
public CasePreservingResolver(java.lang.String extension)
resolveName
protected java.lang.String resolveName(java.lang.Class<? extends RunnableStory> storyClass)
- Specified by:
resolveName
in class AbstractStoryPathResolver
Copyright © 2003-2010. All Rights Reserved.