fit
Class ActionEchoFixture

java.lang.Object
  extended by fit.Fixture
      extended by fit.ActionFixture
          extended by fit.ActionEchoFixture

public class ActionEchoFixture
extends ActionFixture

Adds additional target "state" Print's the State of a Method or Field into the Testresult. Useful for showing a finally build URL If target contains "()" chars, a "String youMethodName()/1" will be used. Otherwise the code tries to find the Field "String youFieldName".


Nested Class Summary
 
Nested classes/interfaces inherited from class fit.Fixture
Fixture.RunTime
 
Field Summary
 
Fields inherited from class fit.ActionFixture
actor, cells, empty
 
Fields inherited from class fit.Fixture
args, counts, gray, green, red, summary, yellow
 
Constructor Summary
ActionEchoFixture()
           
 
Method Summary
 void echo()
           
protected  java.lang.reflect.Field getFieldFromDelegate(java.lang.String target)
           
protected  java.lang.reflect.Method getMethodFromDelegate(java.lang.String target)
           
protected  java.lang.String getStateFromField(java.lang.String target)
           
protected  java.lang.String getStateFromMethod(java.lang.String target)
           
 
Methods inherited from class fit.ActionFixture
check, doCells, enter, method, method, press, start
 
Methods inherited from class fit.Fixture
camel, check, counts, doCell, doRow, doRows, doTable, doTables, error, escape, exception, fixtureName, getArgs, getArgsForTable, getLinkedFixtureWithArgs, ignore, info, info, interpretTables, label, loadFixture, parse, right, wrong, wrong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionEchoFixture

public ActionEchoFixture()
Method Detail

echo

public void echo()
          throws java.lang.Exception
Throws:
java.lang.Exception

getStateFromMethod

protected java.lang.String getStateFromMethod(java.lang.String target)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getFieldFromDelegate

protected java.lang.reflect.Field getFieldFromDelegate(java.lang.String target)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getStateFromField

protected java.lang.String getStateFromField(java.lang.String target)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getMethodFromDelegate

protected java.lang.reflect.Method getMethodFromDelegate(java.lang.String target)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009 SourceForge. All Rights Reserved.