|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.softevo.ample.AmpleLauncher.TestListenerFaker
private class AmpleLauncher.TestListenerFaker
A fake class that is used to convince the remote JUnit-Runner of
Eclipse that everything is okay.
This class simply opens a socket on a predefined port and reads data
until the stream is closed by the remote side. No JUnit test will run
without this.
Field Summary | |
---|---|
private int |
port
The port we are listening on. |
Constructor Summary | |
---|---|
AmpleLauncher.TestListenerFaker(int port)
Creates a new listener. |
Method Summary | |
---|---|
void |
run()
Opens a ServerSocket , waits for
a single incoming connection and reads data from
this connection forever. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int port
Constructor Detail |
---|
public AmpleLauncher.TestListenerFaker(int port)
port
- the port we listen onMethod Detail |
---|
public void run()
ServerSocket
, waits for
a single incoming connection and reads data from
this connection forever.
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |