public class Main
extends java.lang.Object
TCK
Modifier and Type | Class and Description |
---|---|
private static class |
Main.MockClass |
private static class |
Main.MockSuperClass |
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.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,
java.lang.String description,
java.lang.String candidates)
Run a suite of tests (candidates) on the Objenesis instance, sending the results to the
reporter
|
public static void main(java.lang.String[] args) throws java.io.IOException
args
- No parameters are requiredjava.io.IOException
- When the TCK fails to read properties' files.public static boolean run(Reporter reporter)
reporter
- result are recorded in the reporterjava.io.IOException
public static void runSerializerTest(Objenesis objenesis, Reporter reporter)
reporter
- result are recorded in the reporterobjenesis
- Objenesis instance to testjava.io.IOException
public static void runStandardTest(Objenesis objenesis, Reporter reporter)
reporter
- result are recorded in the reporterobjenesis
- Objenesis instance to testjava.io.IOException
public static boolean runParentConstructorTest(Objenesis objenesis)
objenesis
- Objenesis instance to testjava.io.IOException
public static void runTest(Objenesis objenesis, Reporter reporter, java.lang.String description, java.lang.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)