ctf: Clean up unit tests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / trace / MetadataTest.java
index 608eaed813c2adb328d3c895e7d1279ec0e63f9a..87b97025356eadc4c9cea2f44f6b23dbbbdd7ce9 100644 (file)
@@ -1,3 +1,14 @@
+/*******************************************************************************
+ * Copyright (c) 2013 Ericsson
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     Matthew Khouzam - Initial API and implementation
+ *******************************************************************************/
+
 package org.eclipse.linuxtools.ctf.core.tests.trace;
 
 import static org.junit.Assert.assertNotNull;
@@ -9,7 +20,6 @@ import java.nio.ByteOrder;
 import org.eclipse.linuxtools.ctf.core.tests.shared.CtfTestTraces;
 import org.eclipse.linuxtools.ctf.core.trace.CTFReaderException;
 import org.eclipse.linuxtools.ctf.core.trace.Metadata;
-import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
 
@@ -27,16 +37,6 @@ public class MetadataTest {
 
     private Metadata fixture;
 
-    /**
-     * Launch the test.
-     *
-     * @param args
-     *            the command line arguments
-     */
-    public static void main(String[] args) {
-        new org.junit.runner.JUnitCore().run(MetadataTest.class);
-    }
-
     /**
      * Perform pre-test initialization.
      *
@@ -48,14 +48,6 @@ public class MetadataTest {
         fixture = new Metadata(CtfTestTraces.getTestTrace(TRACE_INDEX));
     }
 
-    /**
-     * Perform post-test clean-up.
-     */
-    @After
-    public void tearDown() {
-        // Add additional tear down code here
-    }
-
     /**
      * Run the Metadata(CTFTrace) constructor test.
      */
This page took 0.038925 seconds and 5 git commands to generate.