CloneSet203


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26220.974compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12619
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/mappers/GlobMapperTest.java
22619
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/mappers/RegexpPatternMapperTest.java
Next
Last
Clone Instance
1
Line Count
26
Source Line
19
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/mappers/GlobMapperTest.java

/*
 *  Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  See the NOTICE file distributed with
 *  this work for additional information regarding copyright ownership.
 *  The ASF licenses this file to You under the Apache License, Version 2.0
 *  (the "License"); you may not use this file except in compliance with
 *  the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */
package org.apache.tools.ant.types.mappers;

import org.apache.tools.ant.BuildFileTest;

/**
 * Testcase for the <globmapper> mapper.
 *
 */
public class GlobMapperTest extends BuildFileTest {
  public GlobMapperTest(String name) {
    super(name);
  }

  public void setUp() {
    configureProject("src/etc/testcases/types/mappers/globmapper.xml");
  }

  public void testIgnoreCase() {
    executeTarget("ignore.case");
  }

  public void testHandleDirSep() {
    executeTarget("handle.dirsep");
  }
}




First
Previous
Clone Instance
2
Line Count
26
Source Line
19
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/mappers/RegexpPatternMapperTest.java

/*
 *  Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  See the NOTICE file distributed with
 *  this work for additional information regarding copyright ownership.
 *  The ASF licenses this file to You under the Apache License, Version 2.0
 *  (the "License"); you may not use this file except in compliance with
 *  the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */
package org.apache.tools.ant.types.mappers;

import org.apache.tools.ant.BuildFileTest;

/**
 * Testcase for the <regexpmapper> mapper.
 *
 */
public class RegexpPatternMapperTest extends BuildFileTest {
  public RegexpPatternMapperTest(String name) {
    super(name);
  }

  public void setUp() {
    configureProject("src/etc/testcases/types/mappers/regexpmapper.xml");
  }

  public void testIgnoreCase() {
    executeTarget("ignore.case");
  }

  public void testHandleDirSep() {
    executeTarget("handle.dirsep");
  }
}




Clone AbstractionParameter Count: 2Parameter Bindings

/*
 *  Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  See the NOTICE file distributed with
 *  this work for additional information regarding copyright ownership.
 *  The ASF licenses this file to You under the Apache License, Version 2.0
 *  (the "License"); you may not use this file except in compliance with
 *  the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */
package org.apache.tools.ant.types.mappers;

import org.apache.tools.ant.BuildFileTest;

/**
 * Testcase for the <globmapper> mapper.
 *
 */
/**
 * Testcase for the <regexpmapper> mapper.
 *
 */
public class [[#variablefe4af40]]extends BuildFileTest {
  public [[#variablefe4af40]](String name) {
    super(name);
  }

  public void setUp() {
    configureProject( [[#variablefe4afa0]]);
  }

  public void testIgnoreCase() {
    executeTarget("ignore.case");
  }

  public void testHandleDirSep() {
    executeTarget("handle.dirsep");
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#fe4af40]]
GlobMapperTest 
12[[#fe4af40]]
RegexpPatternMapperTest 
21[[#fe4afa0]]
"src/etc/testcases/types/mappers/globmapper.xml" 
22[[#fe4afa0]]
"src/etc/testcases/types/mappers/regexpmapper.xml"