Search in sources :

Example 1 with SpoutStreamlet

use of org.apache.heron.streamlet.impl.streamlets.SpoutStreamlet in project heron by twitter.

the class StreamletImplTest method testSpoutStreamlet.

@Test
public void testSpoutStreamlet() {
    TestSpout spout = new TestSpout();
    Streamlet<Double> streamlet = builder.newSource(spout);
    assertTrue(streamlet instanceof SpoutStreamlet);
}
Also used : SpoutStreamlet(org.apache.heron.streamlet.impl.streamlets.SpoutStreamlet) TestSpout(org.apache.heron.resource.TestSpout) Test(org.junit.Test)

Aggregations

TestSpout (org.apache.heron.resource.TestSpout)1 SpoutStreamlet (org.apache.heron.streamlet.impl.streamlets.SpoutStreamlet)1 Test (org.junit.Test)1