- Timestamp:
- 11/29/17 14:55:48 (7 years ago)
- Location:
- trunk
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-assertions/src/main/java/de/ugoe/cs/autoquest/assertions/TextEqualsAssertEventType.java
r927 r2218 18 18 19 19 /** 20 * < /p> Event type for TextEquals assertions. </p>20 * <p> Event type for TextEquals assertions. </p> 21 21 * 22 22 * @version 1.0 -
trunk/autoquest-core-coverage/src/main/java/de/ugoe/cs/autoquest/coverage/CoverageCalculatorObserved.java
r927 r2218 81 81 * sequences for which the coverage is calculated; must not be null 82 82 * @param length 83 * length of the subsequences for which the coverage is analyzed; must be >083 * length of the subsequences for which the coverage is analyzed; must be >0 84 84 * @throws IllegalArgumentException 85 85 * thrown if observedSequences or sequences is null or length less than or equal to -
trunk/autoquest-core-coverage/src/main/java/de/ugoe/cs/autoquest/coverage/CoverageCalculatorProcess.java
r927 r2218 86 86 * sequences for which the coverage is calculated; must not be null 87 87 * @param length 88 * length of the subsequences for which the coverage is analyzed; must be >088 * length of the subsequences for which the coverage is analyzed; must be >0 89 89 * @throws IllegalArgumentException 90 90 * thrown if process or sequences is null or length less than or equal to 0 -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/Event.java
r1873 r2218 30 30 * @version 1.0 31 31 * 32 * @param <T>33 * Can be used to declare that events belong to a specific platform without subclassing.34 32 */ 35 33 public final class Event implements Serializable { … … 86 84 * <p> 87 85 * List of {@link IReplayable}s of type T that describes the replay of an event. The 88 * {@link IReplayable}s can be interpreted as <it>sub-events</it>on the platform level that86 * {@link IReplayable}s can be interpreted as sub-events on the platform level that 89 87 * make up the abstract event. 90 88 * </p> -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/HierarchicalEventTargetTree.java
r2156 r2218 25 25 /** 26 26 * <p> 27 * This class provides the interfaces for GUI element trees.27 * This class provides the interfaces for hierarchical event target trees. 28 28 * </p> 29 29 * <p> 30 * The GUIElementTree represents the hierarchical structure of the GUI elements "as it is"31 * currently during a session. It may change during the session due to creation and destruction32 * of GUI elements. The parameter T represents the id type of the GUI elements that are handled33 * internally.30 * The HierarchicalEventTargetTree represents the hierarchical structure of the event targets 31 * "as it is" currently during a session. It may change during the session due to creation and 32 * destruction of event targets. The parameter ID represents the id type of the event targets 33 * that are handled internally. The other type parameters specify the concrete target type. 34 34 * </p> 35 35 * … … 44 44 /** 45 45 * <p> 46 * Map of all GUI elements that are part of the tree for efficient searching. The keys of the47 * map are the ids of the GUI elements.46 * Map of all event targets that are part of the tree for efficient searching. The keys of the 47 * map are the ids of the event targets. 48 48 * </p> 49 49 */ … … 52 52 /** 53 53 * <p> 54 * Map of all GUI element specifications that are part of the tree for efficient searching. The55 * keys of the map are the ids of the GUI elements.54 * Map of all event target specifications that are part of the tree for efficient searching. The 55 * keys of the map are the ids of the event targets. 56 56 * </p> 57 57 */ … … 60 60 /** 61 61 * <p> 62 * Map of all children of GUI elements that are part of the tree. The keys of the map are the63 * ids of the parent GUI elements.62 * Map of all children of event targets that are part of the tree. The keys of the map are the 63 * ids of the parent event targets. 64 64 * </p> 65 65 */ … … 68 68 /** 69 69 * <p> 70 * Map of all parents of GUI elements that are part of the tree. The keys of the map are the71 * ids of the child GUI elements.70 * Map of all parents of event targets that are part of the tree. The keys of the map are the 71 * ids of the child event targets. 72 72 * </p> 73 73 */ … … 83 83 /** 84 84 * <p> 85 * the GUI element factory used in the model85 * the event target factory used in the model 86 86 * </p> 87 87 */ … … 106 106 /** 107 107 * <p> 108 * Adds a new GUI element to the tree.108 * Adds a new event target to the tree. 109 109 * </p> 110 110 * 111 111 * @param eventTargetID 112 * id of the GUI element to be created112 * id of the event target to be created 113 113 * @param parentID 114 * id of the parent GUI element114 * id of the parent event target 115 115 * @param eventTargetSpec 116 * the GUI element specification116 * the event target specification 117 117 * 118 * @throws EventTargetModelException if the GUI element can not be added to the underlying GUI model118 * @throws EventTargetModelException if the event target can not be added to the underlying GUI model 119 119 */ 120 120 public void add(ID eventTargetID, … … 159 159 /** 160 160 * <p> 161 * Searches the tree for a GUI element with the specified id and returns its161 * Searches the tree for a event target with the specified id and returns its 162 162 * {@link IGUIElement} . 163 163 * </p> … … 165 165 * @param id 166 166 * id that is looked for 167 * @return {@link I GUIElementSpec} of the GUI element with the given id if found, null otherwise167 * @return {@link IEventTargetSpec} of the event target with the given id if found, null otherwise 168 168 */ 169 169 public TARGET_TYPE find(ID id) { … … 173 173 /** 174 174 * <p> 175 * Returns the id of the provided {@link I GUIElement}. The comparison is performed using the176 * equals method of the GUI element.175 * Returns the id of the provided {@link IHierachicalEventTarget}. The comparison is performed using the 176 * equals method of the event target. 177 177 * </p> 178 178 * 179 179 * @param eventTarget 180 180 * guiElement that is looked for 181 * @return the id of the GUI element, null if the GUI element can not be found181 * @return the id of the event target, null if the event target can not be found 182 182 */ 183 183 public ID find(TARGET_TYPE eventTarget) { … … 193 193 /** 194 194 * <p> 195 * Removes a GUI element (defined by its id) from the tree. All children of the GUI element will be195 * Removes a event target (defined by its id) from the tree. All children of the event target will be 196 196 * removed recursively. 197 197 * </p> 198 198 * 199 199 * @param id 200 * id of the GUI element to be removed201 * @return number of GUI elements that were removed200 * id of the event target to be removed 201 * @return number of event targets that were removed 202 202 */ 203 203 public int remove(ID id) { -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/IReplayable.java
r927 r2218 21 21 /** 22 22 * <p> 23 * This interface is used by {@link ReplayableEvent}to describe how events can23 * This interface is used by replayable events to describe how events can 24 24 * be replayed. It can be used to define a sequence of fine-grained platform 25 25 * events that make up an abstract event. -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/gui/KeyInteractionCorrector.java
r927 r2218 30 30 * This class provides the functionality to sort and clean up all key interactions in a log. In 31 31 * particular: 32 * </p> 32 33 * <ol> 33 34 * <li>In case a combination key (e.g., shift, alt, control) is held down, multiple … … 48 49 * events for all combination keys.</li> 49 50 * </ol> 50 * </p>51 51 * 52 52 * @version 1.0 -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIElementGroup.java
r2146 r2218 41 41 * </p> 42 42 * 43 * @param groupName 44 * @param parent 45 * @param eventTargetModelthe GUI model to which the group will belong43 * @param groupName the name of the GUI element group 44 * @param parent the optional parent GUI element of the group 45 * @param guiModel the GUI model to which the group will belong 46 46 */ 47 47 public GUIElementGroup(String groupName, -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIModel.java
r2146 r2218 22 22 /** 23 23 * <p> 24 * A GUI model is a tree of {@link IGUIElement s}and represents a complete GUI of a software. It is24 * A GUI model is a tree of {@link IGUIElement}s and represents a complete GUI of a software. It is 25 25 * platform independent. It may have several root nodes, as some GUIs are made up of several Frames 26 26 * being independent from each other. The GUI model is filled using the -
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/IGUIElement.java
r2146 r2218 107 107 * </p> 108 108 * 109 * @param guiElement109 * @param otherElement 110 110 * the GUI element to measure the distance for 111 111 */ -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskEquality.java
r1887 r2218 19 19 * A task equality denotes, how equal two tasks are. There are different equality levels 20 20 * which are similar to the usual design levels of GUI design. These levels are 21 * </p> 21 22 * <ul> 22 23 * <li>conceptual design: defines the concepts to be edited using a GUI</li> … … 26 27 * can be performed</li> 27 28 * </ul> 29 * <p> 28 30 * It is not possible to compare two tasks conceptually. But the other design levels can be 29 31 * identified and compared. -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskEqualityRuleManager.java
r2161 r2218 92 92 * @return as described 93 93 * 94 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 95 * manager before a call to this method. 94 * @throws IllegalStateException in the case, the object is not correctly initialized 96 95 */ 97 96 public TaskEquality compare(ITask task1, ITask task2) … … 132 131 * @return as described 133 132 * 134 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 135 * manager before a call to this method. 133 * @throws IllegalStateException in the case, the object is not correctly initialized 136 134 */ 137 135 public boolean areAtLeastEqual(ITask task1, ITask task2, TaskEquality equalityLevel) { … … 168 166 * @return as described 169 167 * 170 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 171 * manager before a call to this method. 168 * @throws IllegalStateException in the case, the object is not correctly initialized 172 169 */ 173 170 public boolean areIdentical(ITask task1, ITask task2) { … … 197 194 * @return as described 198 195 * 199 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 200 * manager before a call to this method. 196 * @throws IllegalStateException in the case, the object is not correctly initialized 201 197 */ 202 198 public boolean areLexicallyEqual(ITask task1, ITask task2) { … … 226 222 * @return as described 227 223 * 228 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 229 * manager before a call to this method. 224 * @throws IllegalStateException in the case, the object is not correctly initialized 230 225 */ 231 226 public boolean areSyntacticallyEqual(ITask task1, ITask task2) { … … 255 250 * @return as described 256 251 * 257 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 258 * manager before a call to this method. 252 * @throws IllegalStateException in the case, the object is not correctly initialized 259 253 */ 260 254 public boolean areSemanticallyEqual(ITask task1, ITask task2) { … … 285 279 * @return as described 286 280 * 287 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 288 * manager before a call to this method. 281 * @throws IllegalStateException in the case, the object is not correctly initialized 289 282 */ 290 283 public TaskEquality compare(ITaskInstance instance1, ITaskInstance instance2) … … 325 318 * @return as described 326 319 * 327 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 328 * manager before a call to this method. 320 * @throws IllegalStateException in the case, the object is not correctly initialized 329 321 */ 330 322 public boolean areAtLeastEqual(ITaskInstance instance1, … … 364 356 * @return as described 365 357 * 366 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 367 * manager before a call to this method. 358 * @throws IllegalStateException in the case, the object is not correctly initialized 368 359 */ 369 360 public boolean areIdentical(ITaskInstance instance1, ITaskInstance instance2) { … … 395 386 * @return as described 396 387 * 397 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 398 * manager before a call to this method. 388 * @throws IllegalStateException in the case, the object is not correctly initialized 399 389 */ 400 390 public boolean areLexicallyEqual(ITaskInstance instance1, ITaskInstance instance2) { … … 426 416 * @return as described 427 417 * 428 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 429 * manager before a call to this method. 418 * @throws IllegalStateException in the case, the object is not correctly initialized 430 419 */ 431 420 public boolean areSyntacticallyEqual(ITaskInstance instance1, ITaskInstance instance2) { … … 457 446 * @return as described 458 447 * 459 * @throws IllegalStateException in the case, the {@link #init()} method was not called on the 460 * manager before a call to this method. 448 * @throws IllegalStateException in the case, the object is not correctly initialized 461 449 */ 462 450 public boolean areSemanticallyEqual(ITaskInstance instance1, ITaskInstance instance2) { -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/TaskSymbolBucketedMap.java
r2129 r2218 54 54 * </p> 55 55 * 56 * @see SymbolComparator56 * @see TaskComparator 57 57 * 58 58 * @author Patrick Harms -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/TemporalRelationshipRuleManager.java
r2132 r2218 40 40 * </p> 41 41 * <p>The class holds references to the appropriate {@link ITaskInstanceScopeRule}s and calls 42 * their {@link ITaskInstanceScopeRule#apply( ITask, ITaskBuilder, ITaskFactory, boolean)}42 * their {@link ITaskInstanceScopeRule#apply(de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskInstance)} 43 43 * method for each task in the task tree it is needed for. The general behavior of this class is 44 44 * the following: 45 * </p> 45 46 * <ol> 46 47 * <li> … … 49 50 * </li> 50 51 * <li> 51 * then the {@link #apply Rules(ITask, ITaskBuilder, ITaskFactory, boolean)}52 * then the {@link #applyTaskDetectionRule(List, TaskEquality, int)} 52 53 * method is called for a so far unstructured task 53 54 * </li> … … 77 78 * </li> 78 79 * </ol> 80 * <p> 79 81 * Through this, all rules are tried to be applied at least once to the provided parent task and 80 82 * all parent tasks created during the rule application. -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskBuilder.java
r1766 r2218 252 252 * @param oldChild the child to replace 253 253 * @param newChild the replacement for the child 254 *255 * @throws as described256 254 */ 257 255 void replaceChild(ISelection parent, ITask oldChild, ITask newChild); -
trunk/autoquest-core-testgeneration/src/main/java/de/ugoe/cs/autoquest/testgeneration/DrawFromAllSequencesGenerator.java
r927 r2218 81 81 * Constructor. Creates a new DrawFromAllSequencesGenerator and ensures the validity of the 82 82 * parameters: 83 * </p> 83 84 * <ul> 84 85 * <li>numSequences must at least be 1 … … 86 87 * <li>minLength must be less than or equal to maxLength 87 88 * </ul> 89 * <p> 88 90 * If one of these conditions is violated an {@link IllegalArgumentException} is thrown. 89 91 * </p> -
trunk/autoquest-core-testgeneration/src/main/java/de/ugoe/cs/autoquest/testgeneration/HybridGenerator.java
r927 r2218 70 70 * <p> 71 71 * Constructor. Creates a new HybridGenerator and ensures the validity of the parameters: 72 * </p> 72 73 * <ul> 73 74 * <li>numSequences must at least be 1 74 75 * <li>length must be at least 1 75 76 * </ul> 77 * <p> 76 78 * If one of these conditions is violated an {@link IllegalArgumentException} is thrown. 77 79 * </p> -
trunk/autoquest-core-testgeneration/src/main/java/de/ugoe/cs/autoquest/testgeneration/RandomWalkGenerator.java
r2026 r2218 90 90 * <p> 91 91 * Constructor. Creates a new RandomWalkGenerator and ensures the validity of the parameters: 92 * </p> 92 93 * <ul> 93 94 * <li>numSequences must at least be 1 … … 96 97 * <li>maxIter must be greater than or equal to numSequences 97 98 * </ul> 99 * <p> 98 100 * If one of these conditions is violated an {@link IllegalArgumentException} is thrown. 99 101 * </p> -
trunk/autoquest-core-usageprofiles/src/main/java/de/ugoe/cs/autoquest/usageprofiles/IStochasticProcess.java
r2026 r2218 89 89 * Generates a random sequence of events. The sequence starts with {@link Event#STARTEVENT} and 90 90 * finishes with 91 * </p> 91 92 * <ul> 92 93 * <li>{@link Event#ENDEVENT} if validEnd==true.</li> … … 95 96 * is reached and the final event of the sequence must not be {@link Event#ENDEVENT}.</li> 96 97 * </ul> 97 * </p>98 98 * 99 99 * @param maxLength -
trunk/autoquest-core-usageprofiles/src/main/java/de/ugoe/cs/autoquest/usageprofiles/InvertedHighOrderMarkovModel.java
r2049 r2218 58 58 * <p> 59 59 * Calculates the probability of the next Event being symbol based on the order of the Markov 60 * model. The order is defined in the constructor {@link # HighOrderMarkovModel(int, Random)}.60 * model. The order is defined in the constructor {@link #InvertedHighOrderMarkovModel(int, Random)}. 61 61 * </p> 62 62 * -
trunk/autoquest-core-usageprofiles/src/main/java/de/ugoe/cs/autoquest/usageprofiles/ModelFlattener.java
r927 r2218 30 30 * <p> 31 31 * If possible, the normal high-order markov model should be used, as the Events may be broken by 32 * the flattener, as, e.g., the information {@link ReplayableEvent}s contain is not preserved.32 * the flattener, as, e.g., the information replayable events contain is not preserved. 33 33 * </p> 34 34 * -
trunk/autoquest-core-usageprofiles/src/main/java/de/ugoe/cs/autoquest/usageprofiles/SymbolComparator.java
r1282 r2218 31 31 * symbols as equal. The method must be commutative and transitive, i.e., 32 32 * <code>equals(symbol1, symbol2) == equals(symbol2, symbol1)</code> and 33 * <code>if (equals(symbol1, symbol2) & &equals(symbol2, symbol3)) then33 * <code>if (equals(symbol1, symbol2) && equals(symbol2, symbol3)) then 34 34 * equals(symbol1, symbol3)</code>. 35 35 * </p> -
trunk/autoquest-core-usageprofiles/src/main/java/de/ugoe/cs/autoquest/usageprofiles/SymbolMap.java
r1282 r2218 37 37 * @author Patrick Harms 38 38 * 39 * @param < T>39 * @param <K> 40 40 * Type of the symbols that are stored 41 41 * @param <V> … … 104 104 * @param value the value to associate to the symbol in this map 105 105 * 106 * @return as described107 *108 106 * @throws IllegalArgumentException if the provided symbol is null 109 107 */ -
trunk/autoquest-core-usageprofiles/src/main/java/de/ugoe/cs/autoquest/usageprofiles/Trie.java
r1282 r2218 29 29 /** 30 30 * <p> 31 * This class implements a <it>trie</it>, i.e., a tree of sequences that represents the occurrence31 * This class implements a trie, i.e., a tree of sequences that represents the occurrence 32 32 * of subsequences up to a predefined length. This length is the trie order. 33 33 * </p> -
trunk/autoquest-misc/src/main/java/de/ugoe/cs/autoquest/keyboardmaps/VirtualKey.java
r1701 r2218 468 468 * </p> 469 469 * 470 * @param numberString470 * @param string 471 471 * String representation of the virtual key 472 472 * @return created VirtualKey -
trunk/autoquest-plugin-core/src/main/java/de/ugoe/cs/autoquest/plugin/PluginLoader.java
r1100 r2218 132 132 * Retrieves the classpath from a Jar file's MANIFEST. 133 133 * </p> 134 *135 * @throws IOException136 * @throws FileNotFoundException137 134 */ 138 135 protected String[] getClassPathFromJar(File jarFile) { -
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/HTTPLogParser.java
r2211 r2218 36 36 import javax.xml.transform.stream.StreamSource; 37 37 38 import org.xml.sax.SAXException;39 40 38 import de.ugoe.cs.autoquest.eventcore.Event; 41 39 import de.ugoe.cs.autoquest.eventcore.IEventType; … … 135 133 * name and path of the log file 136 134 * 137 * @throws SAXException in the case, the file could not be parsed135 * @throws JAXBException in the case, the file could not be parsed 138 136 */ 139 137 public void parseFile(String filename) throws JAXBException { -
trunk/autoquest-ui-core/src/main/java/de/ugoe/cs/autoquest/commands/sequences/CMDsortKeyInteractions.java
r927 r2218 33 33 * Command to sort the key interactions in a sequence of events. An example, the sequence to write 34 34 * the upper case D 35 * </p> 35 36 * <ul> 36 37 * <li>press shift key</li> … … 40 41 * </ul> 41 42 * 43 * <p> 42 44 * is transformed to the sequence 45 * </p> 43 46 * 44 47 * <ul> … … 49 52 * </ul> 50 53 * 54 * <p> 51 55 * in which the first pressed key (shift in this case) is always released last. The same is done for 52 56 * the alt and the ctrl keys. 53 *54 57 * </p> 55 58 * -
trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/MainWindow.java
r1495 r2218 73 73 * Open the window. 74 74 * </p> 75 *76 * @wbp.parser.entryPoint77 75 */ 78 76 public void open() { -
trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/ShowTaskTreeDialog.java
r2183 r2218 153 153 /** 154 154 * displays the dialog 155 * @param task156 155 */ 157 156 public void open() {
Note: See TracChangeset
for help on using the changeset viewer.