Ignore:
Timestamp:
08/16/12 14:45:03 (12 years ago)
Author:
sherbold
Message:
  • countless adaptations throughout nearly all components to remove errors introduced due to the refactoring of the event core
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-events-test/src/test/java/de/ugoe/cs/quest/SequenceInstanceOfTest.java

    r547 r548  
    99 
    1010import static org.junit.Assert.*; 
     11import static org.mockito.Mockito.*; 
    1112 
    1213import de.ugoe.cs.quest.SequenceInstanceOf; 
    1314import de.ugoe.cs.quest.eventcore.Event; 
     15import de.ugoe.cs.quest.eventcore.IEventType; 
    1416 
    1517 
     
    2729                Collection<List<Event>> sequences = new LinkedList<List<Event>>(); 
    2830                List<Event> sequence1 = new ArrayList<Event>(); 
    29                 sequence1.add(new Event<String>("a")); 
     31                sequence1.add(new Event(mock(IEventType.class))); 
    3032                sequences.add(sequence1); 
    3133                 
     
    6769        public void TestIsEventSequence_1() throws Exception { 
    6870                List<Event> sequence = new ArrayList<Event>(); 
    69                 sequence.add(new Event<String>("a")); 
     71                sequence.add(new Event(mock(IEventType.class))); 
    7072                 
    7173                boolean result = SequenceInstanceOf.isEventSequence(sequence); 
Note: See TracChangeset for help on using the changeset viewer.