public class CGLIBInstrumentationTest extends AbstractTransformingClassLoaderInstrumentTestCase { public CGLIBInstrumentationTest(String string) { super( string ); } protected BytecodeProvider buildBytecodeProvider() { return new BytecodeProviderImpl(); } public static Test suite() { return new TestSuite( CGLIBInstrumentationTest.class ); } public void testSetFieldInterceptor() { super.testSetFieldInterceptor(); //To change body of overridden methods use File | Settings | File Templates. } public void testDirtyCheck() { super.testDirtyCheck(); //To change body of overridden methods use File | Settings | File Templates. } public void testFetchAll() throws Exception { super.testFetchAll(); //To change body of overridden methods use File | Settings | File Templates. } public void testLazy() { super.testLazy(); //To change body of overridden methods use File | Settings | File Templates. } public void testLazyManyToOne() { super.testLazyManyToOne(); //To change body of overridden methods use File | Settings | File Templates. } public void testPropertyInitialized() { super.testPropertyInitialized(); //To change body of overridden methods use File | Settings | File Templates. } public void testManyToOneProxy() { super.testManyToOneProxy(); //To change body of overridden methods use File | Settings | File Templates. } public void testSharedPKOneToOne() { super.testSharedPKOneToOne()
public class JavassistInstrumentationTest extends AbstractTransformingClassLoaderInstrumentTestCase { public JavassistInstrumentationTest(String string) { super( string ); } protected BytecodeProvider buildBytecodeProvider() { return new BytecodeProviderImpl(); } public static Test suite() { return new TestSuite( JavassistInstrumentationTest.class ); } public void testSetFieldInterceptor() { super.testSetFieldInterceptor(); } public void testDirtyCheck() { super.testDirtyCheck(); } public void testFetchAll() throws Exception { super.testFetchAll(); } public void testLazy() { super.testLazy(); } public void testLazyManyToOne() { super.testLazyManyToOne(); } public void testPropertyInitialized() { super.testPropertyInitialized(); } public void testManyToOneProxy() { super.testManyToOneProxy(); } public void testSharedPKOneToOne() { super.testSharedPKOneToOne()
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/instrument/runtime/CGLIBInstrumentationTest.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/instrument/runtime/JavassistInstrumentationTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class CGLIBInstrumentationTest extends AbstractTransformingClassLoaderInstrumentTestCase {
1
public class JavassistInstrumentationTest extends AbstractTransformingClassLoaderInstrumentTestCase {
2
	public CGLIBInstrumentationTest(String string) {
2
	public JavassistInstrumentationTest(String string) {
3
		super( string );
3
		super( string );
4
	}
4
	}
5
	protected BytecodeProvider buildBytecodeProvider() {
5
	protected BytecodeProvider buildBytecodeProvider() {
6
		return new BytecodeProviderImpl();
6
		return new BytecodeProviderImpl();
7
	}
7
	}
8
	public static Test suite() {
8
	public static Test suite() {
9
		return new TestSuite( CGLIBInstrumentationTest.class );
9
		return new TestSuite( JavassistInstrumentationTest.class );
10
	}
10
	}
11
	public void testSetFieldInterceptor() {
11
	public void testSetFieldInterceptor() {
12
		super.testSetFieldInterceptor();    //To change body of overridden methods use File | Settings | File Templates.
12
		super.testSetFieldInterceptor();
13
	}
14
	public void testDirtyCheck() {
15
		super.testDirtyCheck();    //To change body of overridden methods use File | Settings | File Templates.
16
	}
17
	public void testFetchAll() throws Exception {
18
		super.testFetchAll();    //To change body of overridden methods use File | Settings | File Templates.
19
	}
20
	public void testLazy() {
21
		super.testLazy();    //To change body of overridden methods use File | Settings | File Templates.
22
	}
23
	public void testLazyManyToOne() {
24
		super.testLazyManyToOne();    //To change body of overridden methods use File | Settings | File Templates.
25
	}
26
	public void testPropertyInitialized() {
27
		super.testPropertyInitialized();    //To change body of overridden methods use File | Settings | File Templates.
28
	}
29
	public void testManyToOneProxy() {
30
		super.testManyToOneProxy();    //To change body of overridden methods use File | Settings | File Templates.
13
	}
14
	public void testDirtyCheck() {
15
		super.testDirtyCheck();
16
	}
17
	public void testFetchAll() throws Exception {
18
		super.testFetchAll();
19
	}
20
	public void testLazy() {
21
		super.testLazy();
22
	}
23
	public void testLazyManyToOne() {
24
		super.testLazyManyToOne();
25
	}
26
	public void testPropertyInitialized() {
27
		super.testPropertyInitialized();
28
	}
29
	public void testManyToOneProxy() {
30
		super.testManyToOneProxy();
31
	}
31
	}
32
	public void testSharedPKOneToOne() {
32
	public void testSharedPKOneToOne() {
33
		super.testSharedPKOneToOne()
33
		super.testSharedPKOneToOne()
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