ix.test.xml
Class BlockStackingTest.BlockTestRunner

java.lang.Object
  extended by ix.iplan.AutoTester.TestRunner
      extended by ix.test.xml.BlockStackingTest.BlockTestRunner
Enclosing class:
BlockStackingTest

static class BlockStackingTest.BlockTestRunner
extends AutoTester.TestRunner


Field Summary
(package private)  AutoTester auto
           
(package private)  BlockStacker stacker
           
(package private)  BlockStackingTest test
           
 
Fields inherited from class ix.iplan.AutoTester.TestRunner
changedState, planNumber, remainingReplans
 
Constructor Summary
BlockStackingTest.BlockTestRunner(BlockStackingTest test, AutoTester auto)
           
 
Method Summary
protected  void checkBlockStackingMoves(Slip slip)
           
protected  void checkPlan(Slip slip)
          Checks the plan.
protected  Plan initialPlan()
           
protected  Domain readDomain()
           
protected  void runSimpleBlockSim(PlanCheckingSimulator sim)
           
protected  java.util.Map runSimulation(PlanCheckingSimulator sim)
          Simulates one execution of the plan.
 
Methods inherited from class ix.iplan.AutoTester.TestRunner
comparePlanModels, describePlan, describeTest, makePlanCheckingSimulator, planFromPlan, runTest, saveChangedState, savedChangedStateName, savedPlanName, savePlan, savePlanFromPlan, taskPlan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

auto

AutoTester auto

stacker

BlockStacker stacker

test

BlockStackingTest test
Constructor Detail

BlockStackingTest.BlockTestRunner

BlockStackingTest.BlockTestRunner(BlockStackingTest test,
                                  AutoTester auto)
Method Detail

readDomain

protected Domain readDomain()
Overrides:
readDomain in class AutoTester.TestRunner

initialPlan

protected Plan initialPlan()
Overrides:
initialPlan in class AutoTester.TestRunner

checkPlan

protected void checkPlan(Slip slip)
Description copied from class: AutoTester.TestRunner
Checks the plan. This includes running one simulation using node-ends in their default order, plus the number of simulations specified by the test that randomly shuffle the order (to the extent allowed by the plan's ordering constraints). Each simulation is run by calling AutoTester.TestRunner.runSimulation(PlanCheckingSimulator).

Overrides:
checkPlan in class AutoTester.TestRunner

runSimulation

protected java.util.Map runSimulation(PlanCheckingSimulator sim)
Description copied from class: AutoTester.TestRunner
Simulates one execution of the plan.

Overrides:
runSimulation in class AutoTester.TestRunner

runSimpleBlockSim

protected void runSimpleBlockSim(PlanCheckingSimulator sim)

checkBlockStackingMoves

protected void checkBlockStackingMoves(Slip slip)