|
||||||||||
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.trans.steps.unique.UniqueRowsTest
public class UniqueRowsTest
Test class for the Unique step. These tests only cover the case (in)sensitive comparison of a single key field, and to ensure the first row is not treated as both duplicate and unique.
Field Summary | |
---|---|
static int |
MAX_COUNT
|
Constructor Summary | |
---|---|
UniqueRowsTest()
|
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 |
Field Detail |
---|
public static int MAX_COUNT
Constructor Detail |
---|
public UniqueRowsTest()
Method Detail |
---|
public RowMetaInterface createRowMetaInterface()
public List<RowMetaAndData> createData()
public List<RowMetaAndData> createDataAllUnique()
public List<RowMetaAndData> createResultDataAllUnique()
public List<RowMetaAndData> createResultDataCaseSensitiveNoPreviousSort()
public List<RowMetaAndData> createResultDataCaseInsensitiveNoPreviousSort()
public List<RowMetaAndData> createResultDataSortCaseSensitiveUniqueCaseSensitive()
public List<RowMetaAndData> createResultDataSortCaseSensitiveUniqueCaseInsensitive()
public List<RowMetaAndData> createResultDataSortCaseInsensitiveUniqueCaseSensitive()
public List<RowMetaAndData> createResultDataSortCaseInsensitiveUniqueCaseInsensitive()
public void checkRows(List<RowMetaAndData> rows1, List<RowMetaAndData> rows2)
public void testCaseSensitiveNoPreviousSort() throws Exception
Exception
public void testCaseInsensitiveNoPreviousSort() throws Exception
Exception
public void testSortCaseSensitiveUniqueCaseSensitive() throws Exception
Exception
public void testSortCaseSensitiveUniqueCaseInsensitive() throws Exception
Exception
public void testSortCaseInsensitiveUniqueCaseSensitive() throws Exception
Exception
public void testSortCaseInsensitiveUniqueCaseInsensitive() throws Exception
Exception
public void testAllUnique() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |