public class ConstraintViewXmlBeanTest extends BaseSQuirreLJUnit4TestCase { ConstraintViewXmlBean classUnderTest = new ConstraintViewXmlBean(); @Test public void testGetConstraintGraphXmlBean() throws Exception { classUnderTest.setConstraintGraphXmlBean(null); assertNull("aTestString", classUnderTest.getConstraintGraphXmlBean()); } @Test public void testGetConstraintDataXmlBean() throws Exception { classUnderTest.setConstraintDataXmlBean(null); assertNull("aTestString", classUnderTest.getConstraintDataXmlBean());
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());
Clone fragments detected by clone detection tool
File path: /sql12/test/src/net/sourceforge/squirrel_sql/plugins/graph/xmlbeans/ConstraintViewXmlBeanTest.java File path: /sql12/test/src/net/sourceforge/squirrel_sql/plugins/graph/xmlbeans/FoldingPointXmlBeanTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ConstraintViewXmlBeanTest extends BaseSQuirreLJUnit4TestCase {
1
public class FoldingPointXmlBeanTest extends BaseSQuirreLJUnit4TestCase {
2
	ConstraintViewXmlBean classUnderTest = new ConstraintViewXmlBean();
2
	FoldingPointXmlBean classUnderTest = new FoldingPointXmlBean();
3
	@Test
3
	@Test
4
	public void testGetConstraintGraphXmlBean() throws Exception
4
	public void testGetX() throws Exception
5
	{
5
	{
6
		classUnderTest.setConstraintGraphXmlBean(null);
6
		classUnderTest.set
7
		assertNull("aTestString", classUnderTest.getConstraintGraphXmlBean
7
X(10);
8
());
8
		assertEquals(10, classUnderTest.getX());
9
	}
9
	}
10
	@Test
10
	@Test
11
	public void testGetConstraintDataXmlBean() throws Exception
11
	public void testGetY() throws Exception
12
	{
12
	{
13
		classUnderTest.setConstraintDataXmlBean(null);
13
		classUnderTest.set
14
		assertNull("aTestString", classUnderTest.getConstraintDataXmlBean
14
Y(10);
15
());
15
		assertEquals(10, classUnderTest.getY());
16
	
16
	
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