public class Fixture
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Fixture.RunTime |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
args |
Counts |
counts |
static java.lang.String |
gray |
static java.lang.String |
green |
static java.lang.String |
red |
java.util.Map |
summary |
static java.lang.String |
yellow |
Constructor and Description |
---|
Fixture() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
camel(java.lang.String name) |
void |
check(Parse cell,
TypeAdapter a) |
java.lang.String |
counts() |
void |
doCell(Parse cell,
int columnNumber) |
void |
doCells(Parse cells) |
void |
doRow(Parse row) |
void |
doRows(Parse rows) |
void |
doTable(Parse table) |
void |
doTables(Parse tables) |
void |
error(Parse cell,
java.lang.String message) |
static java.lang.String |
escape(java.lang.String string) |
void |
exception(Parse cell,
java.lang.Throwable exception) |
Parse |
fixtureName(Parse tables) |
java.lang.String[] |
getArgs() |
protected void |
getArgsForTable(Parse table) |
protected Fixture |
getLinkedFixtureWithArgs(Parse tables) |
void |
ignore(Parse cell) |
void |
info(Parse cell,
java.lang.String message) |
java.lang.String |
info(java.lang.String message) |
protected void |
interpretTables(Parse tables) |
static java.lang.String |
label(java.lang.String string) |
Fixture |
loadFixture(java.lang.String fixtureName) |
java.lang.Object |
parse(java.lang.String s,
java.lang.Class type) |
void |
right(Parse cell) |
void |
wrong(Parse cell) |
void |
wrong(Parse cell,
java.lang.String actual) |
public java.util.Map summary
public Counts counts
protected java.lang.String[] args
public static java.lang.String green
public static java.lang.String red
public static java.lang.String gray
public static java.lang.String yellow
public void doTables(Parse tables)
protected void interpretTables(Parse tables)
protected Fixture getLinkedFixtureWithArgs(Parse tables) throws java.lang.Exception
java.lang.Exception
public Fixture loadFixture(java.lang.String fixtureName) throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessException
protected void getArgsForTable(Parse table)
public void doTable(Parse table)
public void doRows(Parse rows)
public void doRow(Parse row)
public void doCells(Parse cells)
public void doCell(Parse cell, int columnNumber)
public void right(Parse cell)
public void wrong(Parse cell)
public void wrong(Parse cell, java.lang.String actual)
public void info(Parse cell, java.lang.String message)
public java.lang.String info(java.lang.String message)
public void ignore(Parse cell)
public void error(Parse cell, java.lang.String message)
public void exception(Parse cell, java.lang.Throwable exception)
public java.lang.String counts()
public static java.lang.String label(java.lang.String string)
public static java.lang.String escape(java.lang.String string)
public static java.lang.String camel(java.lang.String name)
public java.lang.Object parse(java.lang.String s, java.lang.Class type) throws java.lang.Exception
java.lang.Exception
public void check(Parse cell, TypeAdapter a)
public java.lang.String[] getArgs()
Copyright © 2016 Fit. All Rights Reserved.