| Update of /cvsroot/clirr/clirr/core/src/testinput/testlib-v1/testlib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10031/testinput/testlib-v1/testlib
Added Files:
	AbstractImpl.java ApplicationException.java BaseInterface.java 
	BaseMembers.java ChangingHierarchy.java 
	ClassBecomesInterface.java ComplexMethodMoveBase.java 
	ComplexMethodMoveSub.java InterfaceBecomesClass.java 
	MembersChange.java MethodsChange.java 
Log Message:
added test input files
--- NEW FILE ---
package testlib;
public abstract class AbstractImpl implements BaseInterface
{
    public abstract void method();
}
--- NEW FILE ---
package testlib;
public class ApplicationException extends RuntimeException
{
}
--- NEW FILE ---
package testlib;
public interface BaseInterface
{
    void method();
}
--- NEW FILE ---
package testlib;
public class BaseMembers
{
    public static int base1 = 0;
    public int base2 = 0;
}
--- NEW FILE ---
package testlib;
public class ChangingHierarchy extends java.awt.event.MouseAdapter
{
}
--- NEW FILE ---
package testlib;
public class ClassBecomesInterface
{
}
--- NEW FILE ---
package testlib;
public class ComplexMethodMoveBase
{
}
--- NEW FILE ---
package testlib;
public class ComplexMethodMoveSub extends ComplexMethodMoveBase
{
    // will move to ComplexMethodMoveBase in v2
    public void moveToSuper() {}
}
--- NEW FILE ---
package testlib;
public interface InterfaceBecomesClass
{
}
--- NEW FILE ---
package testlib;
public class MembersChange extends BaseMembers
{
    public static int stat1 = 0;
    public static int stat2 = 0;
    public static int stat3 = 0;
    public static int stat4 = 0;
    public static int stat5 = 0;
    public static int stat6 = 0;
    public static int stat7 = 0;
    public static final int fin1 = 0;
    public static final int fin2 = 0;
    public static final int fin3 = 0;
    public static final int fin4 = 0;
    public static final int fin5 = 0;
    public static final boolean fin6 = false;
    public int pub1 = 0;
    public int pub2 = 0;
    public int pub3 = 0;
    public int pub4 = 0;
    protected int prot1 = 0;
    protected int prot2 = 0;
    protected int prot3 = 0;
    protected int prot4 = 0;
    public Object obj1 = new String();
    public Boolean obj2 = Boolean.FALSE;
    private int priv1 = 0;
    private int priv2 = 0;
}
--- NEW FILE ---
package testlib;
import java.io.IOException;
public class MethodsChange
{
    private int priv;
    
    static
    {
	System.out.println("static initializer");
    }
    {
	System.out.println("non-static initializer");
    }
    public MethodsChange()
    {
	priv = 2;
    }
    protected MethodsChange(int initialpriv)
    {
	priv = initialpriv;
    }
    public int getPriv()
    {
	return priv;
    }
    public int getPriv2()
    {
	return priv;
    }
    public Integer getPrivAsInteger()
    {
	return new Integer(priv);
    }
    public Number getPrivAsNumber()
    {
	return new Integer(priv);
    }
    public void printPriv()
    {
	System.out.println(priv);
    }
    public void removedMethod(String x)
    {
    }
    public void weakenParamType(String s)
    {
    }
    public void strengthenParamType(Object s)
    {
    }
    public void changeParamType(String s)
    {
    }
    public void throwIOException() throws IOException
    {
	throw new java.io.IOException();
    }
    public void throwException() throws Exception
    {
	throw new java.io.IOException();
    }
    public void throwException2() throws Exception
    {
	throw new Exception();
    }
    public void throwRuntimeException() throws RuntimeException
    {
	throw new RuntimeException();
    }
    public void throwNoRuntimeException()
    {
    }
    public void throwNoException()
    {
    }
    /** This method will be deprecated in the later version. */
    public void becomesDeprecated()
    {
    }
    /**
     * This method will be "undeprecated" in the later version.
     *
     * @deprecated this is a bad method.
     */
    public void becomesUndeprecated()
    {
    }
}
 |