Changeset 329


Ignore:
Timestamp:
12/16/11 10:50:21 (13 years ago)
Author:
sherbold
Message:
Location:
trunk/EventBenchCoreTest/src/de/ugoe/cs/eventbench
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchCoreTest/src/de/ugoe/cs/eventbench/TestAll.java

    r274 r329  
    1010 * package. 
    1111 * 
    12  * @generatedBy CodePro at 10/14/11 11:01 AM 
    13  * @author sherbold 
    14  * @version $Revision: 1.0 $ 
     12 * @generatedBy CodePro at 12/15/11 3:35 PM 
     13 * @author Steffen Herbold 
     14 * @version 1.0 
    1515 */ 
    1616@RunWith(Suite.class) 
    1717@Suite.SuiteClasses({ 
     18        de.ugoe.cs.eventbench.coverage.TestAll.class, 
    1819        de.ugoe.cs.eventbench.models.TestAll.class 
    1920}) 
     
    2526         * @param args the command line arguments 
    2627         * 
    27          * @generatedBy CodePro at 10/14/11 11:01 AM 
     28         * @generatedBy CodePro at 12/15/11 3:35 PM 
    2829         */ 
    2930        public static void main(String[] args) { 
  • trunk/EventBenchCoreTest/src/de/ugoe/cs/eventbench/models/MockTrieBasedModel.java

    r326 r329  
    1818                        Event<?> symbol) { 
    1919                List<Event<?>> list = new ArrayList<Event<?>>(); 
     20                if( context.isEmpty() ) { 
     21                        return 2; 
     22                } 
    2023                list.add(context.get(context.size()-1)); 
    2124                if( trie.find(list).getFollowingSymbols().contains(symbol) ) { 
Note: See TracChangeset for help on using the changeset viewer.