Changeset 1988 for trunk/autoquest-plugin-uml/src/main/java
- Timestamp:
- 07/07/15 08:36:28 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtils.java
r1978 r1988 425 425 * Name of the test context that should be used. If this value is null, the first 426 426 * test context found is used. 427 * @param useRandomRequestBodies 428 * defines is random request bodies are used or the body of the associated event 427 429 */ 428 430 public static Interaction createInteractionFromEventSequence(List<Event> sequence, 429 431 Model model, 430 432 String interactionName, 431 String testContextName) 433 String testContextName, 434 boolean useRandomRequestBodies) 432 435 { 433 436 final Component testContext = fetchTestContext(model, testContextName); … … 546 549 Message callMessage = interaction.createMessage(prefix + "call"); 547 550 callMessage.setSignature(calledOperation); 548 setCallMessageParameters(callMessage, calledOperation, event, prefix);551 setCallMessageParameters(callMessage, calledOperation, event, useRandomRequestBodies, prefix); 549 552 callMessage.setConnector(connector); 550 553 callMessage.setSendEvent(callSendFragment); … … 1025 1028 * @param event 1026 1029 * event that provides the parameters; in case of null, default values are assumed 1030 * @param useRandomRequestBodies 1031 * defines is random request bodies are used or the body of the associated event 1027 1032 * @param prefix 1028 1033 * prefix of the call message; used to create good warnings and debugging information … … 1031 1036 Operation calledOperation, 1032 1037 Event event, 1038 boolean useRandomRequestBodies, 1033 1039 String prefix) 1034 1040 { 1035 org.w3c.dom.Element requestBody = SOAPUtils.getSoapRequestBodyFromEvent(event );1041 org.w3c.dom.Element requestBody = SOAPUtils.getSoapRequestBodyFromEvent(event, useRandomRequestBodies); 1036 1042 Package instSpecPkg = null; 1037 1043
Note: See TracChangeset
for help on using the changeset viewer.