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.tck.msgflow.callflows.subsnotify;
21:
22: import junit.textui.TestRunner;
23:
24: public class UdpSubsnotifyTest extends AbstractSubsnotifyTestCase {
25: boolean myFlag;
26:
27: public void setUp() throws Exception {
28: testedImplFlag = !myFlag;
29: myFlag = !testedImplFlag;
30: super .transport = "udp";
31: super .setUp();
32: }
33:
34: /**
35: * tests notifier and subscriber in TI (test impl) provider
36: *
37: */
38: public void testSubsnotify() {
39: this .subscriber.sendSubscribe(5065);
40: }
41:
42: /**
43: * tests provider in TI (test impl) provider. Subscriber and Notifier
44: * are the RI.
45: *
46: */
47: public void testSubsnotify2() {
48: this .subscriber.sendSubscribe(5065);
49: }
50:
51: public static void main(String[] args) {
52: String[] nargs = { UdpSubsnotifyTest.class.getName() };
53: TestRunner.main(nargs);
54: }
55: }
|