Ignore:
Timestamp:
09/04/12 17:15:28 (12 years ago)
Author:
sherbold
Message:
Location:
trunk/quest-core-usageprofiles-test/src/test/java/de/ugoe/cs/quest/usageprofiles
Files:
7 edited

Legend:

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

    r553 r766  
    3636        } 
    3737 
    38         @Test(expected = java.security.InvalidParameterException.class) 
     38        @Test(expected = java.lang.IllegalArgumentException.class) 
    3939        public void testDeterministicFiniteAutomaton_2() throws Exception { 
    4040                new DeterministicFiniteAutomaton(null); 
     
    106106        } 
    107107 
    108         @Test(expected = java.security.InvalidParameterException.class) 
     108        @Test(expected = java.lang.IllegalArgumentException.class) 
    109109        public void testGetProbability_5() throws Exception { 
    110110                DeterministicFiniteAutomaton fixture = new DeterministicFiniteAutomaton( 
     
    120120        } 
    121121 
    122         @Test(expected = java.security.InvalidParameterException.class) 
     122        @Test(expected = java.lang.IllegalArgumentException.class) 
    123123        public void testGetProbability_6() throws Exception { 
    124124                DeterministicFiniteAutomaton fixture = new DeterministicFiniteAutomaton( 
  • trunk/quest-core-usageprofiles-test/src/test/java/de/ugoe/cs/quest/usageprofiles/FirstOrderMarkovModelTest.java

    r553 r766  
    3535        } 
    3636 
    37         @Test(expected = java.security.InvalidParameterException.class) 
     37        @Test(expected = java.lang.IllegalArgumentException.class) 
    3838        public void testFirstOrderMarkovModel_2() throws Exception { 
    3939                new FirstOrderMarkovModel(null); 
  • trunk/quest-core-usageprofiles-test/src/test/java/de/ugoe/cs/quest/usageprofiles/HighOrderMarkovModelTest.java

    r553 r766  
    4949        } 
    5050 
    51         @Test(expected = java.security.InvalidParameterException.class) 
     51        @Test(expected = java.lang.IllegalArgumentException.class) 
    5252        public void testHighOrderMarkovModel_3() throws Exception { 
    5353                int maxOrder = 1; 
     
    5757        } 
    5858 
    59         @Test(expected = java.security.InvalidParameterException.class) 
     59        @Test(expected = java.lang.IllegalArgumentException.class) 
    6060        public void testHighOrderMarkovModel_4() throws Exception { 
    6161                int maxOrder = -1; 
     
    188188        } 
    189189 
    190         @Test(expected = java.security.InvalidParameterException.class) 
     190        @Test(expected = java.lang.IllegalArgumentException.class) 
    191191        public void testGetProbability_8() throws Exception { 
    192192                int markovOrder = 0; 
     
    204204        } 
    205205 
    206         @Test(expected = java.security.InvalidParameterException.class) 
     206        @Test(expected = java.lang.IllegalArgumentException.class) 
    207207        public void testGetProbability_9() throws Exception { 
    208208                int markovOrder = 0; 
  • trunk/quest-core-usageprofiles-test/src/test/java/de/ugoe/cs/quest/usageprofiles/IncompleteMemoryTest.java

    r518 r766  
    2727        } 
    2828 
    29         @Test(expected = java.security.InvalidParameterException.class) 
     29        @Test(expected = java.lang.IllegalArgumentException.class) 
    3030        public void testIncompleteMemory_2() 
    3131                throws Exception { 
  • trunk/quest-core-usageprofiles-test/src/test/java/de/ugoe/cs/quest/usageprofiles/PredictionByPartialMatchTest.java

    r553 r766  
    4040        } 
    4141         
    42         @Test(expected = java.security.InvalidParameterException.class) 
     42        @Test(expected = java.lang.IllegalArgumentException.class) 
    4343        public void testPredictionByPartialMatch_2() throws Exception { 
    4444                int markovOrder = -1; 
     
    4848        } 
    4949         
    50         @Test(expected = java.security.InvalidParameterException.class) 
     50        @Test(expected = java.lang.IllegalArgumentException.class) 
    5151        public void testPredictionByPartialMatch_3() throws Exception { 
    5252                int markovOrder = 2; 
     
    7272        } 
    7373         
    74         @Test(expected = java.security.InvalidParameterException.class) 
     74        @Test(expected = java.lang.IllegalArgumentException.class) 
    7575        public void testPredictionByPartialMatch_5() throws Exception { 
    7676                int markovOrder = -1; 
     
    8181        } 
    8282         
    83         @Test(expected = java.security.InvalidParameterException.class) 
     83        @Test(expected = java.lang.IllegalArgumentException.class) 
    8484        public void testPredictionByPartialMatch_6() throws Exception { 
    8585                int markovOrder = 2; 
     
    9090        } 
    9191         
    92         @Test(expected = java.security.InvalidParameterException.class) 
     92        @Test(expected = java.lang.IllegalArgumentException.class) 
    9393        public void testPredictionByPartialMatch_7() throws Exception { 
    9494                int markovOrder = 2; 
     
    9999        } 
    100100         
    101         @Test(expected = java.security.InvalidParameterException.class) 
     101        @Test(expected = java.lang.IllegalArgumentException.class) 
    102102        public void testPredictionByPartialMatch_8() throws Exception { 
    103103                int markovOrder = 2; 
     
    125125        } 
    126126         
    127         @Test(expected = java.security.InvalidParameterException.class) 
     127        @Test(expected = java.lang.IllegalArgumentException.class) 
    128128        public void testPredictionByPartialMatch_10() throws Exception { 
    129129                int markovOrder = -1; 
     
    135135        } 
    136136         
    137         @Test(expected = java.security.InvalidParameterException.class) 
     137        @Test(expected = java.lang.IllegalArgumentException.class) 
    138138        public void testPredictionByPartialMatch_11() throws Exception { 
    139139                int markovOrder = 2; 
     
    145145        } 
    146146         
    147         @Test(expected = java.security.InvalidParameterException.class) 
     147        @Test(expected = java.lang.IllegalArgumentException.class) 
    148148        public void testPredictionByPartialMatch_12() throws Exception { 
    149149                int markovOrder = 2; 
     
    155155        } 
    156156         
    157         @Test(expected = java.security.InvalidParameterException.class) 
     157        @Test(expected = java.lang.IllegalArgumentException.class) 
    158158        public void testPredictionByPartialMatch_13() throws Exception { 
    159159                int markovOrder = 2; 
     
    165165        } 
    166166         
    167         @Test(expected = java.security.InvalidParameterException.class) 
     167        @Test(expected = java.lang.IllegalArgumentException.class) 
    168168        public void testPredictionByPartialMatch_14() throws Exception { 
    169169                int markovOrder = 2; 
     
    175175        } 
    176176         
    177         @Test(expected = java.security.InvalidParameterException.class) 
     177        @Test(expected = java.lang.IllegalArgumentException.class) 
    178178        public void testPredictionByPartialMatch_15() throws Exception { 
    179179                int markovOrder = 2; 
  • trunk/quest-core-usageprofiles-test/src/test/java/de/ugoe/cs/quest/usageprofiles/TrieBasedModelTest.java

    r553 r766  
    267267        } 
    268268 
    269         @Test(expected = java.security.InvalidParameterException.class) 
     269        @Test(expected = java.lang.IllegalArgumentException.class) 
    270270        public void testTrieBasedModel_2() throws Exception { 
    271271                int markovOrder = -1; 
     
    275275        } 
    276276 
    277         @Test(expected = java.security.InvalidParameterException.class) 
     277        @Test(expected = java.lang.IllegalArgumentException.class) 
    278278        public void testTrieBasedModel_3() throws Exception { 
    279279                int markovOrder = 2; 
     
    377377        } 
    378378 
    379         @Test(expected = java.security.InvalidParameterException.class) 
     379        @Test(expected = java.lang.IllegalArgumentException.class) 
    380380        public void testGenerateSequences_3() throws Exception { 
    381381                int markovOrder = 2; 
     
    423423        } 
    424424 
    425         @Test(expected = java.security.InvalidParameterException.class) 
     425        @Test(expected = java.lang.IllegalArgumentException.class) 
    426426        public void testGenerateValidSequences_2() throws Exception { 
    427427                int markovOrder = 2; 
     
    570570        } 
    571571         
    572         @Test(expected = java.security.InvalidParameterException.class) 
     572        @Test(expected = java.lang.IllegalArgumentException.class) 
    573573        public void testTrain_3() throws Exception { 
    574574                int markovOrder = 2; 
     
    595595        } 
    596596 
    597         @Test(expected = java.security.InvalidParameterException.class) 
     597        @Test(expected = java.lang.IllegalArgumentException.class) 
    598598        public void testUpdate_2() throws Exception { 
    599599                int markovOrder = 2; 
  • trunk/quest-core-usageprofiles-test/src/test/java/de/ugoe/cs/quest/usageprofiles/TrieTest.java

    r518 r766  
    5959        } 
    6060 
    61         @Test(expected = java.security.InvalidParameterException.class) 
     61        @Test(expected = java.lang.IllegalArgumentException.class) 
    6262        public void testTrie_3() throws Exception { 
    6363                new Trie<String>(null); 
     
    159159        } 
    160160 
    161         @Test(expected = java.security.InvalidParameterException.class) 
     161        @Test(expected = java.lang.IllegalArgumentException.class) 
    162162        public void testGetChildCreate_2() throws Exception { 
    163163                Trie<String> fixture = new Trie<String>(); 
Note: See TracChangeset for help on using the changeset viewer.