Package | Description |
---|---|
com.streambase.sb.unittest |
Provides classes and interfaces used to author StreamBase Unit tests.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTupleMaker<T>
A convenience class which implements all of the methods of
TupleMaker in terms of
AbstractTupleMaker.createTuple(Schema, Object) . |
class |
CSVTupleMaker
A factory to build
Tuple s from CSV formatted String s. |
class |
JSONSingleQuotesTupleMaker
A factory to build
Tuple s from JSON formatted String s that may use
the single quote character ' in lieu of the double quote character " . |
class |
JSONTupleMaker
A factory to build
Tuple s from JSON formatted String s. |
class |
ObjectArrayTupleMaker
A factory to build
Tuple s from Java objects. |
Modifier and Type | Method and Description |
---|---|
<T> void |
Enqueuer.enqueue(TupleMaker<T> tupleMaker,
java.util.List<T> t)
Create multiple tuples using a
TupleMaker and then enqueue them. |
<T> void |
Enqueuer.enqueue(TupleMaker<T> tupleMaker,
T... t)
Create multiple tuples using a
TupleMaker and then enqueue them. |
<T> void |
Enqueuer.enqueue(TupleMaker<T> tupleMaker,
T t)
Create a tuple using a
TupleMaker and then enqueue it. |
<T> void |
Expecter.expect(Expecter.DequeueSetting mode,
TupleMaker<T> tupleMaker,
java.util.List<T> t)
Expect a tuple from the dequeuer
|
<T> void |
Expecter.expect(Expecter.DequeueSetting mode,
TupleMaker<T> tupleMaker,
T... t)
Expect a tuple from the dequeuer
|
<T> void |
Expecter.expect(Expecter.DequeueSetting mode,
TupleMaker<T> tupleMaker,
T t)
Expect a tuple from the dequeuer
|
<T> void |
Expecter.expect(TupleMaker<T> tupleMaker,
java.util.List<T> t)
Expect multiple tuples in a particular order from the dequeuer.
|
<T> void |
Expecter.expect(TupleMaker<T> tupleMaker,
T... t)
Expect multiple tuples in a particular order from the dequeuer.
|
<T> void |
Expecter.expect(TupleMaker<T> tupleMaker,
T t)
Expect a tuple from the dequeuer.
|
<T> void |
Expecter.expectUnordered(Expecter.DequeueSetting mode,
TupleMaker<T> tupleMaker,
java.util.List<T> t)
Expect multiple tuples in any order from the dequeuer
|
<T> void |
Expecter.expectUnordered(Expecter.DequeueSetting mode,
TupleMaker<T> tupleMaker,
T... t)
Expect multiple tuples in any order from the dequeuer
|
<T> void |
Expecter.expectUnordered(TupleMaker<T> tupleMaker,
java.util.List<T> t)
Expect multiple tuples in any order from the dequeuer.
|
<T> void |
Expecter.expectUnordered(TupleMaker<T> tupleMaker,
T... t)
Expect multiple tuples in any order from the dequeuer.
|