public class BsonDataOutputTest extends Object
| Constructor and Description |
|---|
BsonDataOutputTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMethod() |
protected void |
assertSame(byte[] b1,
byte[] b2,
String name1,
String name2) |
void |
beforeMethod() |
void |
shouldWriteAndReadChar() |
void |
shouldWriteAndReadInteger() |
void |
shouldWriteAndReadLong() |
void |
shouldWriteAndReadShort() |
protected char |
toLittleEndian(char value) |
protected int |
toLittleEndian(int value) |
protected long |
toLittleEndian(long value) |
protected short |
toLittleEndian(short value) |
public BsonDataOutputTest()
public void beforeMethod()
public void afterMethod()
public void shouldWriteAndReadInteger() throws Exception
Exceptionpublic void shouldWriteAndReadLong() throws Exception
Exceptionpublic void shouldWriteAndReadShort() throws Exception
Exceptionpublic void shouldWriteAndReadChar() throws Exception
Exceptionprotected char toLittleEndian(char value)
protected short toLittleEndian(short value)
protected int toLittleEndian(int value)
protected long toLittleEndian(long value)
protected void assertSame(byte[] b1, byte[] b2, String name1, String name2)
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.