TmfEventProviderStub fEventProvider;
TmfSyntheticEventProviderStub fSyntheticEventProvider;
+ /**
+ * @param name the test anme
+ */
public TmfEventProviderTest(String name) {
super(name);
}
// getProviders (more a sanity check than a test)
// ------------------------------------------------------------------------
- @SuppressWarnings("unchecked")
+ /**
+ *
+ */
public void testGetProviders() {
// There should be 2 TmfEvent providers: a TmfTraceStub and a
// getSyntheticEvent
// ------------------------------------------------------------------------
- @SuppressWarnings("unchecked")
+ /**
+ *
+ */
public void testGetPlainEvents() {
final int BLOCK_SIZE = 100;
}
}
- @SuppressWarnings("unchecked")
+ /**
+ *
+ */
public void testCancelRequests() {
final int BLOCK_SIZE = 100;
}
}
- @SuppressWarnings("unchecked")
private static void getSyntheticData(final TmfTimeRange range,
final int nbEvents, final int blockSize) throws InterruptedException {
}
}
+ /**
+ *
+ */
// The following tests are the same but for the size of the requested blocks
// with regards to the size of the TmfSyntheticEventProviderStub block
public void testGetSyntheticEvents_EqualBlockSizes() {
}
}
+ /**
+ *
+ */
public void testGetSyntheticEvents_SmallerBlock() {
TmfTimeRange range = new TmfTimeRange(TmfTimestamp.BIG_BANG, TmfTimestamp.BIG_CRUNCH);
try {
}
}
+ /**
+ *
+ */
public void testGetSyntheticEvents_LargerBlock() {
TmfTimeRange range = new TmfTimeRange(TmfTimestamp.BIG_BANG, TmfTimestamp.BIG_CRUNCH);
try {
}
}
+ /**
+ *
+ */
public void testGetSyntheticEvents_TimeRange() {
TmfTimestamp start = new TmfTimestamp(1, (byte) -3, 0);
TmfTimestamp end = new TmfTimestamp(1000, (byte) -3, 0);
// getProviders (more a sanity check than a test)
// ------------------------------------------------------------------------
- @SuppressWarnings("unchecked")
+ /**
+ *
+ */
public void testGetProviders2() {
// There should be 2 TmfEvent providers: a TmfTraceStub and a