Changeset 766 for trunk/java-utils-test/src
- Timestamp:
- 09/04/12 17:15:28 (12 years ago)
- 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 15 15 public class CommandExecuterTest { 16 16 17 @Test(expected=java. security.InvalidParameterException.class)17 @Test(expected=java.lang.IllegalArgumentException.class) 18 18 public void testAddCommandPackage_1() 19 19 throws Exception { … … 23 23 } 24 24 25 @Test(expected=java. security.InvalidParameterException.class)25 @Test(expected=java.lang.IllegalArgumentException.class) 26 26 public void testAddCommandPackage_2() 27 27 throws Exception { -
trunk/java-utils-test/src/test/java/de/ugoe/cs/util/console/defaultcommands/CMDexecTest.java
r668 r766 70 70 } 71 71 72 @Test(expected = java. security.InvalidParameterException.class)72 @Test(expected = java.lang.IllegalArgumentException.class) 73 73 public void testRun_3() throws Exception { 74 74 CMDexec fixture = new CMDexec(); … … 102 102 } 103 103 104 @Test(expected = java. security.InvalidParameterException.class)104 @Test(expected = java.lang.IllegalArgumentException.class) 105 105 public void testRun_5() throws Exception { 106 106 CMDexec fixture = new CMDexec(); -
trunk/java-utils-test/src/test/java/de/ugoe/cs/util/console/mock/commands/CMDmockCommand.java
r664 r766 1 1 package de.ugoe.cs.util.console.mock.commands; 2 2 3 import java.security.InvalidParameterException;4 3 import java.util.List; 5 4 … … 16 15 break; 17 16 case 1: 18 throw new I nvalidParameterException();17 throw new IllegalArgumentException(); 19 18 default: 20 19 throw new RuntimeException();
Note: See TracChangeset
for help on using the changeset viewer.