org.testng.remote.strprotocol
Class MessageHelper
java.lang.Object
org.testng.remote.strprotocol.MessageHelper
public class MessageHelper
- extends Object
Marshal/unmarshal tool for IStringMessage
s.
- Author:
- Alexandru Popescu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELIMITER
public static final char DELIMITER
- See Also:
- Constant Field Values
PARAM_DELIMITER
public static final char PARAM_DELIMITER
- See Also:
- Constant Field Values
GENERIC_SUITE_COUNT
public static final int GENERIC_SUITE_COUNT
- See Also:
- Constant Field Values
SUITE
public static final int SUITE
- See Also:
- Constant Field Values
SUITE_START
public static final int SUITE_START
- See Also:
- Constant Field Values
SUITE_FINISH
public static final int SUITE_FINISH
- See Also:
- Constant Field Values
TEST
public static final int TEST
- See Also:
- Constant Field Values
TEST_START
public static final int TEST_START
- See Also:
- Constant Field Values
TEST_FINISH
public static final int TEST_FINISH
- See Also:
- Constant Field Values
TEST_RESULT
public static final int TEST_RESULT
- See Also:
- Constant Field Values
PASSED_TEST
public static final int PASSED_TEST
- See Also:
- Constant Field Values
FAILED_TEST
public static final int FAILED_TEST
- See Also:
- Constant Field Values
SKIPPED_TEST
public static final int SKIPPED_TEST
- See Also:
- Constant Field Values
FAILED_ON_PERCENTAGE_TEST
public static final int FAILED_ON_PERCENTAGE_TEST
- See Also:
- Constant Field Values
TEST_STARTED
public static final int TEST_STARTED
- See Also:
- Constant Field Values
STOP_MSG
public static final String STOP_MSG
- See Also:
- Constant Field Values
ACK_MSG
public static final String ACK_MSG
- See Also:
- Constant Field Values
MessageHelper
public MessageHelper()
getMessageType
public static int getMessageType(String message)
unmarshallGenericMessage
public static GenericMessage unmarshallGenericMessage(String message)
createSuiteMessage
public static SuiteMessage createSuiteMessage(String message)
createTestMessage
public static TestMessage createTestMessage(String message)
unmarshallTestResultMessage
public static TestResultMessage unmarshallTestResultMessage(String message)
replaceNewLine
public static String replaceNewLine(String message)
replaceUnicodeCharactersWithAscii
public static String replaceUnicodeCharactersWithAscii(String message)
replaceAsciiCharactersWithUnicode
public static String replaceAsciiCharactersWithUnicode(String message)
replaceNewLineReplacer
public static String replaceNewLineReplacer(String message)
Copyright © 2010. All Rights Reserved.