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: /*
21: * Created on Jul 31, 2004
22: *
23: *The JAIN-SIP Project
24: */
25: package test.unit.gov.nist.javax.sip.parser;
26:
27: import gov.nist.javax.sip.parser.MaxForwardsParser;
28:
29: /**
30: *
31: */
32: public class MaxForwardsParserTest extends ParserTestCase {
33:
34: /* (non-Javadoc)
35: * @see test.unit.gov.nist.javax.sip.parser.ParserTestCase#testParser()
36: */
37: public void testParser() {
38:
39: String content[] = { "Max-Forwards: 10\n",
40: "Max-Forwards: 34\n", "Max-Forwards: 0 \n" };
41:
42: super .testParser(MaxForwardsParser.class, content);
43:
44: }
45:
46: }
|