Changeset 2009 for trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtils.java
- Timestamp:
- 07/14/15 13:20:26 (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
r2008 r2009 423 423 * defines is random request bodies are used or the body of the associated event 424 424 */ 425 public static Interaction createInteractionFromEventSequence(List<Event> sequence,425 public static List<Interaction> createInteractionFromEventSequence(Collection<List<Event>> sequences, 426 426 Model model, 427 427 String interactionName, … … 429 429 boolean useRandomMsgBodies) 430 430 { 431 List<Interaction> interactions = new LinkedList<>(); 431 432 UMLInteractionCreator interactionCreator = new UMLInteractionCreator(model, testContextName, useRandomMsgBodies); 432 return interactionCreator.createInteraction(sequence, interactionName); 433 int i=0; 434 for( List<Event> sequence : sequences ) { 435 interactions.add(interactionCreator.createInteraction(sequence, interactionName+"_"+i)); 436 i++; 437 } 438 return interactions; 433 439 } 434 440
Note: See TracChangeset
for help on using the changeset viewer.