Package org.apache.storm.testing
Class MockedSources
java.lang.Object
org.apache.storm.testing.MockedSources
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddMockData(String spoutId, String streamId, Values... valueses) add mock data for the spout.voidaddMockData(String spoutId, Values... valueses) getData()
- 
Constructor Details- 
MockedSourcespublic MockedSources()
- 
MockedSources
 
- 
- 
Method Details- 
addMockDataadd mock data for the spout.- Parameters:
- spoutId- the spout to be mocked
- streamId- the stream of the spout to be mocked
- valueses- the mocked data
 
- 
addMockData
- 
getData
 
-