de.smartics.testdoc.core.doc.names
Class CaseSensitiveTestNameUtils

Package class diagram package CaseSensitiveTestNameUtils
java.lang.Object
  extended by 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

Constructor Summary
CaseSensitiveTestNameUtils()
          Default constructor.
 
Method Summary
 String calculateTestNameSentence(String testName)
          The implementation dependent translation of the test name into a sentence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseSensitiveTestNameUtils

public CaseSensitiveTestNameUtils()
Default constructor.

Method Detail

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.