Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Sternberg2015-06-24 05:01:29 -0400
committerRalf Sternberg2015-06-24 05:01:29 -0400
commit77d8abdea8ae04b12627568be4ec0892380beb62 (patch)
treeaa7acee7c8f48b8364f7f519698d0831d71cd50f
parent56293249b102d473edbc87e12f766aa5f81cafa1 (diff)
downloadorg.eclipse.rap.incubator.dropdown-77d8abdea8ae04b12627568be4ec0892380beb62.tar.gz
org.eclipse.rap.incubator.dropdown-77d8abdea8ae04b12627568be4ec0892380beb62.tar.xz
org.eclipse.rap.incubator.dropdown-77d8abdea8ae04b12627568be4ec0892380beb62.zip
Revert deletion of parameters in JasmineRunner
Unused method parameters have been removed by mistake in the previous commit (56293249). They are required by Jasmine JS code that accesses instances of InternalReporter via Rhino.
-rw-r--r--tests/org.eclipse.rap.jstestrunner/src/org/eclipse/rap/jstestrunner/jasmine/JasmineRunner.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/org.eclipse.rap.jstestrunner/src/org/eclipse/rap/jstestrunner/jasmine/JasmineRunner.java b/tests/org.eclipse.rap.jstestrunner/src/org/eclipse/rap/jstestrunner/jasmine/JasmineRunner.java
index 534d9c4..41c15c7 100644
--- a/tests/org.eclipse.rap.jstestrunner/src/org/eclipse/rap/jstestrunner/jasmine/JasmineRunner.java
+++ b/tests/org.eclipse.rap.jstestrunner/src/org/eclipse/rap/jstestrunner/jasmine/JasmineRunner.java
@@ -138,13 +138,17 @@ class JasmineRunner {
return builder.toString();
}
+ /*
+ * Made available to JS code by Rhino, unused parameters are therefore required.
+ */
+ @SuppressWarnings( "unused" )
public class InternalReporter {
- public void reportRunnerStarting() {
+ public void reportRunnerStarting( ScriptableObject runner ) {
publicReporter.reportRunnerStarting();
}
- public void reportRunnerResults() {
+ public void reportRunnerResults( ScriptableObject runner ) {
publicReporter.reportRunnerResults();
}

Back to the top