jadex.testcases.plans
Agent PlanFail
jadex.testcases.plans.PlanFail
jadex.planlib.Test
- agent PlanFail
- contains jadex.planlib.Test
Agent arguments: timeout- timeout long
, testcenter- testcenter AgentIdentifier
Test the plan's failed() method.
Tests if waitFor() and subgoals in the failed() method
work as expected.
Configuration Summary |
default configuration |
default
|
testcase_cnt
beliefref int testcase_cnt
- Default fact:
1
- Referenced from:
testcase_cnt
in capability jadex.planlib.Test
timeout
exported beliefref long timeout
- Default fact:
0
- Referenced from:
timeout
in capability jadex.planlib.Test
testcenter
exported beliefref AgentIdentifier testcenter
- Referenced from:
testcenter
in capability jadex.planlib.Test
reports
beliefsetref TestReport reports
- Referenced from:
reports
in capability jadex.planlib.Test
successgoal
achievegoal successgoal()
- goal succeeds without plan
- BDI flags:
- retry: true
- retry delay: 0
- exclude: when_tried
- random selection: false
- post to all: false
- Target Condition:
true
failuregoal
achievegoal failuregoal()
- goal fails without plan
- BDI flags:
- retry: true
- retry delay: 0
- exclude: when_tried
- random selection: false
- post to all: false
- Target Condition:
false
successgoal2
achievegoal successgoal2()
- goal succeeds after plan
- BDI flags:
- retry: true
- retry delay: 0
- exclude: when_tried
- random selection: false
- post to all: false
failuregoal2
achievegoal failuregoal2()
- goal fails after plan
- BDI flags:
- retry: true
- retry delay: 0
- exclude: when_tried
- random selection: false
- post to all: false
test_fail
standard plan test_fail()
- Plan body:
new TestFailPlan()
successplan
standard plan successplan()
- Plan body:
new ResultPlan(10, true)
- Plan trigger:
- Goals:
successgoal2
failureplan
standard plan failureplan()
- Plan body:
new ResultPlan(10, false)
- Plan trigger:
- Goals:
failuregoal2
default
default configuration default
- Initial Beliefs:
- testcase_cnt Initial value:
6
- Initial Plans:
- test_fail
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.