org.jnario.lib
Class ExampleTableIterators<T extends ExampleTableRow>
java.lang.Object
org.jnario.lib.ExampleTableIterators<T>
public class ExampleTableIterators<T extends ExampleTableRow>
- extends Object
- Author:
- Sebastian Benz - Initial contribution and API
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExampleTableIterators
protected ExampleTableIterators(ExampleTable<T> table,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<T> assertion)
forEach
public static <T extends ExampleTableRow> void forEach(ExampleTable<T> table,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<T> assertion)
- Performs an assertion on each row in an
ExampleTable. All
failures are collected and merged into a readable representation.
- Parameters:
table - a table with examplesassertion - a closure which performs an assertion on each row.
perform
public void perform()
describeRow
protected void describeRow(String formatString,
StringBuilder message,
RowResult result)
describeCause
protected void describeCause(String formatString,
StringBuilder causes,
int i,
RowFailed result)
Copyright © 2012-2013 BMW Car IT. All Rights Reserved.