|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.test.xml.TestBoardEncoder
public class TestBoardEncoder
This class will confirm that the BoardEncoder is equivalent to
the serialization of a Board object. TODO: integrate JUnit
into this class.
| Constructor Summary | |
|---|---|
TestBoardEncoder()
|
|
| Method Summary | |
|---|---|
static java.io.InputStream |
getTestInputStream()
Create a test Board in an InputStream. |
static void |
main(java.lang.String[] args)
Create a Board, encode it to XML, decode it from the XML,
and compare the serialized versions from before and after the encoding. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestBoardEncoder()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
Board, encode it to XML, decode it from the XML,
and compare the serialized versions from before and after the encoding.
public static java.io.InputStream getTestInputStream()
Board in an InputStream.
InputStream containing a Board.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||