Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.k_int.test.z3950
Class AssocTest  view AssocTest download AssocTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.k_int.test.z3950.AssocTest
All Implemented Interfaces:
junit.framework.Test

public class AssocTest
extends junit.framework.TestCase

Send a request message. In this test suite we are creating a new end user request object and adding a single responder to the rota. We then action the end user request to activate the rota and expect the message to be sent.


Field Summary
private  com.k_int.IR.Searchable test_client
           
private  com.k_int.z3950.server.ZServer test_server
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
AssocTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
          Runs the test case.
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
          Assembles and returns a test suite for all the test methods of this test case.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testCreateSimpleZServer()
           
 void testTwo()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

test_server

private com.k_int.z3950.server.ZServer test_server

test_client

private com.k_int.IR.Searchable test_client
Constructor Detail

AssocTest

public AssocTest(java.lang.String name)
Method Detail

setUp

protected void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

protected void tearDown()
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testCreateSimpleZServer

public void testCreateSimpleZServer()

testTwo

public void testTwo()

suite

public static junit.framework.Test suite()
Assembles and returns a test suite for all the test methods of this test case.


main

public static void main(java.lang.String[] args)
Runs the test case.