X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fgui%2FAnnotationChooserTest.java;fp=test%2Fjalview%2Fgui%2FAnnotationChooserTest.java;h=161ebeef53599e3ef6da9e3bef7148767f114c6e;hb=76d3286a73053be49a8cfd6842fffba4db111e08;hp=0000000000000000000000000000000000000000;hpb=55fc8f004dac252b5b89ac91cf506e4844a6b1da;p=jalview.git diff --git a/test/jalview/gui/AnnotationChooserTest.java b/test/jalview/gui/AnnotationChooserTest.java new file mode 100644 index 0000000..161ebee --- /dev/null +++ b/test/jalview/gui/AnnotationChooserTest.java @@ -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() + { + + } +}