assertEquals((isHarmony() ? 13 : 12) * CHAR_WIDTH, sr.preferred);
assertEquals(Integer.MAX_VALUE, sr.maximum);
}
public void testCalculateMinorAxisRequirements02() throws Exception {
view = new ParagraphViewImpl(doc.getParagraphElement(20), factory);
SizeRequirements sr =
view.calculateMinorAxisRequirements(View.X_AXIS, null);
assertEquals(8 * CHAR_WIDTH, sr.minimum);
assertEquals((isHarmony() ? 14 : 13) * CHAR_WIDTH, sr.preferred);
assertEquals(Integer.MAX_VALUE, sr.maximum);