import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeTrue;
-import org.eclipse.tracecompass.ctf.core.CTFReaderException;
+import org.eclipse.tracecompass.ctf.core.CTFException;
import org.eclipse.tracecompass.ctf.core.event.EventDefinition;
import org.eclipse.tracecompass.ctf.core.event.types.StructDeclaration;
import org.eclipse.tracecompass.ctf.core.tests.shared.CtfTestTrace;
/**
* Perform pre-test initialization.
*
- * @throws CTFReaderException
+ * @throws CTFException
*/
@Before
- public void setUp() throws CTFReaderException {
+ public void setUp() throws CTFException {
assumeTrue(testTrace.exists());
fixture = new EventDeclaration();
fixture.setContext(new StructDeclaration(1L));
/**
* Run the boolean equals(Object) method test.
*
- * @throws CTFReaderException
+ * @throws CTFException
*/
@Test
- public void testEquals() throws CTFReaderException {
+ public void testEquals() throws CTFException {
EventDeclaration obj = new EventDeclaration();
obj.setContext(new StructDeclaration(1L));
obj.setId(1L);
/**
* Test for the EventDefinition class
*
- * @throws CTFReaderException
+ * @throws CTFException
*/
@Test
- public void testEventDefinition() throws CTFReaderException {
+ public void testEventDefinition() throws CTFException {
CTFTrace trace = testTrace.getTrace();
EventDefinition ed = null;
try (CTFTraceReader tr = new CTFTraceReader(trace);) {