summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/complexlib/Assurance.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/complexlib/Assurance.java')
-rw-r--r--qadevOOo/runner/complexlib/Assurance.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/complexlib/Assurance.java b/qadevOOo/runner/complexlib/Assurance.java
index 6c5a41931d96..74fad940051f 100644
--- a/qadevOOo/runner/complexlib/Assurance.java
+++ b/qadevOOo/runner/complexlib/Assurance.java
@@ -256,7 +256,7 @@ public class Assurance
* @param _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.
*/
- protected void assureException( final String _message, final Object _object, final String _methodName,
+ private void assureException( final String _message, final Object _object, final String _methodName,
final Class<?>[] _argClasses, final Object[] _methodArgs, final Class<?> _expectedExceptionClass )
{
Class<?> objectClass = _object.getClass();
@@ -292,7 +292,7 @@ public class Assurance
* @param _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.
*/
- protected void assureException( final String _message, final Object _object, final String _methodName,
+ private void assureException( final String _message, final Object _object, final String _methodName,
final Object[] _methodArgs, final Class<?> _expectedExceptionClass )
{
Class<?>[] argClasses = new Class[ _methodArgs.length ];
@@ -375,7 +375,7 @@ public class Assurance
}
}
- protected void assureEquals( String message, Object expected, Object actual, boolean cont ) {
+ private void assureEquals( String message, Object expected, Object actual, boolean cont ) {
assure( message + " (expected: " + expected.toString() + ", actual: " + actual.toString() + ")",
expected.equals( actual ), cont );
}