CloneSet268


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
28330.980compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12819
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/SchemaExpanderTest.java
22719
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/SequenceParentExpanderTest.java
32619
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/UDFParentExpanderTest.java
Next
Last
Clone Instance
1
Line Count
28
Source Line
19
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/SchemaExpanderTest.java

/*
 * Copyright (C) 2008 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package net.sourceforge.squirrel_sql.plugins.db2.exp;

import java.sql.SQLException;
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.AbstractINodeExpanderTest;
import org.junit.Before;
import org.junit.Test;

public class SchemaExpanderTest extends AbstractINodeExpanderTest {
  @Before public void setUp() throws Exception {
    classUnderTest = new SchemaExpander(false);
  }

  @Test public void testOS400() throws SQLException {
    classUnderTest = new SequenceParentExpander(true);
    super.testCreateChildren();
  }
}




Next
Previous
Clone Instance
2
Line Count
27
Source Line
19
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/SequenceParentExpanderTest.java

/*
 * Copyright (C) 2008 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package net.sourceforge.squirrel_sql.plugins.db2.exp;

import java.sql.SQLException;
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.AbstractINodeExpanderTest;
import org.junit.Before;
import org.junit.Test;

public class SequenceParentExpanderTest extends AbstractINodeExpanderTest {
  @Before public void setUp() throws Exception {
    classUnderTest = new SequenceParentExpander(false);
  }

  @Test public void testOS400() throws SQLException {
    classUnderTest = new SequenceParentExpander(true);
    super.testCreateChildren();
  }
}




First
Previous
Clone Instance
3
Line Count
26
Source Line
19
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/UDFParentExpanderTest.java

/*
 * Copyright (C) 2008 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package net.sourceforge.squirrel_sql.plugins.db2.exp;

import java.sql.SQLException;
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.AbstractINodeExpanderTest;
import org.junit.Before;
import org.junit.Test;

public class UDFParentExpanderTest extends AbstractINodeExpanderTest {
  @Before public void setUp() throws Exception {
    classUnderTest = new UDFParentExpander(false);
  }

  @Test public void testOS400() throws SQLException {
    classUnderTest = new UDFParentExpander(true);
    super.testCreateChildren();
  }
}




Clone AbstractionParameter Count: 3Parameter Bindings

/*
 * Copyright (C) 2008 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package net.sourceforge.squirrel_sql.plugins.db2.exp;

import java.sql.SQLException;
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.AbstractINodeExpanderTest;
import org.junit.Before;
import org.junit.Test;

public class [[#variable18db22e0]]extends AbstractINodeExpanderTest {
  @Before public void setUp() throws Exception {
    classUnderTest = new [[#variable18db2260]](false);
  }

  @Test public void testOS400() throws SQLException {
    classUnderTest = new [[#variable18db21c0]](true);
    super.testCreateChildren();
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18db22e0]]
SchemaExpanderTest 
12[[#18db22e0]]
SequenceParentExpanderTest 
13[[#18db22e0]]
UDFParentExpanderTest 
21[[#18db2260]]
SchemaExpander 
22[[#18db2260]]
SequenceParentExpander 
23[[#18db2260]]
UDFParentExpander 
31[[#18db21c0]]
SequenceParentExpander 
32[[#18db21c0]]
SequenceParentExpander 
33[[#18db21c0]]
UDFParentExpander