summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 12:11:25 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:13 +0200
commit3a8d3519889a68ddf209ea7c83307bec51cd6da0 (patch)
treeab67ef1b6f1f65443b7c4d0e086fdcff17f84283 /toolkit
parent8b65a61788aa18e97de068bc75fdeecb20a23026 (diff)
java: remove unused methods
Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/qa/complex/toolkit/Assert.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/toolkit/qa/complex/toolkit/Assert.java b/toolkit/qa/complex/toolkit/Assert.java
index 664840f811b3..0bda0b65c242 100644
--- a/toolkit/qa/complex/toolkit/Assert.java
+++ b/toolkit/qa/complex/toolkit/Assert.java
@@ -178,24 +178,6 @@ public class Assert
assertException( i_message, i_object, i_methodName, argClasses, i_methodArgs, i_expectedExceptionClass );
}
- /** invokes a given method on a given object, and assures a certain exception is caught
- * @param i_object is the object to invoke the method on
- * @param i_methodName is the name of the method to invoke
- * @param i_methodArgs are the arguments to pass to the method. Those implicitly define
- * the classes of the arguments of the method which is called.
- * @param i_expectedExceptionClass is the class of the exception to be caught. If this is null,
- * it means that <em>no</em> exception must be throw by invoking the method.
- */
- private static void assertException( final Object i_object, final String i_methodName, final Object[] i_methodArgs,
- final Class<?> i_expectedExceptionClass )
- {
- assertException(
- "did not catch the expected exception (" +
- ( ( i_expectedExceptionClass == null ) ? "none" : i_expectedExceptionClass.getName() ) +
- ") while calling " + i_object.getClass().getName() + "." + i_methodName,
- i_object, i_methodName, i_methodArgs, i_expectedExceptionClass );
- }
-