@Test public void testTypeDefDiff_Arrays_SameType_DifferentSize() { DataType t1 = new IntegerDataType(); ArrayDataType a1 = new ArrayDataType(t1, 4, t1.getLength()); DataType t2 = new IntegerDataType(); ArrayDataType a2 = new ArrayDataType(t2, 2, t2.getLength()); TypedefDataType td1 = new TypedefDataType("TypeDef", a1); TypedefDataType td2 = new TypedefDataType("TypeDef", a2); TypeDefDataTypeHTMLRepresentation r1 = new TypeDefDataTypeHTMLRepresentation(td1); TypeDefDataTypeHTMLRepresentation r2 = new TypeDefDataTypeHTMLRepresentation(td2); HTMLDataTypeRepresentation[] diff = r1.diff(r2); showDiffs(diff[0], diff[1]); assertOnlyTypeDefBodySizeDifferent(diff); }
public abstract HTMLDataTypeRepresentation[] diff( HTMLDataTypeRepresentation otherRepresentation);
HTMLDataTypeRepresentation { public abstract HTMLDataTypeRepresentation[] diff( HTMLDataTypeRepresentation otherRepresentation); }
HTMLDataTypeRepresentation { public abstract HTMLDataTypeRepresentation[] diff( HTMLDataTypeRepresentation otherRepresentation); protected  HTMLDataTypeRepresentation(); protected  HTMLDataTypeRepresentation(String htmlText); }
HTMLDataTypeRepresentation { public abstract HTMLDataTypeRepresentation[] diff( HTMLDataTypeRepresentation otherRepresentation); protected  HTMLDataTypeRepresentation(); protected  HTMLDataTypeRepresentation(String htmlText); String getHTMLString(); String getHTMLContentString(); abstract HTMLDataTypeRepresentation[] diff(
			HTMLDataTypeRepresentation otherRepresentation); }
HTMLDataTypeRepresentation { public abstract HTMLDataTypeRepresentation[] diff( HTMLDataTypeRepresentation otherRepresentation); protected  HTMLDataTypeRepresentation(); protected  HTMLDataTypeRepresentation(String htmlText); String getHTMLString(); String getHTMLContentString(); abstract HTMLDataTypeRepresentation[] diff(
			HTMLDataTypeRepresentation otherRepresentation);  }