Changeset 698
- Timestamp:
- 08/29/12 16:12:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-usability-test/src/test/java/de/ugoe/cs/quest/usability/AbstractUsabilityEvaluationTC.java
r655 r698 4 4 import static org.junit.Assert.fail; 5 5 6 import java.util.ArrayList; 6 7 import java.util.logging.Logger; 7 8 import java.util.regex.Matcher; … … 10 11 import org.junit.Before; 11 12 12 import de.ugoe.cs.quest.tasktrees.testutils.DummyGUIElement; 13 import de.ugoe.cs.quest.tasktrees.testutils.DummyInteraction; 14 import de.ugoe.cs.quest.tasktrees.testutils.DummyTextField; 13 import de.ugoe.cs.quest.eventcore.Event; 14 import de.ugoe.cs.quest.eventcore.gui.TextInput; 15 15 import de.ugoe.cs.quest.tasktrees.testutils.SimpleLogFormatter; 16 import de.ugoe.cs.quest.tasktrees.treeifc.IEventTask; 16 17 import de.ugoe.cs.quest.tasktrees.treeifc.IIteration; 17 18 import de.ugoe.cs.quest.tasktrees.treeifc.ISelection; … … 21 22 import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNode; 22 23 import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNodeFactory; 23 import de.ugoe.cs.quest.tasktrees.treeifc.ITextInputEventTask;24 24 import de.ugoe.cs.quest.tasktrees.treeimpl.TaskTreeBuilder; 25 25 import de.ugoe.cs.quest.tasktrees.treeimpl.TaskTreeNodeFactory; 26 import de.ugoe.cs.quest.test.DummyGUIElement; 27 import de.ugoe.cs.quest.test.DummyInteraction; 28 import de.ugoe.cs.quest.test.DummyTextField; 26 29 27 30 /** … … 165 168 } 166 169 167 ITextInputEventTask task = 168 taskTreeNodeFactory.createNewTextInputEventTask(new DummyTextField(additionalInfo)); 169 170 task.setEnteredText(additionalInfo); 170 TextInput textInput = new TextInput(additionalInfo, new ArrayList<Event>()); 171 172 IEventTask task = taskTreeNodeFactory.createNewEventTask 173 (textInput, new DummyTextField(additionalInfo)); 174 171 175 return task; 172 176 } … … 198 202 taskTreeBuilder.addChild((ISelection) parent, child); 199 203 } 200 else if (parent instanceof ITextInputEventTask) {201 taskTreeBuilder.addChild((ITextInputEventTask) parent, child);202 }203 204 else { 204 205 fail("can not add children to parent task tree node of type " +
Note: See TracChangeset
for help on using the changeset viewer.