Changeset 810 for trunk/quest-plugin-jfc-test/src
- Timestamp:
- 09/12/12 14:03:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-jfc-test/src/test/java/de/ugoe/cs/quest/plugin/jfc/JFCReplayIDCalculatorTest.java
r806 r810 9 9 import java.util.logging.Level; 10 10 11 import javax.xml.parsers.DocumentBuilder;12 import javax.xml.parsers.DocumentBuilderFactory;13 14 11 import junit.framework.TestCase; 15 12 … … 17 14 import org.junit.Before; 18 15 import org.junit.Test; 19 import org.w3c.dom.Document; 20 import org.w3c.dom.Node; 21 import org.w3c.dom.NodeList; 16 17 import static org.mockito.Mockito.*; 22 18 23 19 import de.ugoe.cs.quest.eventcore.Event; 24 20 import de.ugoe.cs.quest.eventcore.IEventTarget; 21 import de.ugoe.cs.quest.eventcore.IEventType; 25 22 import de.ugoe.cs.quest.plugin.jfc.eventcore.JFCEventId; 26 23 import de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElement; 27 24 import de.ugoe.cs.quest.plugin.jfc.guimodel.JFCGUIElementSpec; 28 import de.ugoe.cs.quest.plugin.mfc.eventcore.MFCEventType;29 import de.ugoe.cs.quest.plugin.mfc.guimodel.MFCToolBar;30 25 import de.ugoe.cs.util.console.TextConsole; 31 26 … … 172 167 try{ 173 168 JFCReplayIDCalculator calculator = new JFCReplayIDCalculator(); 174 Event event = new Event( new MFCEventType(null), new MFCToolBar(null, null));169 Event event = new Event(mock(IEventType.class), mock(IEventTarget.class)); 175 170 176 171 calculator.calculateReplayID(event);
Note: See TracChangeset
for help on using the changeset viewer.