| org.mactor.framework.extensioninterface.MessageBuilderCommand
All known Subclasses: org.mactor.extensions.xml.XPathTemplateMessageBuilder,
MessageBuilderCommand | public interface MessageBuilderCommand (Code) | | The interface that must be must be implemented by message builder commands
From a testspec: <message-builder name="MyMessageBuilder" command="java:class
that implements the MessageBuilderCommand interface"/>
author: Lars Ivar Almli |
buildMessage | Message buildMessage(TestContext context, String templatePath, List<String> params) throws MactorException(Code) | | The method invoked by the testrunner to build the message
Parameters: context - contains information about the context of the test that mightbe useful (such as all messages sent/received so far in thetest) Parameters: params - the list of parameteres specifed for the given node in thetest-spec xml (after the ##{...} substitution has beenperformed) the built message throws: MactorException - to indicate some problem (this will cause the test to fail) |
|
|