fit
Class Fixture

java.lang.Object
  extended by fit.Fixture
Direct Known Subclasses:
ActionFixture, ColumnFixture, PrimitiveFixture, Summary

public class Fixture
extends java.lang.Object


Nested Class Summary
 class Fixture.RunTime
           
 
Field Summary
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 Summary
Fixture()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

summary

public java.util.Map summary

counts

public Counts counts

args

protected java.lang.String[] args

green

public static java.lang.String green

red

public static java.lang.String red

gray

public static java.lang.String gray

yellow

public static java.lang.String yellow
Constructor Detail

Fixture

public Fixture()
Method Detail

doTables

public void doTables(Parse tables)

interpretTables

protected void interpretTables(Parse tables)

getLinkedFixtureWithArgs

protected Fixture getLinkedFixtureWithArgs(Parse tables)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

fixtureName

public Parse fixtureName(Parse tables)

loadFixture

public Fixture loadFixture(java.lang.String fixtureName)
                    throws java.lang.InstantiationException,
                           java.lang.IllegalAccessException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException

getArgsForTable

protected void getArgsForTable(Parse table)

doTable

public void doTable(Parse table)

doRows

public void doRows(Parse rows)

doRow

public void doRow(Parse row)

doCells

public void doCells(Parse cells)

doCell

public void doCell(Parse cell,
                   int columnNumber)

right

public void right(Parse cell)

wrong

public void wrong(Parse cell)

wrong

public void wrong(Parse cell,
                  java.lang.String actual)

info

public void info(Parse cell,
                 java.lang.String message)

info

public java.lang.String info(java.lang.String message)

ignore

public void ignore(Parse cell)

error

public void error(Parse cell,
                  java.lang.String message)

exception

public void exception(Parse cell,
                      java.lang.Throwable exception)

counts

public java.lang.String counts()

label

public static java.lang.String label(java.lang.String string)

escape

public static java.lang.String escape(java.lang.String string)

camel

public static java.lang.String camel(java.lang.String name)

parse

public java.lang.Object parse(java.lang.String s,
                              java.lang.Class type)
                       throws java.lang.Exception
Throws:
java.lang.Exception

check

public void check(Parse cell,
                  TypeAdapter a)

getArgs

public java.lang.String[] getArgs()


Copyright © 2009 SourceForge. All Rights Reserved.