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

Quick Search    Search Deep

jpl2.tests
Class DataTest  view DataTest download DataTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byjpl2.tests.DataTest
All Implemented Interfaces:
junit.framework.Test

public class DataTest
extends junit.framework.TestCase


Field Summary
private  jpl2.common.Data data
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DataTest(java.lang.String arg0)
          Constructor for DataTest.
 
Method Summary
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 testAppend()
           
 void testDeleteBytes()
           
 void testGetBuffer()
           
 void testGetOffset()
           
 void testLength()
           
 void testReadByte()
           
 void testReadChar()
           
 void testReadExtendedString()
           
 void testReadFullybyteArray()
           
 void testReadFullybyteArrayintint()
           
 void testReadInt()
           
 void testReadLong()
           
 void testReadShort()
           
 void testReadSpecialString()
           
 void testReadString()
           
 void testReadStringint()
           
 void testReadTerminatedString()
           
 void testReadUnsignedByte()
           
 void testReadUnsignedInt()
           
 void testReadUnsignedShort()
           
 void testReset()
           
 void testSetCharSet()
           
 void testSetLength()
           
 void testSetOffset()
           
 void testSkipBytes()
           
 void testWriteByte()
           
 void testWritebyteArray()
           
 void testWritebyteArrayintint()
           
 void testWriteChar()
           
 void testWriteChars()
           
 void testWriteInt()
           
 void testWriteLong()
           
 void testWriteShort()
           
 void testWriteSpecialLength()
           
 void testWriteSpecialString()
           
 void testWriteString()
           
 void testWriteTerminatedString()
           
 
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

data

private jpl2.common.Data data
Constructor Detail

DataTest

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

Method Detail

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.


testSetCharSet

public void testSetCharSet()

testReset

public void testReset()

testGetOffset

public void testGetOffset()

testSetOffset

public void testSetOffset()

testLength

public void testLength()

testSetLength

public void testSetLength()

testGetBuffer

public void testGetBuffer()

testDeleteBytes

public void testDeleteBytes()

testReadByte

public void testReadByte()
                  throws java.io.IOException

testReadChar

public void testReadChar()

testReadFullybyteArray

public void testReadFullybyteArray()

testReadFullybyteArrayintint

public void testReadFullybyteArrayintint()

testReadInt

public void testReadInt()

testReadUnsignedInt

public void testReadUnsignedInt()

testReadLong

public void testReadLong()

testReadShort

public void testReadShort()

testReadUnsignedByte

public void testReadUnsignedByte()

testReadUnsignedShort

public void testReadUnsignedShort()

testReadSpecialString

public void testReadSpecialString()

testReadExtendedString

public void testReadExtendedString()

testReadTerminatedString

public void testReadTerminatedString()

testReadString

public void testReadString()

testReadStringint

public void testReadStringint()

testSkipBytes

public void testSkipBytes()

testWritebyteArray

public void testWritebyteArray()

testWritebyteArrayintint

public void testWritebyteArrayintint()

testWriteByte

public void testWriteByte()

testWriteChar

public void testWriteChar()

testWriteChars

public void testWriteChars()

testWriteInt

public void testWriteInt()

testWriteLong

public void testWriteLong()

testWriteShort

public void testWriteShort()

testWriteSpecialLength

public void testWriteSpecialLength()

testWriteString

public void testWriteString()

testWriteTerminatedString

public void testWriteTerminatedString()

testWriteSpecialString

public void testWriteSpecialString()

testAppend

public void testAppend()