X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.ctf.core.tests%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Fctf%2Fcore%2Ftests%2Ftypes%2FEventDeclarationTest.java;h=3dcbb9873d6fe35e7091232c28e2668006908115;hb=be6df2d87acd929898f722acd76a5d2b79079959;hp=42130794264d44679e2cb542c76467007f3495c5;hpb=4dd0eaede98b6bfba59f88d4658220c4cb1ca46c;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/types/EventDeclarationTest.java b/org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/types/EventDeclarationTest.java index 4213079426..3dcbb9873d 100644 --- a/org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/types/EventDeclarationTest.java +++ b/org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/types/EventDeclarationTest.java @@ -6,8 +6,6 @@ import static org.junit.Assert.assertNotNull; 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; @@ -15,9 +13,7 @@ import org.eclipse.linuxtools.ctf.core.tests.TestParams; 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.junit.After; import org.junit.Before; import org.junit.Test; @@ -29,6 +25,7 @@ import org.junit.Test; * @author ematkho * @version $Revision: 1.0 $ */ +@SuppressWarnings("javadoc") public class EventDeclarationTest { private EventDeclaration fixture; @@ -95,21 +92,6 @@ public class EventDeclarationTest { 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. *