com.silverpeas.util
Class StringUtilTest

java.lang.Object
  extended by com.silverpeas.util.StringUtilTest

public class StringUtilTest
extends Object

Author:
ehugonnet

Constructor Summary
StringUtilTest()
           
 
Method Summary
 void testConvertFloat()
          Test of isInteger method, of class StringUtil.
 void testConvertToEncoding()
          Test of convertToEncoding method, of class StringUtil.
 void testDefaultStringIfNotDefinedReturningEmptyStringAsDefault()
           
 void testDefaultStringIfNotDefinedReturningGivenStringAsDefault()
           
 void testDetectEncoding()
          Test of detectEncoding method, of class StringUtil.
 void testEscapeQuote()
          Test of escapeQuote method, of class StringUtil.
 void testGetBooleanValue()
          Test of getBooleanValue method, of class StringUtil.
 void testIsDefined()
          Test of isDefined method, of class StringUtil.
 void testIsFloat()
          Test of isInteger method, of class StringUtil.
 void testIsInteger()
          Test of isInteger method, of class StringUtil.
 void testIsValidEmailAddress()
          Test of isValidEmailAddress method, of class StringUtil.
 void testIsValidHour()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtilTest

public StringUtilTest()
Method Detail

testIsDefined

public void testIsDefined()
Test of isDefined method, of class StringUtil.


testIsInteger

public void testIsInteger()
Test of isInteger method, of class StringUtil.


testIsFloat

public void testIsFloat()
Test of isInteger method, of class StringUtil.


testConvertFloat

public void testConvertFloat()
Test of isInteger method, of class StringUtil.


testEscapeQuote

public void testEscapeQuote()
Test of escapeQuote method, of class StringUtil.


testIsValidEmailAddress

public void testIsValidEmailAddress()
Test of isValidEmailAddress method, of class StringUtil.


testConvertToEncoding

public void testConvertToEncoding()
                           throws UnsupportedEncodingException
Test of convertToEncoding method, of class StringUtil.

Throws:
UnsupportedEncodingException

testGetBooleanValue

public void testGetBooleanValue()
Test of getBooleanValue method, of class StringUtil.


testDetectEncoding

public void testDetectEncoding()
                        throws UnsupportedEncodingException
Test of detectEncoding method, of class StringUtil.

Throws:
UnsupportedEncodingException

testDefaultStringIfNotDefinedReturningEmptyStringAsDefault

public void testDefaultStringIfNotDefinedReturningEmptyStringAsDefault()

testDefaultStringIfNotDefinedReturningGivenStringAsDefault

public void testDefaultStringIfNotDefinedReturningGivenStringAsDefault()

testIsValidHour

public void testIsValidHour()


Copyright © 2016 Silverpeas. All Rights Reserved.