ClassTester

public void ClassTester(String packageName, String className, double similarity, int accessModifier, Class<? super T> superClass, List<IdentifierMatcher> implementsInterfaces, T classInstance)(source)

Constructs and initializes a class tester.

Parameters

packageName

the package name of the class to be tested

className

the name of the class that should be tested

similarity

the maximum allowed name similarity to match

accessModifier

the expected access modifier

superClass

the expected super class

implementsInterfaces

the matcher used for the interfaces that are expected to be implemented

classInstance

the class instance of the tested class


public void ClassTester(String packageName, String className, double similarity, int accessModifier, Class<? super T> superClass, ArrayList<IdentifierMatcher> implementsInterfaces)(source)

Constructs and initializes a class tester.

Parameters

packageName

the package name of the class to be tested

className

the name of the class that should be tested

similarity

the maximum allowed name similarity to match

accessModifier

the expected access modifier

superClass

the expected super class

implementsInterfaces

the matcher used for the interfaces that are expected to be implemented


public void ClassTester(String packageName, String className, double similarity, int accessModifier)(source)

Constructs and initializes a class tester.

Parameters

packageName

the package name of the class to be tested

className

the name of the class that should be tested

similarity

the maximum allowed name similarity to match

accessModifier

the expected access modifier


public void ClassTester(String packageName, String className, double similarity)(source)

Constructs and initializes a class tester.

Parameters

packageName

the package name of the class to be tested

className

the name of the class that should be tested

similarity

the maximum allowed name similarity to match


public void ClassTester(String packageName, String className)(source)

Constructs and initializes a class tester.

Parameters

packageName

the package name of the class to be tested

className

the name of the class that should be tested


public void ClassTester(Class<T> clazz)(source)

Constructs and initializes a class tester.

Parameters

clazz

the class to be tested