JAL-1264 first cut of panel for annotation show/hide options
[jalview.git] / test / jalview / gui / AnnotationChooserTest.java
diff --git a/test/jalview/gui/AnnotationChooserTest.java b/test/jalview/gui/AnnotationChooserTest.java
new file mode 100644 (file)
index 0000000..161ebee
--- /dev/null
@@ -0,0 +1,44 @@
+package jalview.gui;
+
+import jalview.io.AppletFormatAdapter;
+import jalview.io.FileLoader;
+
+import org.junit.Before;
+import org.junit.Test;
+
+/**
+ * Unit tests for AnnotationChooser
+ * 
+ * @author gmcarstairs
+ *
+ */
+public class AnnotationChooserTest
+{
+  final static String TEST_FILE = "./examples/uniref50.fa";
+  AnnotationChooser testee;
+
+  AlignFrame af;
+
+  @Before
+  public void setUp()
+  {
+    FileLoader fl = new jalview.io.FileLoader(false);
+    af = fl.LoadFileWaitTillLoaded(TEST_FILE,
+            AppletFormatAdapter.FILE);
+
+  }
+
+  @Test
+  public void testAlignmentLoader() throws Exception
+  {
+
+    AlignmentPanel parentPanel = new AlignmentPanel(af, af.getViewport());
+    testee = new AnnotationChooser(parentPanel);
+  }
+
+  @Test
+  public void testBuildFrame()
+  {
+
+  }
+}