Crossfire JXClient, Trunk
|
Public Member Functions | |
void | coordinateToPosition () |
void | test1 () |
void | test2 () |
Static Public Attributes | |
static final int | MAX_LINES = 1000 |
Regression tests for RenderState.
Definition at line 35 of file RenderStateTest.java.
void com.realtime.crossfire.jxclient.gui.log.RenderStateTest.coordinateToPosition | ( | ) |
Definition at line 150 of file RenderStateTest.java.
References com.realtime.crossfire.jxclient.gui.log.Buffer.coordinateToPosition(), com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.getBuffer(), com.realtime.crossfire.jxclient.protocol.MessageType.MSG_SUBTYPE_BOOK_CLASP_1, com.realtime.crossfire.jxclient.protocol.MessageType.MSG_TYPE_BOOK, and com.realtime.crossfire.jxclient.gui.log.Parser.parse().
void com.realtime.crossfire.jxclient.gui.log.RenderStateTest.test1 | ( | ) |
General checks.
Definition at line 46 of file RenderStateTest.java.
References com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.checkState(), com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.FONT_HEIGHT, com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.getBuffer(), com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.HEIGHT, com.realtime.crossfire.jxclient.protocol.MessageType.MSG_SUBTYPE_BOOK_CLASP_1, com.realtime.crossfire.jxclient.protocol.MessageType.MSG_TYPE_BOOK, com.realtime.crossfire.jxclient.gui.log.Parser.parse(), and com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.scrollTo().
void com.realtime.crossfire.jxclient.gui.log.RenderStateTest.test2 | ( | ) |
Checks that overflowing the buffer works as expected.
Definition at line 80 of file RenderStateTest.java.
References com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.checkState(), com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.FONT_HEIGHT, com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.getBuffer(), com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.HEIGHT, com.realtime.crossfire.jxclient.protocol.MessageType.MSG_SUBTYPE_BOOK_CLASP_1, com.realtime.crossfire.jxclient.protocol.MessageType.MSG_TYPE_BOOK, com.realtime.crossfire.jxclient.gui.log.Parser.parse(), and com.realtime.crossfire.jxclient.gui.log.RenderStateTestRec.scrollTo().
|
static |
The maximum number of lines the buffer can hold.
Definition at line 40 of file RenderStateTest.java.