assertTrue("Didn't read input file "+inFile, af!=null);
int olddsann=countDsAnn(af.getViewport());
assertTrue("Didn't find any dataset annotations",olddsann>0);
+ af.rnahelicesColour_actionPerformed(null);
+ assertTrue("Couldn't apply RNA helices colourscheme",af.getViewport().getGlobalColourScheme() instanceof jalview.schemes.RNAHelicesColour);
assertTrue("Failed to store as a project.",af.saveAlignment(tfile, "Jalview"));
af.closeMenuItem_actionPerformed(true);
af=null;
int newdsann=countDsAnn(af.getViewport());
assertTrue("Differing numbers of dataset sequence annotation\nOriginally "+olddsann+" and now "+newdsann,olddsann==newdsann);
System.out.println("Read in same number of annotations as originally present ("+olddsann+")");
+ assertTrue("RNA helices colourscheme was not applied on import.",af.getViewport().getGlobalColourScheme() instanceof jalview.schemes.RNAHelicesColour);
}
@Test
public void testTCoffeeScores() throws Exception
assertTrue("Didn't set T-coffee colourscheme for imported project.",af.getViewport().getGlobalColourScheme().getClass().equals(jalview.schemes.TCoffeeColourScheme.class));
System.out.println("T-Coffee score shading successfully recovered from project.");
}
-
}