Changeset 1058 for trunk/autoquest-plugin-jfc
- Timestamp:
- 02/01/13 12:16:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/JFCSimplifiedLogParser.java
r1051 r1058 274 274 } 275 275 if (!eventsWithoutTargets.isEmpty()) { 276 Console.printerr("Some events reference GUI el ments that are not part of logfile. +"277 + "These events have been ignored.");276 Console.printerr("Some events reference GUI elements that are not part of logfile. " + 277 "These events have been parsed without target."); 278 278 } 279 279 } … … 406 406 event.setTarget(guiElement); 407 407 guiElement.markUsed(); 408 currentSequence.add(event);409 408 } 410 409 eventsWithoutTargets.remove(currentGUIElementHash); … … 419 418 IGUIElement currentGUIElement; 420 419 currentGUIElement = currentGUIElementTree.find(currentEventSource); 421 420 Event event; 422 421 // in some rare cases the target GUI element of the event is not 423 422 // known yet 424 423 if (currentGUIElement == null) { 425 Event event = 426 new Event(instantiateInteraction(currentEventId, currentEventParameters)); 427 event.setTimestamp(currentEventTimestamp); 428 424 event = new Event(instantiateInteraction(currentEventId, currentEventParameters)); 429 425 List<Event> eventList = eventsWithoutTargets.get(currentEventSource); 430 426 if (eventList == null) { … … 435 431 } 436 432 else { 437 Event event = 438 new Event(instantiateInteraction(currentEventId, currentEventParameters), 433 event = new Event(instantiateInteraction(currentEventId, currentEventParameters), 439 434 currentGUIElement); 440 event.setTimestamp(currentEventTimestamp);441 435 JFCGUIElement currentEventTarget = (JFCGUIElement) event.getTarget(); 442 436 currentEventTarget.markUsed(); 443 444 currentSequence.add(event);445 }437 } 438 event.setTimestamp(currentEventTimestamp); 439 currentSequence.add(event); 446 440 447 441 currentEventParameters = null;
Note: See TracChangeset
for help on using the changeset viewer.