Crossfire JXClient, Trunk
Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec Class Reference
Collaboration diagram for com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec:
Collaboration graph

Private Member Functions

void checkResult (@NotNull final String expected)
 
String dumpBuffer ()
 
 Rec ()
 

Static Private Member Functions

static void dumpBuffer (@NotNull final StringBuilder sb, @NotNull final Buffer buffer)
 
static void dumpLine (@NotNull final StringBuilder sb, @NotNull final Line line)
 

Private Attributes

final Buffer buffer
 
final Parser parser
 

Detailed Description

Encapsulates the state.

Definition at line 247 of file ParserTest.java.

Constructor & Destructor Documentation

◆ Rec()

com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.Rec ( )
private

Member Function Documentation

◆ checkResult()

void com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.checkResult ( @NotNull final String  expected)
private

◆ dumpBuffer() [1/2]

String com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.dumpBuffer ( )
private

Returns a string representation of buffer.

Returns
the string representation

Definition at line 282 of file ParserTest.java.

References com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.buffer.

Referenced by com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.checkResult().

Here is the caller graph for this function:

◆ dumpBuffer() [2/2]

static void com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.dumpBuffer ( @NotNull final StringBuilder  sb,
@NotNull final Buffer  buffer 
)
staticprivate

Appends the contents of a Buffer to a StringBuilder.

Parameters
sbthe
StringBuilder
to append to
bufferthe
Buffer
to append

Definition at line 293 of file ParserTest.java.

References com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.buffer, com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.dumpLine(), com.realtime.crossfire.jxclient.gui.log.Buffer.getSyncObject(), and com.realtime.crossfire.jxclient.gui.log.Buffer.lines.

Here is the call graph for this function:

◆ dumpLine()

static void com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.dumpLine ( @NotNull final StringBuilder  sb,
@NotNull final Line  line 
)
staticprivate

Appends the contents of a Line to a StringBuilder.

Parameters
sbthe
StringBuilder
to append to
linethe
Line
to append

Definition at line 307 of file ParserTest.java.

Referenced by com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.dumpBuffer().

Here is the caller graph for this function:

Member Data Documentation

◆ buffer

final Buffer com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.buffer
private

◆ parser

final Parser com.realtime.crossfire.jxclient.gui.log.ParserTest.Rec.parser
private

The documentation for this class was generated from the following file: