MethodTester

public void MethodTester(ClassTester<? extends Object> classTester, String methodName, double similarity, int accessModifier, Class<? extends Object> returnType, List<ParameterMatcher> parameters, boolean allowSuperClass)(source)

Constructs and initializes a method tester.

Parameters

classTester

the class tester used to invoke the method

methodName

the expected method name to test

similarity

the minimum matching similarity

accessModifier

the expected access modifier count

returnType

the expected return type of the method

parameters

the expected parameters of the method

allowSuperClass

the indicator @param allowSuperClass the indicator if super class check are allowed


public void MethodTester(ClassTester<? extends Object> classTester, String methodName, double similarity, int accessModifier, Class<? extends Object> returnType, List<ParameterMatcher> parameters)(source)

Constructs and initializes a method tester.

Parameters

classTester

the class tester used to invoke the method

methodName

the expected method name to test

similarity

the minimum matching similarity

accessModifier

the expected access modifier count

returnType

the expected return type of the method

parameters

the expected parameters of the method


public void MethodTester(ClassTester<? extends Object> classTester, String methodName, double similarity, int accessModifier, Class<? extends Object> returnType, ArrayList<ParameterMatcher> parameters, boolean allowSuperClass, boolean looseReturnTypeChecking)(source)

Constructs and initializes a method tester.

Parameters

classTester

the class tester used to invoke the method

methodName

the expected method name to test

similarity

the minimum matching similarity

accessModifier

the expected access modifier count

returnType

the expected return type of the method

parameters

the expected parameters of the method

allowSuperClass

the indicator if super class check are allowed


public void MethodTester(ClassTester<? extends Object> classTester, String methodName, double similarity, int accessModifier, Class<? extends Object> returnType)(source)

Constructs and initializes a method tester.

Parameters

classTester

the class tester used to invoke the method

methodName

the expected method name to test

similarity

the minimum matching similarity

accessModifier

the expected access modifier count

returnType

the expected return type of the method


public void MethodTester(ClassTester<? extends Object> classTester, String methodName, double similarity, int accessModifier)(source)

Constructs and initializes a method tester.

Parameters

classTester

the class tester used to invoke the method

methodName

the expected method name to test

similarity

the minimum matching similarity

accessModifier

the expected access modifier count


public void MethodTester(ClassTester<? extends Object> classTester, String methodName, double similarity, Class<? extends Object> returnType, ArrayList<ParameterMatcher> parameters)(source)

Constructs and initializes a method tester.

Parameters

classTester

the class tester used to invoke the method

methodName

the expected method name to test

similarity

the minimum matching similarity

returnType

the expected return type of the method

parameters

the expected parameters of the method


public void MethodTester(ClassTester<? extends Object> classTester, String methodName, double similarity)(source)

Constructs and initializes a method tester.

Parameters

classTester

the class tester used to invoke the method

methodName

the expected method name to test

similarity

the minimum matching similarity


public void MethodTester(ClassTester<? extends Object> classTester, String methodName)(source)

Constructs and initializes a method tester.

Parameters

classTester

the class tester used to invoke the method

methodName

the expected method name to test