| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main class of the TCK.
|
static boolean |
run(Reporter reporter)
Run the full test suite using standard Objenesis instances
|
static boolean |
runParentConstructorTest(Objenesis objenesis)
A special test making sure the first none serializable class no-args constructor is called
|
static void |
runSerializerTest(Objenesis objenesis,
Reporter reporter)
Run the serializing suite on the provided Objenesis instance
|
static void |
runStandardTest(Objenesis objenesis,
Reporter reporter)
Run the standard suite on the provided Objenesis instance
|
static void |
runTest(Objenesis objenesis,
Reporter reporter,
String description,
String candidates)
Run a suite of tests (candidates) on the Objenesis instance, sending the results to the
reporter
|
public static void main(String[] args) throws IOException
args - No parameters are requiredIOException - When the TCK fails to read properties' files.public static boolean run(Reporter reporter)
reporter - result are recorded in the reporterIOExceptionpublic static void runSerializerTest(Objenesis objenesis, Reporter reporter)
reporter - result are recorded in the reporterobjenesis - Objenesis instance to testIOExceptionpublic static void runStandardTest(Objenesis objenesis, Reporter reporter)
reporter - result are recorded in the reporterobjenesis - Objenesis instance to testIOExceptionpublic static boolean runParentConstructorTest(Objenesis objenesis)
objenesis - Objenesis instance to testIOExceptionpublic static void runTest(Objenesis objenesis, Reporter reporter, String description, String candidates)
objenesis - Objenesis instance to testreporter - result are recorded in the reporterdescription - description of the ran suitecandidates - property file containing a list of classes to test (key) and their
description (value)Copyright © 2006–2016 Joe Walnes, Henri Tremblay, Leonardo Mesquita. All rights reserved.