import static org.testng.AssertJUnit.assertNotNull;
-import jalview.api.AlignExportSettingI;
+import jalview.api.AlignExportSettingsI;
+import jalview.datamodel.AlignExportSettingsAdapter;
import jalview.datamodel.Alignment;
import jalview.datamodel.AlignmentAnnotation;
-import jalview.datamodel.AlignmentExportData;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.Annotation;
import jalview.datamodel.HiddenColumns;
import jalview.schemes.ColourSchemeI;
import jalview.schemes.ResidueColourScheme;
-import java.awt.event.ActionListener;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
private JSONFile jf;
- private AlignExportSettingI exportSettings;
+ private AlignExportSettingsI exportSettings;
@BeforeTest(alwaysRun = true)
public void setup() throws Exception
TEST_ANOT_HEIGHT = expectedAnnots.size();
TEST_CS_HEIGHT = expectedColSel.getNumberOfRegions();
- exportSettings = new AlignExportSettingI()
- {
- @Override
- public boolean isExportHiddenSequences()
- {
- return true;
- }
-
- @Override
- public boolean isExportHiddenColumns()
- {
- return true;
- }
-
- @Override
- public boolean isExportGroups()
- {
- return true;
- }
-
- @Override
- public boolean isExportFeatures()
- {
- return true;
- }
-
- @Override
- public boolean isExportAnnotations()
- {
- return true;
- }
-
- @Override
- public boolean isCancelled()
- {
- return false;
- }
-
- @Override
- public AlignmentExportData getAlignExportData()
- {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public void addActionListener(ActionListener actionListener)
- {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void doShowSettings()
- {
- // TODO Auto-generated method stub
-
- }
- };
+ exportSettings = new AlignExportSettingsAdapter(true);
AppletFormatAdapter formatAdapter = new AppletFormatAdapter();
try