CloneSet695


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.963method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11090
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/client/session/parser/SQLSchemaImplTest.java
210103
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/client/session/parser/SQLSchemaImplTest.java
Next
Last
Clone Instance
1
Line Count
10
Source Line
90
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/client/session/parser/SQLSchemaImplTest.java

@Test public void testGetTables() {
  expect(mockSchemaInfo.getTables()).andReturn(tables);
  mockHelper.replayAll();
  classUnderTest = new SQLSchemaImpl(mockSession);
  List<SQLSchema.Table> result = classUnderTest.getTables(catalog, schema, name);
  assertEquals(tables.length, result.size());
  mockHelper.verifyAll();
}


First
Previous
Clone Instance
2
Line Count
10
Source Line
103
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/client/session/parser/SQLSchemaImplTest.java

@Test public void testGetTables_null_Catalog_and_Schema() {
  expect(mockSchemaInfo.getTables()).andReturn(tables);
  mockHelper.replayAll();
  classUnderTest = new SQLSchemaImpl(mockSession);
  List<SQLSchema.Table> result = classUnderTest.getTables(null, null, name);
  assertEquals(tables.length, result.size());
  mockHelper.verifyAll();
}


Clone AbstractionParameter Count: 3Parameter Bindings

@Test public void [[#variable1cc62480]]() {
  expect(mockSchemaInfo.getTables()).andReturn(tables);
  mockHelper.replayAll();
  classUnderTest = new SQLSchemaImpl(mockSession);
  List<SQLSchema.Table> result = classUnderTest.getTables( [[#variable1cc62400]],  [[#variable1cc62380]], name);
  assertEquals(tables.length, result.size());
  mockHelper.verifyAll();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cc62480]]
testGetTables 
12[[#1cc62480]]
testGetTables_null_Catalog_and_Schema 
21[[#1cc62400]]
catalog 
22[[#1cc62400]]
null 
31[[#1cc62380]]
schema 
32[[#1cc62380]]
null