org.pentaho.di.core
Class ConstTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.pentaho.di.core.ConstTest
All Implemented Interfaces:
junit.framework.Test

public class ConstTest
extends junit.framework.TestCase

Test class for the basic functionality of Const.

Author:
Sven Boden

Constructor Summary
ConstTest()
           
 
Method Summary
 void testInitCap()
          Test initCap.
 void testIsEmpty()
           
 void testIsEmptyStringBuffer()
           
 void testLtrim()
           
 void testNrSpacesAfter()
           
 void testNrSpacesBefore()
           
 void testNVL()
           
 void testOnlySpaces()
           
 void testRtrim()
           
 void testSortStrings()
          Test sortString().
 void testSplitPath()
          Test splitPath.
 void testSplitString()
          Test splitString with String separator.
 void testSplitStringChar()
          Test splitString with char separator.
 void testTrim()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstTest

public ConstTest()
Method Detail

testInitCap

public void testInitCap()
Test initCap. Regressiontest for PDI-1338: "javascript initcap() can't deal correctly with special non-ASCII chars".


testSortStrings

public void testSortStrings()
Test sortString().


testIsEmpty

public void testIsEmpty()

testIsEmptyStringBuffer

public void testIsEmptyStringBuffer()

testNVL

public void testNVL()

testNrSpacesBefore

public void testNrSpacesBefore()

testNrSpacesAfter

public void testNrSpacesAfter()

testLtrim

public void testLtrim()

testRtrim

public void testRtrim()

testTrim

public void testTrim()

testOnlySpaces

public void testOnlySpaces()

testSplitString

public void testSplitString()
Test splitString with String separator.


testSplitStringChar

public void testSplitStringChar()
Test splitString with char separator.


testSplitPath

public void testSplitPath()
Test splitPath.