/*
* 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.
*
*
*/
/*
* Created on Jul 27, 2004
*
*The Open SIP project
*/
package test.unit.gov.nist.javax.sip.parser;
import gov.nist.javax.sip.parser.*;
/**
*
*/
public class ContentTypeParserTest extends ParserTestCase {
/* (non-Javadoc)
* @see test.unit.gov.nist.javax.sip.parser.ParserTestCase#testParser()
*/
public void testParser() {
String content[] = {
"c: text/html; charset=ISO-8859-4\n",
"Content-Type: text/html; charset=ISO-8859-4\n",
"Content-Type: multipart/mixed; boundary=p25-issi-body-boundary\n",
"Content-Type: application/sdp\n",
"Content-Type: application/sdp; o=we ;l=ek ; i=end \n",
"Content-Type: multipart/mixed ;boundary=unique-boundary-1\n"
};
super.testParser(ContentTypeParser.class,content);
}
}