link start!
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package org.testng.remote.strprotocol;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public interface IMessage extends Serializable {
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package org.testng.remote.strprotocol;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.SocketTimeoutException;
|
||||
|
||||
public interface IMessageSender {
|
||||
void connect() throws IOException;
|
||||
|
||||
void initReceiver() throws SocketTimeoutException;
|
||||
|
||||
IMessage receiveMessage() throws Exception;
|
||||
|
||||
void sendAck();
|
||||
|
||||
void sendMessage(IMessage iMessage) throws Exception;
|
||||
|
||||
void sendStop();
|
||||
|
||||
void shutDown();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.testng.remote.strprotocol;
|
||||
|
||||
public interface IRemoteSuiteListener {
|
||||
void onFinish(SuiteMessage suiteMessage);
|
||||
|
||||
void onInitialization(GenericMessage genericMessage);
|
||||
|
||||
void onStart(SuiteMessage suiteMessage);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package org.testng.remote.strprotocol;
|
||||
|
||||
public interface IRemoteTestListener {
|
||||
void onFinish(TestMessage testMessage);
|
||||
|
||||
void onStart(TestMessage testMessage);
|
||||
|
||||
void onTestFailedButWithinSuccessPercentage(TestResultMessage testResultMessage);
|
||||
|
||||
void onTestFailure(TestResultMessage testResultMessage);
|
||||
|
||||
void onTestSkipped(TestResultMessage testResultMessage);
|
||||
|
||||
void onTestStart(TestResultMessage testResultMessage);
|
||||
|
||||
void onTestSuccess(TestResultMessage testResultMessage);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.testng.remote.strprotocol;
|
||||
|
||||
public interface IStringMessage extends IMessage {
|
||||
String getMessageAsString();
|
||||
}
|
||||
Reference in New Issue
Block a user