- Timestamp:
- 05/19/17 11:31:29 (7 years ago)
- Location:
- trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/HTMLLogParser.java
r1965 r2146 35 35 36 36 import de.ugoe.cs.autoquest.eventcore.Event; 37 import de.ugoe.cs.autoquest.eventcore.EventTargetModelException; 37 38 import de.ugoe.cs.autoquest.eventcore.IEventType; 38 39 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIModel; 39 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIModelException;40 40 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; 41 41 import de.ugoe.cs.autoquest.plugin.html.eventcore.HTMLEventTypeFactory; … … 273 273 super.getGUIElementTree().add(replacementId, parentId, specification); 274 274 } 275 catch ( GUIModelException e) {275 catch (EventTargetModelException e) { 276 276 throw new SAXException("could not handle GUI element with id " + 277 277 id + ": " + e.getMessage(), e); -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDcondenseHTMLGUIModel.java
r1492 r2146 25 25 26 26 import de.ugoe.cs.autoquest.CommandHelpers; 27 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIElementFactory; 27 28 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIModel; 28 29 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; … … 445 446 //System.out.println(indent + "merging " + mergeResult + " and " + 446 447 // similarGUIElements.get(1).similarGUIElement); 447 mergeResult = model.merge GUIElements448 mergeResult = model.mergeEventTargets 448 449 (mergeResult, similarGUIElements.remove(1).similarGUIElement, false); 449 450 } … … 492 493 493 494 //System.out.println(indent + "grouping: " + guiElementsToGroup); 494 IGUIElement group = model.groupGUIElements(guiElementsToGroup, getGroupName(cluster)); 495 IGUIElement group = model.groupEventTargets 496 (guiElementsToGroup, getGroupName(cluster), GUIElementFactory.getInstance()); 495 497 //System.out.println(indent + " created group for " + cluster + ": " + group); 496 498 -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDgenerateSeleniumReplay.java
r2029 r2146 173 173 case TAB: 174 174 value = "${KEY_TAB}"; 175 break; 176 default: 177 break; 175 178 } 176 179 } -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLDocumentSpec.java
r1876 r2146 15 15 package de.ugoe.cs.autoquest.plugin.html.guimodel; 16 16 17 import de.ugoe.cs.autoquest.eventcore.IEventTargetSpec; 17 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 18 19 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIView; … … 99 100 */ 100 101 @Override 101 public boolean getSimilarity(I GUIElementSpec other) {102 public boolean getSimilarity(IEventTargetSpec other) { 102 103 if (other instanceof HTMLDocumentSpec) { 103 104 HTMLDocumentSpec otherSpec = (HTMLDocumentSpec) other; -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLGUIElement.java
r1490 r2146 15 15 package de.ugoe.cs.autoquest.plugin.html.guimodel; 16 16 17 import de.ugoe.cs.autoquest.eventcore.IEventTargetSpec; 17 18 import de.ugoe.cs.autoquest.eventcore.guimodel.AbstractDefaultGUIElement; 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec;19 19 20 20 /** … … 113 113 */ 114 114 @Override 115 public void updateSpecification(I GUIElementSpec updateSpecification) {116 // nothing to do. There is no tneed for handle things such as name changes, etc.115 public void updateSpecification(IEventTargetSpec updateSpecification) { 116 // nothing to do. There is no need for handle things such as name changes, etc. 117 117 } 118 118 -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLGUIElementSpec.java
r1436 r2146 15 15 package de.ugoe.cs.autoquest.plugin.html.guimodel; 16 16 17 import de.ugoe.cs.autoquest.eventcore.IEventTargetSpec; 17 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 18 19 … … 78 79 */ 79 80 @Override 80 public boolean getSimilarity(I GUIElementSpec other) {81 public boolean getSimilarity(IEventTargetSpec other) { 81 82 if (other instanceof HTMLGUIElementSpec) { 82 83 HTMLGUIElementSpec otherSpec = (HTMLGUIElementSpec) other; -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLPageElementSpec.java
r1436 r2146 15 15 package de.ugoe.cs.autoquest.plugin.html.guimodel; 16 16 17 import de.ugoe.cs.autoquest.eventcore.IEventTargetSpec; 17 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 18 19 … … 108 109 */ 109 110 @Override 110 public boolean getSimilarity(I GUIElementSpec other) {111 public boolean getSimilarity(IEventTargetSpec other) { 111 112 if (other instanceof HTMLPageElementSpec) { 112 113 HTMLPageElementSpec otherSpec = (HTMLPageElementSpec) other; -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLServerSpec.java
r1436 r2146 15 15 package de.ugoe.cs.autoquest.plugin.html.guimodel; 16 16 17 import de.ugoe.cs.autoquest.eventcore.IEventTargetSpec; 17 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 18 19 … … 77 78 */ 78 79 @Override 79 public boolean getSimilarity(I GUIElementSpec other) {80 public boolean getSimilarity(IEventTargetSpec other) { 80 81 if (other instanceof HTMLServerSpec) { 81 82 HTMLServerSpec otherSpec = (HTMLServerSpec) other;
Note: See TracChangeset
for help on using the changeset viewer.