summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/complexlib
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-11 16:25:29 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-12-12 08:16:17 +0000
commit117a82cd090ddd8efbc500350dc6082730f04720 (patch)
tree50c07684d43c06fd54d17532caca6a3afafd6967 /qadevOOo/runner/complexlib
parent04b183a9bc792a53a9f081353a79486faa4f3872 (diff)
java: remove dead code in qadevOOo
found by running UCDetector over the code many times, like peeling an onion Change-Id: I54d5147eb1b5c921ad236331bc4c1f765b13ca83 Reviewed-on: https://gerrit.libreoffice.org/13445 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'qadevOOo/runner/complexlib')
-rw-r--r--qadevOOo/runner/complexlib/Assurance.java37
-rw-r--r--qadevOOo/runner/complexlib/MethodThread.java13
2 files changed, 0 insertions, 50 deletions
diff --git a/qadevOOo/runner/complexlib/Assurance.java b/qadevOOo/runner/complexlib/Assurance.java
index 0cbc1e0aaf20..f2169b02ef59 100644
--- a/qadevOOo/runner/complexlib/Assurance.java
+++ b/qadevOOo/runner/complexlib/Assurance.java
@@ -52,28 +52,6 @@ public class Assurance
assure(msg, s, false);
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
/**
* Assure that two int values are equal
* @param message the message to print when the equality test fails
@@ -84,12 +62,6 @@ public class Assurance
assureEquals( message, Integer.valueOf( expected ), Integer.valueOf( actual ), false );
}
-
-
-
-
-
-
/**
* Assure that two string values are equal
* @param message the message to print when the equality test fails
@@ -100,10 +72,6 @@ public class Assurance
assureEquals( message, expected, actual, false );
}
-
-
-
-
/**
* assures the two given sequences are of equal length, and have equal content
*/
@@ -117,8 +85,6 @@ public class Assurance
}
}
-
-
/**
* Mark the currently executed method as failed.
* with the given message.
@@ -173,8 +139,5 @@ public class Assurance
private AssureException(String msg) {
super(msg);
}
- public AssureException(Throwable cause) {
- super(cause);
- }
}
}
diff --git a/qadevOOo/runner/complexlib/MethodThread.java b/qadevOOo/runner/complexlib/MethodThread.java
index d30df06609f8..0d86c7310c15 100644
--- a/qadevOOo/runner/complexlib/MethodThread.java
+++ b/qadevOOo/runner/complexlib/MethodThread.java
@@ -40,19 +40,6 @@ public class MethodThread extends Thread
private boolean mExceptionHappened = false;
private Object[] mParameter = null;
- /**
- * Constructor.
- * @param testMethod The method that will be invoked.
- * @param invokeClass The class where the method is invoked.
- * @param log The logging mechanism.
- */
- public MethodThread(Method testMethod, Object invokeClass, PrintWriter log)
- {
- mTestMethod = testMethod;
- mInvokeClass = invokeClass;
- mLog = log;
- }
-
public MethodThread(Method testMethod, Object invokeClass, Object[] parameter, PrintWriter log)
{
mTestMethod = testMethod;