Improved test coverage.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / trace / MetadataTest.java
index 4d21fdec2effd688d8da6b822aed28b67d170007..543c907e68c802ab2697212917130dbe4d52d1e6 100644 (file)
@@ -15,7 +15,7 @@ import org.junit.Test;
 /**
  * The class <code>MetadataTest</code> contains tests for the class
  * <code>{@link Metadata}</code>.
- * 
+ *
  * @author ematkho
  * @version $Revision: 1.0 $
  */
@@ -25,7 +25,7 @@ public class MetadataTest {
 
     /**
      * Launch the test.
-     * 
+     *
      * @param args
      *            the command line arguments
      */
@@ -68,9 +68,18 @@ public class MetadataTest {
         assertNull(result);
     }
 
+    /**
+     * Test toString
+     */
+    @Test
+    public void testToSting() {
+        String result = fixture.toString();
+        assertNotNull(result);
+    }
+
     /**
      * Run the void parse() method test.
-     * 
+     *
      * @throws CTFReaderException
      */
     @Test(expected = org.eclipse.linuxtools.ctf.core.trace.CTFReaderException.class)
This page took 0.023996 seconds and 5 git commands to generate.