ctf: Throw CTFReaderException in the BitBuffer API
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / types / EnumDefinitionTest.java
index 20511a582047876cb66acf81c538a29011c241c7..5b5aa26695da229d5d1fc9594cb987ef1622900e 100644 (file)
@@ -23,6 +23,7 @@ import org.eclipse.linuxtools.ctf.core.event.types.Encoding;
 import org.eclipse.linuxtools.ctf.core.event.types.EnumDeclaration;
 import org.eclipse.linuxtools.ctf.core.event.types.EnumDefinition;
 import org.eclipse.linuxtools.ctf.core.event.types.IntegerDeclaration;
+import org.eclipse.linuxtools.ctf.core.trace.CTFReaderException;
 import org.junit.Before;
 import org.junit.Test;
 
@@ -95,9 +96,10 @@ public class EnumDefinitionTest {
 
     /**
      * Run the void read(BitBuffer) method test.
+     * @throws CTFReaderException error
      */
     @Test
-    public void testRead() {
+    public void testRead() throws CTFReaderException {
         fixture.setIntegerValue(1L);
         BitBuffer input = new BitBuffer(ByteBuffer.allocateDirect(128));
 
This page took 0.024815 seconds and 5 git commands to generate.