CloneSet467


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000statement_sequence[12]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116208
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/CategoryAxisTests.java
216164
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/ExtendedCategoryAxisTests.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
208
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/CategoryAxisTests.java

// check that changing a tick label font in a1 doesn't change a2
a1.setTickLabelFont("C1", null);
assertFalse(a1.equals(a2));
a2.setTickLabelFont("C1", null);
assertTrue(a1.equals(a2));
// check that changing a tick label paint in a1 doesn't change a2
a1.setTickLabelPaint("C1", Color.yellow);
assertFalse(a1.equals(a2));
a2.setTickLabelPaint("C1", Color.yellow);
assertTrue(a1.equals(a2));
// check that changing a category label tooltip in a1 doesn't change a2
a1.addCategoryLabelToolTip("C1", "XYZ");
assertFalse(a1.equals(a2));
a2.addCategoryLabelToolTip("C1", "XYZ");
assertTrue(a1.equals(a2));


First
Previous
Clone Instance
2
Line Count
16
Source Line
164
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/ExtendedCategoryAxisTests.java

// check that changing a tick label font in a1 doesn't change a2
a1.setTickLabelFont("C1", null);
assertFalse(a1.equals(a2));
a2.setTickLabelFont("C1", null);
assertTrue(a1.equals(a2));
// check that changing a tick label paint in a1 doesn't change a2
a1.setTickLabelPaint("C1", Color.yellow);
assertFalse(a1.equals(a2));
a2.setTickLabelPaint("C1", Color.yellow);
assertTrue(a1.equals(a2));
// check that changing a category label tooltip in a1 doesn't change a2
a1.addCategoryLabelToolTip("C1", "XYZ");
assertFalse(a1.equals(a2));
a2.addCategoryLabelToolTip("C1", "XYZ");
assertTrue(a1.equals(a2));


Clone AbstractionParameter Count: 0Parameter Bindings

// check that changing a tick label font in a1 doesn't change a2
a1.setTickLabelFont("C1", null);
assertFalse(a1.equals(a2));
a2.setTickLabelFont("C1", null);
assertTrue(a1.equals(a2));
// check that changing a tick label paint in a1 doesn't change a2
a1.setTickLabelPaint("C1", Color.yellow);
assertFalse(a1.equals(a2));
a2.setTickLabelPaint("C1", Color.yellow);
assertTrue(a1.equals(a2));
// check that changing a category label tooltip in a1 doesn't change a2
a1.addCategoryLabelToolTip("C1", "XYZ");
assertFalse(a1.equals(a2));
a2.addCategoryLabelToolTip("C1", "XYZ");
assertTrue(a1.equals(a2));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None