ctf: Disable NLS warnings in test plugin
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / types / DefinitionTest.java
index 7e172082f988b5a9b30e95bd9e01a79593498f49..b20c96574734fe9671d4976a07a62cc5334ea7c2 100644 (file)
@@ -1,10 +1,22 @@
+/*******************************************************************************
+ * 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.types;
 
 import static org.junit.Assert.assertNotNull;
 
+import org.eclipse.linuxtools.ctf.core.event.io.BitBuffer;
 import org.eclipse.linuxtools.ctf.core.event.types.Definition;
+import org.eclipse.linuxtools.ctf.core.event.types.IDeclaration;
 import org.eclipse.linuxtools.ctf.core.event.types.IDefinitionScope;
-import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -12,15 +24,16 @@ import org.junit.Test;
 /**
  * The class <code>DefinitionTest</code> contains tests for the class
  * <code>{@link Definition}</code>.
- * 
+ *
  * @author ematkho
  * @version $Revision: 1.0 $
  */
+@SuppressWarnings("javadoc")
 public class DefinitionTest {
 
     /**
      * Launch the test.
-     * 
+     *
      * @param args
      *            the command line arguments
      */
@@ -59,11 +72,17 @@ public class DefinitionTest {
             /* Just a test, no need to implement anything */
         }
 
+        @Override
+        public IDeclaration getDeclaration() {
+            // TODO Auto-generated method stub
+            return null;
+        }
+
     }
 
     @Test
-    public void testToString() throws Exception {
-        Definition fixture = new DefTest(null, "Hello"); //$NON-NLS-1$
+    public void testToString() {
+        Definition fixture = new DefTest(null, "Hello");
         String result = fixture.toString();
 
         assertNotNull(result);
This page took 0.024852 seconds and 5 git commands to generate.