Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.963 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 90 | E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/client/session/parser/SQLSchemaImplTest.java |
2 | 10 | 103 | 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(); } |
| |||||
@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(); } |
| |||
@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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cc62480]] | testGetTables |
1 | 2 | [[#1cc62480]] | testGetTables_null_Catalog_and_Schema |
2 | 1 | [[#1cc62400]] | catalog |
2 | 2 | [[#1cc62400]] | null |
3 | 1 | [[#1cc62380]] | schema |
3 | 2 | [[#1cc62380]] | null |