import static org.testng.Assert.assertEquals;
import jalview.bin.Cache;
+import jalview.bin.Jalview;
import jalview.datamodel.AlignmentI;
import jalview.io.DataSourceType;
import jalview.io.FileLoader;
public void setUp()
{
Cache.initLogger();
+ Jalview.setSynchronous(true);
}
/**
testee.calculateWrappedGeometry(canvasWidth, canvasHeight);
int repeatingHeight = (int) PA.getValue(testee,
"wrappedRepeatHeightPx");
-
assertEquals(av.getRanges().getEndSeq(), 3,
- "av.getRanges endseq=" + av.getRanges().getEndSeq() + " repht "
- + repeatingHeight + " x="
- + (charHeight * (2 + al.getHeight()))); // unchanged
+ "endSeq should be 3; av.getRanges=" + av.getRanges()); // unchanged
assertEquals(repeatingHeight, charHeight * (2 + al.getHeight()));
}
}