org.pentaho.di.trans
Class RowProducerTest

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

public class RowProducerTest
extends junit.framework.TestCase

Tests for RowProducer


Constructor Summary
RowProducerTest()
           
 
Method Summary
 void testPutRow_full()
          Verify that putting a row into a RowProducer blocks until the row is successfully added instead of returning immediately.
 void testPutRow_not_full()
          Verify that putting a row into a RowProducer does not block if the underlying rowSet is not full.
 
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

RowProducerTest

public RowProducerTest()
Method Detail

testPutRow_not_full

public void testPutRow_not_full()
Verify that putting a row into a RowProducer does not block if the underlying rowSet is not full.


testPutRow_full

public void testPutRow_full()
Verify that putting a row into a RowProducer blocks until the row is successfully added instead of returning immediately.