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: * PRODUCT OF PT INOVACAO - EST DEPARTMENT and Telecommunications Institute (Aveiro, Portugal) *
22: ************************************************************************************************/package test.unit.gov.nist.javax.sip.parser.ims;
23:
24: import gov.nist.javax.sip.parser.ims.PChargingFunctionAddressesParser;
25: import test.unit.gov.nist.javax.sip.parser.*;
26:
27: /**
28: * @author Miguel Freitas
29: */
30:
31: public class PChargingFunctionAddressesParserTest extends
32: ParserTestCase {
33: public void testParser() {
34: // TODO Auto-generated method stub
35:
36: String[] chargAddr = {
37: "P-Charging-Function-Addresses: ccf=test1.ims.test; ecf=testevent\n",
38:
39: "P-Charging-Function-Addresses: ccf=token; ecf=\"test quoted str\"\n",
40:
41: "P-Charging-Function-Addresses: ccf=192.1.1.1; ccf=192.1.1.2; ecf=192.1.1.3; ecf=192.1.1.4\n"
42:
43: /*
44: "P-Charging-Function-Addresses: ccf=[5555::b99:c88:d77:e66]; ccf=[5555::a55:b44:c33:d22]; " +
45: "ecf=[5555::1ff:2ee:3dd:4cc]; ecf=[5555::6aa:7bb:8cc:9dd]\n"
46: */
47:
48: };
49:
50: super .testParser(PChargingFunctionAddressesParser.class,
51: chargAddr);
52: }
53:
54: }
|