import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
-import java.nio.channels.FileChannel;
-
import org.eclipse.linuxtools.ctf.core.event.EventDeclaration;
import org.eclipse.linuxtools.ctf.core.event.EventDefinition;
import org.eclipse.linuxtools.ctf.core.event.types.StructDeclaration;
import org.eclipse.linuxtools.ctf.core.trace.CTFReaderException;
import org.eclipse.linuxtools.ctf.core.trace.CTFTrace;
import org.eclipse.linuxtools.ctf.core.trace.CTFTraceReader;
-import org.eclipse.linuxtools.ctf.core.trace.StreamInputReader;
-import org.eclipse.linuxtools.internal.ctf.core.trace.Stream;
-import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInput;
+import org.eclipse.linuxtools.ctf.core.trace.Stream;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
* @author ematkho
* @version $Revision: 1.0 $
*/
+@SuppressWarnings("javadoc")
public class EventDeclarationTest {
private EventDeclaration fixture;
assertFalse(result);
}
- /**
- * Run the EventDefinition createDefinition(StreamInputReader) method test.
- *
- * @throws CTFReaderException
- */
- @Test
- public void testCreateDefinition() throws CTFReaderException {
- StreamInputReader streamInputReader = new StreamInputReader(
- new StreamInput(new Stream(TestParams.createTrace()),
- (FileChannel) null, TestParams.getTraceFile()));
-
- EventDefinition result = fixture.createDefinition(streamInputReader);
- assertNotNull(result);
- }
-
/**
* Run the boolean equals(Object) method test.
*