Ignore:
Timestamp:
09/04/12 17:15:28 (12 years ago)
Author:
sherbold
Message:
Location:
trunk/java-utils-test/src/test/java/de/ugoe/cs/util/console
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-utils-test/src/test/java/de/ugoe/cs/util/console/CommandExecuterTest.java

    r668 r766  
    1515public class CommandExecuterTest { 
    1616 
    17         @Test(expected=java.security.InvalidParameterException.class) 
     17        @Test(expected=java.lang.IllegalArgumentException.class) 
    1818        public void testAddCommandPackage_1() 
    1919                throws Exception { 
     
    2323        } 
    2424 
    25         @Test(expected=java.security.InvalidParameterException.class) 
     25        @Test(expected=java.lang.IllegalArgumentException.class) 
    2626        public void testAddCommandPackage_2() 
    2727                throws Exception { 
  • trunk/java-utils-test/src/test/java/de/ugoe/cs/util/console/defaultcommands/CMDexecTest.java

    r668 r766  
    7070        } 
    7171 
    72         @Test(expected = java.security.InvalidParameterException.class) 
     72        @Test(expected = java.lang.IllegalArgumentException.class) 
    7373        public void testRun_3() throws Exception { 
    7474                CMDexec fixture = new CMDexec(); 
     
    102102        } 
    103103 
    104         @Test(expected = java.security.InvalidParameterException.class) 
     104        @Test(expected = java.lang.IllegalArgumentException.class) 
    105105        public void testRun_5() throws Exception { 
    106106                CMDexec fixture = new CMDexec(); 
  • trunk/java-utils-test/src/test/java/de/ugoe/cs/util/console/mock/commands/CMDmockCommand.java

    r664 r766  
    11package de.ugoe.cs.util.console.mock.commands; 
    22 
    3 import java.security.InvalidParameterException; 
    43import java.util.List; 
    54 
     
    1615                        break; 
    1716                case 1: 
    18                         throw new InvalidParameterException(); 
     17                        throw new IllegalArgumentException(); 
    1918                default: 
    2019                        throw new RuntimeException(); 
Note: See TracChangeset for help on using the changeset viewer.