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

Quick Search    Search Deep

org.activemq.util
Class BitArrayTest  view BitArrayTest download BitArrayTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.activemq.util.BitArrayTest
All Implemented Interfaces:
junit.framework.Test

public class BitArrayTest
extends junit.framework.TestCase

BitArrayTest


Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
BitArrayTest(java.lang.String arg0)
          Constructor for BitArrayTest.
 
Method Summary
(package private)  byte[] getData(BitArray ba)
           
static void main(java.lang.String[] args)
           
(package private)  void setData(BitArray ba, byte[] data)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testLength()
           
 void testSet()
           
 void testTime()
           
(package private)  void testWrite(int size)
           
 void testWriteToStream()
           
 
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
 

Constructor Detail

BitArrayTest

public BitArrayTest(java.lang.String arg0)
Constructor for BitArrayTest.

Method Detail

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
              throws java.lang.Exception
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()
                 throws java.lang.Exception
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.


testLength

public void testLength()

testSet

public void testSet()

testWriteToStream

public void testWriteToStream()

testWrite

void testWrite(int size)
         throws java.io.IOException

testTime

public void testTime()
              throws java.io.IOException

getData

byte[] getData(BitArray ba)
         throws java.io.IOException

setData

void setData(BitArray ba,
             byte[] data)
       throws java.io.IOException