Changeset 2011 for trunk/autoquest-plugin-uml/src
- Timestamp:
- 07/17/15 10:40:38 (9 years ago)
- Location:
- trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml/UMLInteractionCreator.java
r2010 r2011 482 482 else if (prop.getType() instanceof DataType) { 483 483 if( isXSDSequence(prop.getType()) ) { // XSD sequence, no real type 484 System.out.println(SOAPUtils.getChildNodeNames(currentNode));485 484 List<String> childNames = SOAPUtils.getChildNodeNames(currentNode); 486 485 List<org.w3c.dom.Element> childNodes = SOAPUtils.getChildElements(currentNode); … … 550 549 } 551 550 } 552 System.out.println(prop.getName() + " " + sequenceIsMatch);553 551 } 554 552 } … … 697 695 Console.traceln(Level.SEVERE, "could not create literal for primitive type: " + 698 696 prop.getType().getName()); 699 throw new RuntimeException("unknown primitive type: " + prop.getType().getName()); 697 Console.traceln(Level.SEVERE, "attribute is ignored!"); 698 // TODO 699 //throw new RuntimeException("unknown primitive type: " + prop.getType().getName()); 700 700 } 701 701 } … … 747 747 if( attributeValue!=null ) { 748 748 value.setInstance(((Enumeration) prop.getType()).getOwnedLiteral(attributeValue)); 749 System.out.println("foo");750 749 } else { 751 750 throw new RuntimeException("cannot create enumeration literal with dummy value"); -
trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtils.java
r2009 r2011 759 759 final Set<Property> properties = new HashSet<>(); 760 760 for (Property property : testContext.getAllAttributes()) { 761 if (property.getType().getAppliedStereotypes().contains(utpTestComponent)) { 761 // TODO once all models are update the first condition should be removed 762 if (property.getType().getAppliedStereotypes().contains(utpTestComponent) || 763 property.getType().getApplicableStereotypes().contains(utpTestComponent)) { 762 764 properties.add(property); 763 765 }
Note: See TracChangeset
for help on using the changeset viewer.