jadex.testcases.plans
Agent AtomicException
jadex.testcases.plans.AtomicException
jadex.planlib.Test
- agent AtomicException
- contains jadex.planlib.Test
Agent arguments: timeout- timeout long
, testcenter- testcenter AgentIdentifier
Testing the atomic operation for plans.
Testing atomic operation in conjunction with exceptions.
First it is checked, if an exception is generated,
when a plan wants to wait while in atomic mode.
Second it is checked, if the atomic mode is correctly reset,
when a plan fails (= throws an exception) while in atomic mode.
Plan Summary |
standard plan |
tester()
|
Configuration Summary |
default configuration |
default
|
report
belief TestReport report
a
belief boolean a
- Default fact:
false
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
tester
standard plan tester()
- Plan body:
- Plan trigger:
- Condition
$beliefbase.a
default
default configuration default
- Initial Beliefs:
- testcase_cnt Initial value:
2
- Initial Plans:
- tester
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.