fr.inria.peerunit
Class TestRunner
java.lang.Object
fr.inria.peerunit.TestRunner
public class TestRunner
- extends java.lang.Object
A test on a peer is launched by a instance of the TestRunner class. Its role consists
to launch the right implementation of Tester interface, i.e centralized or distributed (the type
is set in the framework property file ), passing it as argument the Class instance corresponding
to the test case to perform.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- sunye, Aboubakar Koita
|
Constructor Summary |
TestRunner(java.lang.Class<?> klass,
TesterUtil tu)
Launch the right implementation of tester passing it as argument the Class
instance corresponding to the test case to execute. |
|
Method Summary |
static void |
main(java.lang.String[] args)
In the main method, we get the only argument corresponding to class name of
test case to perform. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestRunner
public TestRunner(java.lang.Class<?> klass,
TesterUtil tu)
- Launch the right implementation of tester passing it as argument the Class
instance corresponding to the test case to execute.
- Parameters:
klass - theClass instance corresponding to the test case to execute
main
public static void main(java.lang.String[] args)
- In the main method, we get the only argument corresponding to class name of
test case to perform. We load the Class corresponding and we
create a
TestRunner instance.
- Parameters:
args - The only argument should be a class name of test case to execute
Copyright © 2010. All Rights Reserved.