Ignore:
Timestamp:
07/17/15 10:40:38 (9 years ago)
Author:
sherbold
Message:
  • updated UMLUtils to allow TestComponent? stereotype directly applied to the property in a test context
  • updated UMLInteractionCreator to ignore unknown primitive types and only give a warning instead of throwing an exception and aborting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtils.java

    r2009 r2011  
    759759        final Set<Property> properties = new HashSet<>(); 
    760760        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)) { 
    762764                properties.add(property); 
    763765            } 
Note: See TracChangeset for help on using the changeset viewer.