es.upm.dit.gsi.beast.mock
Class MockManager
java.lang.Object
es.upm.dit.gsi.beast.mock.MockManager
public class MockManager
- extends Object
Project: beast
File: es.upm.dit.gsi.beast.mock.MockManager.java
This class creates mock agents on the Scenario
Grupo de Sistemas Inteligentes
Departamento de Ingeniería de Sistemas Telemáticos
Universidad Politécnica de Madrid (UPM)
- Version:
- 0.1
- Author:
- alvarocarrera
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockManager
public MockManager()
startMockJadexAgent
public static void startMockJadexAgent(String agent_name,
String agent_path,
MockConfiguration configuration,
BeastTestCase story)
- This method is used to launch mock agents. First it creates them, with
the generic df_service_name \"mock_agent\", and then the method sends to
the agent a message with the new df_service_name and its behaviour.
- Parameters:
agent_name
- The name of the mock agentagent_path
- The path of the agent, described in
mocks/jadex/common/Definitions fileconfiguration
- Where the new df_service_name and the agents behaviour is
savedscenario
- The Scenario of the Test
startMockJadeAgent
public static void startMockJadeAgent(String agent_name,
String agent_path,
MockConfiguration configuration,
BeastTestCase story)
Copyright © 2014 Grupo de Sistemas Inteligentes - Universidad Politécnica de Madrid. All Rights Reserved.