fit

Class Fixture

public class Fixture extends Object

Nested Class Summary
classFixture.RunTime
Field Summary
protected String[]args
Countscounts
static Stringgray
static Stringgreen
static Stringred
Mapsummary
static Stringyellow
Method Summary
static Stringcamel(String name)
voidcheck(Parse cell, TypeAdapter a)
Stringcounts()
voiddoCell(Parse cell, int columnNumber)
voiddoCells(Parse cells)
voiddoRow(Parse row)
voiddoRows(Parse rows)
voiddoTable(Parse table)
voiddoTables(Parse tables)
voiderror(Parse cell, String message)
static Stringescape(String string)
voidexception(Parse cell, Throwable exception)
ParsefixtureName(Parse tables)
String[]getArgs()
protected voidgetArgsForTable(Parse table)
protected FixturegetLinkedFixtureWithArgs(Parse tables)
voidignore(Parse cell)
voidinfo(Parse cell, String message)
Stringinfo(String message)
protected voidinterpretTables(Parse tables)
static Stringlabel(String string)
FixtureloadFixture(String fixtureName)
Objectparse(String s, Class type)
voidright(Parse cell)
voidwrong(Parse cell)
voidwrong(Parse cell, String actual)

Field Detail

args

protected String[] args

counts

public Counts counts

gray

public static String gray

green

public static String green

red

public static String red

summary

public Map summary

yellow

public static String yellow

Method Detail

camel

public static String camel(String name)

check

public void check(Parse cell, TypeAdapter a)

counts

public String counts()

doCell

public void doCell(Parse cell, int columnNumber)

doCells

public void doCells(Parse cells)

doRow

public void doRow(Parse row)

doRows

public void doRows(Parse rows)

doTable

public void doTable(Parse table)

doTables

public void doTables(Parse tables)

error

public void error(Parse cell, String message)

escape

public static String escape(String string)

exception

public void exception(Parse cell, Throwable exception)

fixtureName

public Parse fixtureName(Parse tables)

getArgs

public String[] getArgs()

getArgsForTable

protected void getArgsForTable(Parse table)

getLinkedFixtureWithArgs

protected Fixture getLinkedFixtureWithArgs(Parse tables)

ignore

public void ignore(Parse cell)

info

public void info(Parse cell, String message)

info

public String info(String message)

interpretTables

protected void interpretTables(Parse tables)

label

public static String label(String string)

loadFixture

public Fixture loadFixture(String fixtureName)

parse

public Object parse(String s, Class type)

right

public void right(Parse cell)

wrong

public void wrong(Parse cell)

wrong

public void wrong(Parse cell, String actual)