public class FoldingPointXmlBeanTest extends BaseSQuirreLJUnit4TestCase { FoldingPointXmlBean classUnderTest = new FoldingPointXmlBean(); @Test public void testGetX() throws Exception { classUnderTest.setX(10); assertEquals(10, classUnderTest.getX()); } @Test public void testGetY() throws Exception { classUnderTest.setY(10); assertEquals(10, classUnderTest.getY())
public class PrintXmlBeanTest extends BaseSQuirreLJUnit4TestCase { PrintXmlBean classUnderTest = new PrintXmlBean(); @Test public void testGetEdgesScale() throws Exception { classUnderTest.setEdgesScale(10); assertEquals(10, classUnderTest.getEdgesScale()); } @Test public void testIsShowEdges() throws Exception { classUnderTest.setShowEdges(true); assertEquals(true, classUnderTest.isShowEdges())
Clone fragments detected by clone detection tool
File path: /sql12/test/src/net/sourceforge/squirrel_sql/plugins/graph/xmlbeans/FoldingPointXmlBeanTest.java File path: /sql12/test/src/net/sourceforge/squirrel_sql/plugins/graph/xmlbeans/PrintXmlBeanTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class FoldingPointXmlBeanTest extends BaseSQuirreLJUnit4TestCase {
1
public class PrintXmlBeanTest extends BaseSQuirreLJUnit4TestCase {
2
	FoldingPointXmlBean classUnderTest = new FoldingPointXmlBean();
2
	PrintXmlBean classUnderTest = new PrintXmlBean();
3
	@Test
3
	@Test
4
	public void testGetX() throws Exception
4
	public void testGetEdgesScale() throws Exception
5
	{
5
	{
6
		classUnderTest.setX(10);
6
		classUnderTest.setEdgesScale(10);
7
		assertEquals(10, classUnderTest.getX());
7
		assertEquals(10, classUnderTest.getEdgesScale());
8
	}
8
	}
9
	@Test
9
	@Test
10
	public void testGetY() throws Exception
10
	public void testIsShowEdges() throws Exception
11
	{
11
	{
12
		classUnderTest.setY(10);
12
		classUnderTest.setShowEdges(true);
13
		assertEquals(10, classUnderTest.getY())
13
		assertEquals(true, classUnderTest.isShowEdges())
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0