Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.test.comm.rtt
Class FramingElementTest
junit.framework.Assert
  |
  +--junit.framework.TestCase
       |
       +--com.newstep.solid.test.comm.rtt.FramingElementTest
All Implemented Interfaces:
       ChannelListener, Test

public class FramingElementTest      
FramingElementTest is a unit test class for class FramingElement.
See Also:
 
Implements:
ChannelListener
 
Links:
Implementation Implementation Link
to Interface ChannelListener
FramingElementTest is a unit test class for class FramingElement.
 
 

Constructor Summary
public void
FramingElementTest(String name)
Method Summary
public Class
public static void
main(String args)
public void
public void
public static Test
public void
public void
public void
public void
public void
public void
public void
public void
public void
Constructor Detail
FramingElementTest
public void FramingElementTest (String name)
 
Constructs a test case for the test specified by the name argument.
Parameters:
name The name of the test case
Stereotype:
create
 
Method Detail
getTestedClass
public Class getTestedClass ()
 
Get the class object of the class which will be tested.
Return:
The class which will be tested
 

main
public static void main (String args)
 
Utility main method. Runs the test cases defined in this test class.

Usage: java FramingElementTest
Parameters:
args Command line arguments are not needed
Static.
 

onMessage
public void onMessage (Message message)
 
 

setUp
public void setUp ()
 
Used to set up the test. This method is called by JUnit before each of
the tests are executed.
See Also:
 
Throws:
Exception
 

suite
public static Test suite ()
 
Create a test suite for running the tests in this class.
IndependentTestSuite will run each test case in a separate classloader.
Return:
A test suite to run all of the tests in this class
Static.
 

tearDown
public void tearDown ()
 
Used to clean up after the test. This method is called by JUnit after
each of the tests have been completed.
See Also:
 
Throws:
Exception
 

testOnMessage1
public void testOnMessage1 ()
 
Test for method: onMessage(com.newstep.solid.comm.Message)
See Also:
 
Throws:
Throwable
 

testOnMessage2
public void testOnMessage2 ()
 
Test for method: onMessage(com.newstep.solid.comm.Message)
See Also:
 
Throws:
Throwable
 

testOnMessage3
public void testOnMessage3 ()
 
Test for method: onMessage(com.newstep.solid.comm.Message)
See Also:
 
Throws:
Throwable
 

testOpen1
public void testOpen1 ()
 
Test for method: open()
See Also:
 
Throws:
Throwable
 

testStatusChanged1
public void testStatusChanged1 ()
 
Test for method: statusChanged(com.newstep.solid.comm.Channel,com.newstep.solid.comm.ChannelState)
See Also:
 
Throws:
Throwable
 

testToString1
public void testToString1 ()
 
Test for method: toString()
See Also:
 
Throws:
Throwable
 

testWrite1
public void testWrite1 ()
 
Test for method: write(com.newstep.solid.comm.Message)
See Also:
 
Throws:
Throwable
 

testWrite2
public void testWrite2 ()
 
Test for method: write(com.newstep.solid.comm.Message)
See Also:
 
Throws:
Throwable
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD