org.sourceforge.jxutil.io
Class DataConverterTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.sourceforge.jxutil.io.DataConverterTest
- All Implemented Interfaces:
- Test
- public final class DataConverterTest
- extends TestCase
Field Summary |
(package private) static int[] |
ints
|
(package private) static long[] |
longs
|
(package private) static byte[] |
refBytes
|
(package private) static byte[] |
refInts
|
(package private) static byte[] |
refIntsLE
|
(package private) static byte[] |
refLongs
|
(package private) static byte[] |
refLongsLE
|
(package private) static byte[] |
refShorts
|
(package private) static byte[] |
refShortsLE
|
(package private) static long[] |
uints
|
(package private) static BigInteger[] |
ulongs
|
Fields inherited from class junit.framework.TestCase |
|
Method Summary |
void |
testGetByte()
|
private void |
testGetInt(DataConverter conv,
byte[] ref)
|
void |
testGetIntBE()
|
void |
testGetIntLE()
|
private void |
testGetShort(DataConverter conv,
byte[] ref)
|
void |
testGetShortBE()
|
void |
testGetShortLE()
|
void |
testGetUnsignedByte()
|
private void |
testGetUnsignedInt(DataConverter conv,
byte[] ref)
|
void |
testGetUnsignedIntBE()
|
void |
testGetUnsignedIntLE()
|
private void |
testGetUnsignedShort(DataConverter conv,
byte[] ref)
|
void |
testGetUnsignedShortBE()
|
void |
testGetUnsignedShortLE()
|
void |
testSetByte()
|
private void |
testSetInt(DataConverter conv,
byte[] ref)
|
void |
testSetIntBE()
|
void |
testSetIntLE()
|
private void |
testSetShort(DataConverter conv,
byte[] ref)
|
void |
testSetShortBE()
|
void |
testSetShortLE()
|
void |
testSetUnsignedByte()
|
private void |
testSetUnsignedInt(DataConverter conv,
byte[] ref)
|
void |
testSetUnsignedIntBE()
|
void |
testSetUnsignedIntLE()
|
private void |
testSetUnsignedShort(DataConverter conv,
byte[] ref)
|
void |
testSetUnsignedShortBE()
|
void |
testSetUnsignedShortLE()
|
(package private) static int |
wrBytes(byte[] buf,
int ofs)
|
(package private) static int |
wrBytes(byte[] buf,
int ofs,
byte h)
|
(package private) static int |
wrBytesLE(byte[] buf,
int ofs,
byte h)
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
ints
static final int[] ints
longs
static final long[] longs
refBytes
static final byte[] refBytes
refInts
static final byte[] refInts
refIntsLE
static final byte[] refIntsLE
refLongs
static final byte[] refLongs
refLongsLE
static final byte[] refLongsLE
refShorts
static final byte[] refShorts
refShortsLE
static final byte[] refShortsLE
uints
static final long[] uints
ulongs
static final BigInteger[] ulongs
DataConverterTest
public DataConverterTest(String name)
testGetByte
public void testGetByte()
testGetInt
private void testGetInt(DataConverter conv,
byte[] ref)
testGetIntBE
public void testGetIntBE()
testGetIntLE
public void testGetIntLE()
testGetShort
private void testGetShort(DataConverter conv,
byte[] ref)
testGetShortBE
public void testGetShortBE()
testGetShortLE
public void testGetShortLE()
testGetUnsignedByte
public void testGetUnsignedByte()
testGetUnsignedInt
private void testGetUnsignedInt(DataConverter conv,
byte[] ref)
testGetUnsignedIntBE
public void testGetUnsignedIntBE()
testGetUnsignedIntLE
public void testGetUnsignedIntLE()
testGetUnsignedShort
private void testGetUnsignedShort(DataConverter conv,
byte[] ref)
testGetUnsignedShortBE
public void testGetUnsignedShortBE()
testGetUnsignedShortLE
public void testGetUnsignedShortLE()
testSetByte
public void testSetByte()
testSetInt
private void testSetInt(DataConverter conv,
byte[] ref)
testSetIntBE
public void testSetIntBE()
testSetIntLE
public void testSetIntLE()
testSetShort
private void testSetShort(DataConverter conv,
byte[] ref)
testSetShortBE
public void testSetShortBE()
testSetShortLE
public void testSetShortLE()
testSetUnsignedByte
public void testSetUnsignedByte()
testSetUnsignedInt
private void testSetUnsignedInt(DataConverter conv,
byte[] ref)
testSetUnsignedIntBE
public void testSetUnsignedIntBE()
testSetUnsignedIntLE
public void testSetUnsignedIntLE()
testSetUnsignedShort
private void testSetUnsignedShort(DataConverter conv,
byte[] ref)
testSetUnsignedShortBE
public void testSetUnsignedShortBE()
testSetUnsignedShortLE
public void testSetUnsignedShortLE()
wrBytes
static int wrBytes(byte[] buf,
int ofs)
wrBytes
static int wrBytes(byte[] buf,
int ofs,
byte h)
wrBytesLE
static int wrBytesLE(byte[] buf,
int ofs,
byte h)
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.