de.smartics.testdoc.core.doc.names
Class CaseSensitiveTestNameUtils
java.lang.Object
de.smartics.testdoc.core.doc.names.CaseSensitiveTestNameUtils
-
All Implemented Interfaces:
-
TestNameUtils
-
public class CaseSensitiveTestNameUtils
-
extends
Object
-
implements
TestNameUtils
Calculates valid names for test names written in a case sensitive language. This cannot cope with camel case name, but requires to separate words by blanks.
-
Author:
-
Robert Reiner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaseSensitiveTestNameUtils
public CaseSensitiveTestNameUtils()
-
Default constructor.
calculateTestNameSentence
public String calculateTestNameSentence(String testName)
throws IllegalArgumentException
-
The implementation dependent translation of the test name into a sentence.
-
-
Specified by:
-
calculateTestNameSentence
in interface
TestNameUtils
-
-
Parameters:
-
testName
- the name of the test method.
-
Returns:
-
the test name translated into a sentence to be displayed in the documentation.
-
Throws:
-
IllegalArgumentException
- if
testName
is blank.
-
See Also:
-
TestNameUtils.calculateTestNameSentence(java.lang.String)
Copyright © 2010-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.