Changeset 1989


Ignore:
Timestamp:
07/07/15 08:36:39 (9 years ago)
Author:
sherbold
Message:

*updated tests

File:
1 edited

Legend:

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

    r1979 r1989  
    303303                                                        properties.getProperty("testcases.prefix") + 
    304304                                                            "_" + i, 
    305                                                         properties.getProperty("test.context")); 
     305                                                        properties.getProperty("test.context"), 
     306                                                        false); 
    306307            i++; 
    307308        } 
     
    328329                                                    properties.getProperty("testcases.prefix") + 
    329330                                                        "_" + i, 
    330                                                     properties.getProperty("test.context"))); 
     331                                                    properties.getProperty("test.context"), 
     332                                                    true)); 
    331333            lengths[i - 1] = sequence.size(); 
    332334            i++; 
     
    352354                                                        properties.getProperty("testcases.prefix") + 
    353355                                                            "_" + i, 
    354                                                         properties.getProperty("test.context")); 
     356                                                        properties.getProperty("test.context"), 
     357                                                        true); 
    355358            i++; 
    356359        } 
     
    381384 
    382385        // remove non SOAP events and convert to SimpleSOAPEventType 
    383         Collection<List<Event>> simpleSOAPSequences = new LinkedList<>(); 
    384         for (List<Event> sequence : sequences) { 
    385             List<Event> simpleSOAPSequence = SOAPUtils.convertToSimpleSOAPEvent(sequence, true); 
    386             List<Event> simpleSOAPSequenceWithNormalizedMethodNames = 
    387                 SOAPUtils.normalizeOperationNames(simpleSOAPSequence, properties 
     386        Collection<List<Event>> tmpSeqs = SOAPUtils.convertToSimpleSOAPEvent(sequences, true); 
     387        // normalize method names 
     388        Collection<List<Event>> simpleSOAPSequences = SOAPUtils.normalizeOperationNames(tmpSeqs, properties 
    388389                    .getProperty("methodName.prefixToRemove"), properties 
    389390                    .getProperty("methodName.suffixToRemove")); 
    390             simpleSOAPSequences.add(simpleSOAPSequenceWithNormalizedMethodNames); 
    391         } 
    392  
    393         // remove calls to ingored services 
     391 
     392        // remove calls to ignored services 
    394393        Set<String> ignoredServices = new HashSet<>(); 
    395394        String ignoredServicesString = properties.getProperty("test.ignored.services"); 
Note: See TracChangeset for help on using the changeset viewer.