test.unit.gov.nist.javax.sip.parser.ReferToParserTest Maven / Gradle / Ivy
/*
* Conditions Of Use
*
* This software was developed by employees of the National Institute of
* Standards and Technology (NIST), and others.
* This software is has been contributed to the public domain.
* As a result, a formal license is not needed to use the software.
*
* This software is provided "AS IS."
* NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY. NIST does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
*
*/
/*
* ReferToParserTest.java
*
* Created on Mar 27, 2005
*
* Created by: M. Ranganathan
*
* The JAIN-SIP Project
*
*/
package test.unit.gov.nist.javax.sip.parser;
import gov.nist.javax.sip.parser.ReferToParser;
/**
*
*/
public class ReferToParserTest extends ParserTestCase {
/* (non-Javadoc)
* @see test.unit.gov.nist.javax.sip.parser.ParserTestCase#testParser()
*/
public void testParser() {
String p[] = {
"Refer-To: \n",
"Refer-To: ;tag=5617\n",
"Refer-To: T. A. Watson \n",
"Refer-To: LittleGuy \n",
"Refer-To: sip:[email protected]\n",
"Refer-To: sip:[email protected] ; tag=696928473514.129.6.55.9\n"
};
super.testParser(ReferToParser.class,p);
}
}