org.faktorips.runtime.test
Class SocketIpsTestRunner
java.lang.Object
org.faktorips.runtime.test.AbstractIpsTestRunner
org.faktorips.runtime.test.SocketIpsTestRunner
- All Implemented Interfaces:
- IpsTestListener
public class SocketIpsTestRunner
- extends AbstractIpsTestRunner
Socket test runner. Opens a socket connection to a given socket server port and runs the given
ips tests. The result will be written to the server socket.
- Author:
- Joerg Ortmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_TESTS_STARTED
public static final String ALL_TESTS_STARTED
- Socket messages
- See Also:
- Constant Field Values
ALL_TESTS_FINISHED
public static final String ALL_TESTS_FINISHED
- See Also:
- Constant Field Values
TEST_STARTED
public static final String TEST_STARTED
- See Also:
- Constant Field Values
TEST_FINISHED
public static final String TEST_FINISHED
- See Also:
- Constant Field Values
TEST_FAILED
public static final String TEST_FAILED
- See Also:
- Constant Field Values
TEST_FAILED_DELIMITERS
public static final String TEST_FAILED_DELIMITERS
- See Also:
- Constant Field Values
TEST_ERROR
public static final String TEST_ERROR
- See Also:
- Constant Field Values
TEST_ERROR_END
public static final String TEST_ERROR_END
- See Also:
- Constant Field Values
TEST_ERROR_MESSAGE_INDICATOR
public static final String TEST_ERROR_MESSAGE_INDICATOR
- See Also:
- Constant Field Values
TEST_ERROR_STACK_INDICATOR
public static final String TEST_ERROR_STACK_INDICATOR
- See Also:
- Constant Field Values
SocketIpsTestRunner
public SocketIpsTestRunner()
SocketIpsTestRunner
public SocketIpsTestRunner(int port,
String repositoryPackages,
String additionalRepositoryPackages)
main
public static void main(String[] args)
throws Exception
- The entry point for the socket test runner. The arguments are: args[0]: the port number to
connect to args[1]: package name of the classpath repository args[2]: Name of the testsuite
to run args[3]: additional classpath repositories (to find objects in the runtime
environment)
- Throws:
Exception
run
public void run(String name)
- Description copied from class:
AbstractIpsTestRunner
- Run the all ips test cases in the given packages.
The format of the input string is:
{packageName in repository1}{packageName in repository2}{...}
- Overrides:
run in class AbstractIpsTestRunner
createRepositories
protected List<IRuntimeRepository> createRepositories()
throws Exception
- Description copied from class:
AbstractIpsTestRunner
- Creates the repositories. Where the test will be searched.
- Specified by:
createRepositories in class AbstractIpsTestRunner
- Throws:
Exception
testStarted
public void testStarted(IpsTest2 test)
testFinished
public void testFinished(IpsTest2 test)
testFailureOccured
public void testFailureOccured(IpsTestFailure failure)
Copyright © 2015. All rights reserved.