org.drools.guvnor.client.explorer.navigation.qa.testscenarios
Class ScenarioHelper
java.lang.Object
org.drools.guvnor.client.explorer.navigation.qa.testscenarios.ScenarioHelper
public class ScenarioHelper
- extends Object
Some utility methods as the display logic is a bit hairy.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScenarioHelper
public ScenarioHelper()
lumpyMap
public List<Fixture> lumpyMap(List<Fixture> fixtures)
- Called lumpy map - as this takes a flat list of fixtures, and groups
things together. It will return a list - of which each element will
either be a list - or a map. If its a map - then its a map of FactData to
the fact type. If its a list, then it will be expectations or
retractions.
Man, this will be so much nicer with generics.
- Returns:
- List
OR
Map> OR ExecutionTrace>
lumpyMapGlobals
public Map<String,FixtureList> lumpyMapGlobals(List<FactData> globals)
- Group the globals together by fact type.
getExecutionTraceFor
public List<ExecutionTrace> getExecutionTraceFor(List<Fixture> fixtures)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.