Changeset 1490 for trunk/autoquest-core-events-test/src/test
- Timestamp:
- 04/07/14 08:42:08 (11 years ago)
- Location:
- trunk/autoquest-core-events-test/src/test/java/de/ugoe/cs/autoquest/eventcore/guimodel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-events-test/src/test/java/de/ugoe/cs/autoquest/eventcore/guimodel/AbstractDefaultGUIElementTest.java
r1436 r1490 112 112 113 113 /* (non-Javadoc) 114 * @see de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement#updateSpecification( de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec)114 * @see de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement#updateSpecification(IGUIElementSpec) 115 115 */ 116 116 @Override … … 124 124 } 125 125 126 /* (non-Javadoc) 127 * @see de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement#getDistanceTo(IGUIElement) 128 */ 129 @Override 130 public double getDistanceTo(IGUIElement otherElement) { 131 if (this == otherElement) { 132 return 0.0; 133 } 134 else { 135 return 1.0; 136 } 137 } 138 126 139 } 127 140 -
trunk/autoquest-core-events-test/src/test/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIModelTest.java
r1386 r1490 1109 1109 } 1110 1110 1111 /* (non-Javadoc) 1112 * @see de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement#getDistanceTo(IGUIElement) 1113 */ 1114 @Override 1115 public double getDistanceTo(IGUIElement otherElement) { 1116 if (this == otherElement) { 1117 return 0.0; 1118 } 1119 else { 1120 return 1.0; 1121 } 1122 } 1123 1111 1124 } 1112 1125 -
trunk/autoquest-core-events-test/src/test/java/de/ugoe/cs/autoquest/eventcore/guimodel/MockGUIElement.java
r1433 r1490 61 61 62 62 @Override 63 public double getDistanceTo(IGUIElement otherElement) { 64 return 0.0; 65 } 66 67 @Override 63 68 public boolean isUsed() { 64 69 return false;
Note: See TracChangeset
for help on using the changeset viewer.