public class BidirectionalOneToManyBagSubclassCollectionEventTest extends BidirectionalOneToManyBagCollectionEventTest { public BidirectionalOneToManyBagSubclassCollectionEventTest(String string) { super( string ); } public static Test suite() { return new FunctionalTestClassTestSuite( BidirectionalOneToManyBagSubclassCollectionEventTest.class ); } public String[] getMappings() { return new String[] { "event/collection/association/bidirectional/onetomany/BidirectionalOneToManyBagSubclassMapping.hbm.xml" }; } public ParentWithCollection createParent(String name) { return new ParentWithBidirectionalOneToManySubclass( name );
public class OracleCustomSQLTest extends CustomStoredProcTestSupport { public OracleCustomSQLTest(String str) { super(str); } public String[] getMappings() { return new String[] { "sql/hand/custom/oracle/Mappings.hbm.xml", "sql/hand/custom/oracle/StoredProcedures.hbm.xml" }; } public static Test suite() { return new FunctionalTestClassTestSuite( OracleCustomSQLTest.class ); } public boolean appliesTo(Dialect dialect) { return ( dialect instanceof Oracle9iDialect );
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/event/collection/association/bidirectional/onetomany/BidirectionalOneToManyBagSubclassCollectionEventTest.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/oracle/OracleCustomSQLTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class BidirectionalOneToManyBagSubclassCollectionEventTest extends BidirectionalOneToManyBagCollectionEventTest {
1
public class 
2
	public BidirectionalOneToManyBagSubclassCollectionEvent
2
OracleCustomSQLTest extends CustomStoredProcTestSupport {
3
Test(String string) {
3
	public OracleCustomSQLTest(String str) {
4
		super( string );
4
		super(str);
5
	}
5
	}
6
	public static Test suite() {
6
	public 
7
		return new FunctionalTestClassTestSuite( BidirectionalOneToManyBagSubclassCollectionEventTest.class );
8
	}
9
	public String[] getMappings() {
10
		return new String[] { "event/collection/association/bidirectional/onetomany/BidirectionalOneToManyBagSubclassMapping.hbm.xml" }
7
String[] getMappings() {
8
		return new String[] { "sql/hand/custom/oracle/Mappings.hbm.xml", "sql/hand/custom/oracle/StoredProcedures.hbm.xml" };
9
	}
10
	public static Test suite() {
11
;
11
		return new FunctionalTestClassTestSuite( OracleCustomSQLTest.class );
12
	}
12
	}
13
	public ParentWithCollection createParent(String name) {
13
	public 
14
		return new ParentWithBidirectionalOneToManySubclass( name
14
boolean appliesTo(Dialect dialect) {
15
 );
15
		return ( dialect instanceof Oracle9iDialect );
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