Class MessageMappingRulesParserTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class MessageMappingRulesParserTest
    extends junit.framework.TestCase
    • Constructor Detail

      • MessageMappingRulesParserTest

        public MessageMappingRulesParserTest()
    • 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​(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.SAXException
        java.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.SAXException
        java.io.IOException
      • testPhrasedNRules

        public void testPhrasedNRules()
                               throws org.xml.sax.SAXException,
                                      java.io.IOException
        Throws:
        org.xml.sax.SAXException
        java.io.IOException
      • testToString

        public void testToString()
                          throws org.xml.sax.SAXException,
                                 java.io.IOException
        Throws:
        org.xml.sax.SAXException
        java.io.IOException