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

Quick Search    Search Deep

proxy.protocol
Class SerializeTest  view SerializeTest download SerializeTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byproxy.protocol.SerializeTest
All Implemented Interfaces:
mobile.bearer.http.Protocol, junit.framework.Test

public class SerializeTest
extends junit.framework.TestCase
implements mobile.bearer.http.Protocol

Description: Tests serialization of requests in mobile.protocol and their construction i proxy.protocol


Field Summary
(package private)  mobile.protocol.Request mR
           
(package private)  Request pR
           
 
Fields inherited from class junit.framework.TestCase
 
Fields inherited from interface mobile.bearer.http.Protocol
ACKNOWLEDGE_MESSAGE, CLOSE_CONNECTION, CLOSE_MESSAGE_CONSUMER, CLOSE_MESSAGE_PRODUCER, COMMIT, CREATE_CONNECTION, CREATE_DURABLE_CONSUMER, CREATE_DURABLE_TOPIC_SUBSCRIBER, CREATE_QUEUE_CONNECTION, CREATE_QUEUE_RECEIVER, CREATE_QUEUE_SENDER, CREATE_QUEUE_SESSION, CREATE_RECEIVER, CREATE_SENDER, CREATE_SESSION, CREATE_TEMPORARY_DESTINATION, CREATE_TEMPORARY_QUEUE, CREATE_TEMPORARY_TOPIC, CREATE_TOPIC_CONNECTION, CREATE_TOPIC_PUBLISHER, CREATE_TOPIC_SESSION, CREATE_TOPIC_SUBSCRIBER, DELETE_TEMPORARY_DESTINATION, DELETE_TEMPORARY_QUEUE, DELETE_TEMPORARY_TOPIC, EXC_INVALID_DESTINATION, EXC_NAMING, EXC_OTHER, EXC_RESOURCE_ALLOCATION, INT_LEN, LONG_LEN, LOOKUP, MAX_BYTES_LEN, PUBLISH_BYTES_MESSAGE, PUBLISH_TEXT_MESSAGE, QUEUE, RECEIVE_MESSAGE, RECEIVE_MESSAGE_FROM_QUEUE, RECEIVE_MESSAGE_FROM_TOPIC, RECEIVE_MESSAGE_TIMEOUT, REP_BYTES_MESSAGE, REP_BYTES_MESSAGE_FROM_QUEUE, REP_BYTES_MESSAGE_FROM_TOPIC, REP_CONNECTION, REP_CONNECTION_FACTORY, REP_DURABLE_TOPIC_SUBSCRIBER, REP_QUEUE, REP_QUEUE_CONNECTION, REP_QUEUE_CONNECTION_FACTORY, REP_QUEUE_RECEIVER, REP_QUEUE_SENDER, REP_QUEUE_SESSION, REP_RECEIVER, REP_SENDER, REP_SESSION, REP_TEMPORARY_DESTINATION, REP_TEMPORARY_QUEUE, REP_TEMPORARY_TOPIC, REP_TEXT_MESSAGE, REP_TEXT_MESSAGE_FROM_QUEUE, REP_TEXT_MESSAGE_FROM_TOPIC, REP_TOPIC, REP_TOPIC_CONNECTION, REP_TOPIC_CONNECTION_FACTORY, REP_TOPIC_PUBLISHER, REP_TOPIC_SESSION, REP_TOPIC_SUBSCRIBER, ROLLBACK, SEND_BYTES_MESSAGE, SEND_TEXT_MESSAGE, START_CONNECTION, STOP_CONNECTION, TEMPRORARY, TOPIC
 
Constructor Summary
SerializeTest()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main method for this test.
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
          Builds a new test suite for this test.
 void testCreateQC()
          A serialization tests of a Connection creation.
 void testCreateQSES()
          A serialization tests of a Session creation.
 void testCreateQSES2()
          A serialization tests of a Session creation.
 void testCreateQueueSen()
          A serialization tests of a Producer creation.
 void testCreateTC()
          A serialization tests of a Connection creation.
 void testCreateTopicRec()
          A serialization tests of a Producer creation.
 void testCreateTSES()
          A serialization tests of a Session creation.
 void testLookupQ()
          A serialization tests of a Request with the LOOKUP code
 void testLookupQCF()
          A serialization tests of a Request with the LOOKUP code
 void testLookupT()
          A serialization tests of a Request with the LOOKUP code
 void testLookupTCF()
          A serialization tests of a Request with the LOOKUP code
 void testReceiveMessageQ()
          A serialization tests of Message receipt.
 void testReceiveMessageT()
           
 void testSendBytesMessage()
          A serialization tests of Message sending.
 void testSendNullBytesMessage()
           
 void testSendNullTextMessage()
          A serialization tests of Message sending.
 void testSendTextMessage()
          A serialization tests of Message sending.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

pR

Request pR

mR

mobile.protocol.Request mR
Constructor Detail

SerializeTest

public SerializeTest()
Method Detail

main

public static void main(java.lang.String[] args)
The main method for this test.


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.


suite

public static junit.framework.Test suite()
Builds a new test suite for this test.


testLookupQCF

public void testLookupQCF()
A serialization tests of a Request with the LOOKUP code


testLookupTCF

public void testLookupTCF()
A serialization tests of a Request with the LOOKUP code


testLookupQ

public void testLookupQ()
A serialization tests of a Request with the LOOKUP code


testLookupT

public void testLookupT()
A serialization tests of a Request with the LOOKUP code


testCreateQC

public void testCreateQC()
A serialization tests of a Connection creation.


testCreateTC

public void testCreateTC()
A serialization tests of a Connection creation.


testCreateQSES

public void testCreateQSES()
A serialization tests of a Session creation.


testCreateQSES2

public void testCreateQSES2()
A serialization tests of a Session creation.


testCreateTSES

public void testCreateTSES()
A serialization tests of a Session creation.


testCreateQueueSen

public void testCreateQueueSen()
A serialization tests of a Producer creation.


testCreateTopicRec

public void testCreateTopicRec()
A serialization tests of a Producer creation.


testSendBytesMessage

public void testSendBytesMessage()
A serialization tests of Message sending.


testSendTextMessage

public void testSendTextMessage()
A serialization tests of Message sending.


testSendNullBytesMessage

public void testSendNullBytesMessage()

testSendNullTextMessage

public void testSendNullTextMessage()
A serialization tests of Message sending.


testReceiveMessageQ

public void testReceiveMessageQ()
A serialization tests of Message receipt.


testReceiveMessageT

public void testReceiveMessageT()