com.buglabs.ws.tests.common
Class AbstractBugWSTestCase

java.lang.Object
  extended by TestCase
      extended by com.buglabs.ws.tests.common.AbstractBugWSTestCase
Direct Known Subclasses:
BugWSEventTest, BugWSModuleTest, BugWSProgramTest, BugWSServiceTest

public abstract class AbstractBugWSTestCase
extends TestCase

Base class for all test classes


Constructor Summary
AbstractBugWSTestCase(java.lang.String name)
          Constuctor.
 
Method Summary
 java.util.List getData(java.lang.String host, int port, java.lang.String resource)
           
 int[] getStreamAndFile(java.lang.String host, int port, java.lang.String resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBugWSTestCase

public AbstractBugWSTestCase(java.lang.String name)
Constuctor.

Parameters:
name - name of this test
Method Detail

getData

public java.util.List getData(java.lang.String host,
                              int port,
                              java.lang.String resource)
Parameters:
host - name of the host to connect to
port - port number for the host
resource - resource name no invoke on server
Returns:

getStreamAndFile

public int[] getStreamAndFile(java.lang.String host,
                              int port,
                              java.lang.String resource)