Package de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.impl.messagemapping
Class MessageMappingRulesParserTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.impl.messagemapping.MessageMappingRulesParserTest
-
- All Implemented Interfaces:
junit.framework.Test
public class MessageMappingRulesParserTest extends junit.framework.TestCase
-
-
Constructor Summary
Constructors Constructor Description MessageMappingRulesParserTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageMappingRulesParserImplphrase(java.lang.String xmlContent)static voidruleAppendAttribute(java.lang.StringBuilder sb, java.lang.String name, java.lang.String value)static java.lang.StringruleString(MessageMappingRule rule)static java.lang.StringruleString(java.lang.Boolean hideNoNErrorMessages, MessageMappingRule[] rules)voidtestPharased0Rules()voidtestPharasedError_destinationOutsideMessage()voidtestPharasedError_hideOutsideMessage()voidtestPharasedError_noPattern()voidtestPharasedError_noRule()voidtestPharasedError_souceOutsideMessage()voidtestPhrasedNRules()voidtestToString()-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Field Detail
-
AV2CL
public static final java.lang.String AV2CL
- See Also:
- Constant Field Values
-
AV2NUM
public static final java.lang.String AV2NUM
- See Also:
- Constant Field Values
-
AV2SEV
public static final java.lang.String AV2SEV
- See Also:
- Constant Field Values
-
AV2ATR1
public static final java.lang.String AV2ATR1
- See Also:
- Constant Field Values
-
AV2ATR2
public static final java.lang.String AV2ATR2
- See Also:
- Constant Field Values
-
-
Method Detail
-
ruleAppendAttribute
public static void ruleAppendAttribute(java.lang.StringBuilder sb, java.lang.String name, java.lang.String value)
-
ruleString
public static java.lang.String ruleString(MessageMappingRule rule)
-
ruleString
public static java.lang.String ruleString(java.lang.Boolean hideNoNErrorMessages, MessageMappingRule[] rules)
-
phrase
public MessageMappingRulesParserImpl phrase(java.lang.String xmlContent) throws org.xml.sax.SAXException, java.io.IOException
- Throws:
org.xml.sax.SAXExceptionjava.io.IOException
-
testPharasedError_noPattern
public void testPharasedError_noPattern() throws java.io.IOException- Throws:
java.io.IOException
-
testPharasedError_noRule
public void testPharasedError_noRule() throws java.io.IOException- Throws:
java.io.IOException
-
testPharasedError_souceOutsideMessage
public void testPharasedError_souceOutsideMessage() throws java.io.IOException- Throws:
java.io.IOException
-
testPharasedError_destinationOutsideMessage
public void testPharasedError_destinationOutsideMessage() throws java.io.IOException- Throws:
java.io.IOException
-
testPharasedError_hideOutsideMessage
public void testPharasedError_hideOutsideMessage() throws java.io.IOException- Throws:
java.io.IOException
-
testPharased0Rules
public void testPharased0Rules() throws org.xml.sax.SAXException, java.io.IOException- Throws:
org.xml.sax.SAXExceptionjava.io.IOException
-
testPhrasedNRules
public void testPhrasedNRules() throws org.xml.sax.SAXException, java.io.IOException- Throws:
org.xml.sax.SAXExceptionjava.io.IOException
-
testToString
public void testToString() throws org.xml.sax.SAXException, java.io.IOException- Throws:
org.xml.sax.SAXExceptionjava.io.IOException
-
-