|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.pentaho.di.compatibility.ValueStringTest
public class ValueStringTest
Test class for the basic functionality of ValueString.
Constructor Summary | |
---|---|
ValueStringTest()
|
Method Summary | |
---|---|
void |
testClone()
|
void |
testConstructor1()
Constructor test 1. |
void |
testGetNullValue()
Set the value to null and see what comes out on conversions. |
void |
testGetNumericValue1()
Set the value to an integer number and see what comes out on conversions. |
void |
testGetNumericValue2()
Set the value to an "float" number and see what comes out on conversions. |
void |
testGetString()
Set the value to a non numeric string. |
void |
testSetBigNumber()
|
void |
testSetBoolean()
Test booleans in ValueString |
void |
testSetDate()
Test dates in ValueString |
void |
testSetInteger()
|
void |
testSetNumber()
Test setting a number. |
void |
testSetString()
Test setting a string. |
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 |
---|
public ValueStringTest()
Method Detail |
---|
public void testConstructor1()
public void testGetNullValue()
public void testGetNumericValue1()
public void testGetNumericValue2()
public void testGetString()
public void testSetString()
public void testSetNumber()
public void testSetDate() throws ParseException
ParseException
public void testSetBoolean()
public void testSetInteger()
public void testSetBigNumber()
public void testClone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |