Package org.objenesis.tck
Class CandidateLoader
java.lang.Object
org.objenesis.tck.AbstractLoader
org.objenesis.tck.CandidateLoader
Loads a set of candidate classes from a properties file into the TCK.
The properties file takes the form of candidateClassName=shortDescription.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.objenesis.tck.AbstractLoader
AbstractLoader.ErrorHandler, AbstractLoader.LoggingErrorHandler -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandlePropertyEntry(Class<?> clazz, String description, Candidate.CandidateType type) Will receive one class and its description pairs from the fileMethods inherited from class org.objenesis.tck.AbstractLoader
loadFrom, loadFromResource
-
Field Details
-
tck
-
-
Constructor Details
-
CandidateLoader
- Parameters:
tck- TCK that will use the candidateserrorHandler- Handler called in case of error
-
-
Method Details
-
handlePropertyEntry
protected void handlePropertyEntry(Class<?> clazz, String description, Candidate.CandidateType type) Description copied from class:AbstractLoaderWill receive one class and its description pairs from the file- Specified by:
handlePropertyEntryin classAbstractLoader- Parameters:
clazz- class on the linedescription- description of the classtype- type of the candidate
-