public class DataDirectOracleCustomSQLTest extends CustomStoredProcTestSupport { public DataDirectOracleCustomSQLTest(String str) { super(str); } public String[] getMappings() { return new String[] { "sql/hand/custom/oracle/Mappings.hbm.xml", "sql/hand/custom/datadirect/oracle/StoredProcedures.hbm.xml" }; } public static Test suite() { return new FunctionalTestClassTestSuite( DataDirectOracleCustomSQLTest.class ); } public boolean appliesTo(Dialect dialect) { return ( dialect instanceof DataDirectOracle9Dialect )
public class DB2CustomSQLTest extends CustomStoredProcTestSupport { public DB2CustomSQLTest(String str) { super(str); } public String[] getMappings() { return new String[] { "sql/hand/custom/db2/Mappings.hbm.xml" }; } public static Test suite() { return new FunctionalTestClassTestSuite( DB2CustomSQLTest.class ); } public boolean appliesTo(Dialect dialect) { return ( dialect instanceof DB2Dialect)
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/datadirect/oracle/DataDirectOracleCustomSQLTest.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/DB2CustomSQLTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class DataDirectOracleCustomSQLTest extends CustomStoredProcTestSupport {
1
public class DB2CustomSQLTest extends CustomStoredProcTestSupport {
2
	
2
	
3
	public DataDirectOracleCustomSQLTest(String str) {
3
	public DB2CustomSQLTest(String str) {
4
		super(str);
4
		super(str);
5
	}
5
	}
6
	public String[] getMappings() {
6
	public String[] getMappings() {
7
		return new String[] { "sql/hand/custom/oracle/Mappings.hbm.xml", "sql/hand/custom/datadirect/oracle/StoredProcedures.hbm.xml" };
7
		return new String[] { "sql/hand/custom/db2/Mappings.hbm.xml" };
8
	}
8
	}
9
	public static Test suite() {
9
	public static Test suite() {
10
		return new FunctionalTestClassTestSuite( DataDirectOracleCustomSQLTest.class );
10
		return new FunctionalTestClassTestSuite( DB2CustomSQLTest.class );
11
	}
11
	}
12
	public boolean appliesTo(Dialect dialect) {
12
	public boolean appliesTo(Dialect dialect) {
13
		return ( dialect instanceof DataDirectOracle9Dialect )
13
		return ( dialect instanceof DB2Dialect)
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