*
* @param harness the test harness (<code>null</code> not permitted).
*/
public void test(TestHarness harness)
{
SimpleAttributeSet s = new SimpleAttributeSet();
// check default
harness.check(StyleConstants.getTabSet(s), null);
// check local setting
TabStop[] tabs1 = new TabStop[] {new TabStop(8.0f)};
TabSet ts1 = new TabSet(tabs1);
StyleConstants.setTabSet(s, ts1);
harness.check(StyleConstants.getTabSet(s), ts1);
// check resolving parent setting
s.removeAttribute(StyleConstants.TabSet);
SimpleAttributeSet parent = new SimpleAttributeSet();
s.setResolveParent(parent);
TabStop[] tabs2 = new TabStop[] {new TabStop(10.0f)};
TabSet ts2 = new TabSet(tabs2);
StyleConstants.setTabSet(parent, ts2);
harness.check(StyleConstants.getTabSet(s), ts2);