Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package test.unit.gov.nist.javax.sip.parser;
 
 
 public class RecordRouteParserTest extends ParserTestCase {
 
     public void testParser() {
         // TODO Auto-generated method stub
        String rou[] = {
                "Record-Route: <sip:bob@biloxi.com;maddr=10.1.1.1>,"+
                            "<sip:bob@biloxi.com;maddr=10.2.1.1>\n",
                "Record-Route: <sip:UserB@there.com;maddr=ss2.wcom.com>\n",
                "Record-Route: <sip:+1-650-555-2222@iftgw.there.com;"+
                            "maddr=ss1.wcom.com>\n",
                "Record-Route: <sip:UserB@there.com;maddr=ss2.wcom.com>,"+
                            "<sip:UserB@there.com;maddr=ss1.wcom.com>\n"  ,
                "Record-Route: <sip:3Zqkv5bGjusip%3A%2B3519116786244%40siplab.domain.com@scscf.ojt4.trial.net:7070;maddr=213.0.115.163;lr>\n"
                    };
        super.testParser(RecordRouteParser.class,rou);
    }
New to GrepCode? Check out our FAQ X