01: /*
02: * Conditions Of Use
03: *
04: * This software was developed by employees of the National Institute of
05: * Standards and Technology (NIST), and others.
06: * This software is has been contributed to the public domain.
07: * As a result, a formal license is not needed to use the software.
08: *
09: * This software is provided "AS IS."
10: * NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
11: * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
12: * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
13: * AND DATA ACCURACY. NIST does not warrant or make any representations
14: * regarding the use of the software or the results thereof, including but
15: * not limited to the correctness, accuracy, reliability or usefulness of
16: * the software.
17: *
18: *
19: */
20: package test.unit.gov.nist.javax.sip.parser;
21:
22: import gov.nist.javax.sip.parser.*;
23:
24: public class AcceptLanguageParserTest extends ParserTestCase {
25:
26: public void testParser() {
27: String data[] = { "Accept-Language: da \n",
28: "Accept-Language:\n",
29: "Accept-Language: da, en-gb;q=0.8\n",
30: "Accept-Language: *\n" };
31: super .testParser(AcceptLanguageParser.class, data);
32: }
33:
34: }
|