Changeset 810
- Timestamp:
- 09/12/12 14:03:16 (12 years ago)
- Location:
- trunk/quest-plugin-jfc-test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-jfc-test/pom.xml
r763 r810 14 14 <tested-artifactId>quest-plugin-jfc</tested-artifactId> 15 15 </properties> 16 <dependencies> 17 <dependency> 18 <groupId>org.mockito</groupId> 19 <artifactId>mockito-core</artifactId> 20 <version>1.9.0</version> 21 <scope>test</scope> 22 </dependency></dependencies> 16 23 <build> 17 24 <plugins> -
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.