|
Jadex 0.96 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION |
The Test capability is responsible for tracking test results and publishes results either to a test center or on console.
Belief Summary | |
exported belief boolean |
keepalive
Keep the agent alive after ther tests have been performed. |
exported beliefset TestReport |
reports
The testcase reports. |
belief long |
starttime
The start time. |
exported belief int |
testcase_cnt
The number of testcases. |
exported belief AgentIdentifier |
testcenter
The test center identifier (null when the agent was not started from the test center). |
exported belief long |
timeout
Default timeout is never. |
belief boolean |
timeout_failure
The indicator for a timeout (when no time left and reports incomplete). |
Goal Summary | |
achievegoal |
tests_finished()
|
Plan Summary | |
standard plan |
print_reports()
Print results to console. |
standard plan |
send_reports()
Send results to test center. |
mobile plan |
tests_finished_plan()
Plan to wait until all tests are finished and then to create the tests_finished goal. |
Event Summary | |
exported messageevent |
inform_reports(String language, String performative, String reply-with)
The inform reports message event. |
Expression Summary | |
condition |
tests_finished
The tests are finished when as many reports have been added as tests have been declared and tests to do >0 or the timeout has occurred. |
Configuration Summary | |
default configuration |
default
|
configuration |
off
|
Belief Detail |
exported belief int testcase_cnt
1
exported belief long timeout
0
exported belief AgentIdentifier testcenter
exported belief boolean keepalive
false
belief long starttime
System.currentTimeMillis()
belief boolean timeout_failure
$beliefbase.timeout>0
&& $beliefbase.starttime+$beliefbase.timeout <= System.currentTimeMillis()
&& $beliefbase.testcase_cnt!=$beliefbase.reports.length
exported beliefset TestReport reports
Goal Detail |
achievegoal tests_finished()
Plan Detail |
mobile plan tests_finished_plan()
standard plan send_reports()
tests_finished
standard plan print_reports()
tests_finished
Event Detail |
exported messageevent inform_reports(String language, String performative, String reply-with)
language
Default value:
SFipa.NUGGETS_XML
performative
Default value:
SFipa.INFORM
reply-with
Default value:
SFipa.createUniqueId($scope.getAgentName())
Expression Detail |
condition tests_finished
$beliefbase.testcase_cnt==$beliefbase.reports.length || $beliefbase.timeout_failure
Configuration Detail |
default configuration default
configuration off
|
Jadex 0.96 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.