You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/02/02 23:15:46 UTC
[sling-org-apache-sling-hc-core] 01/02: clean up test
This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hc-core.git
commit 30fa861e01b282ff348bb76015ddaabd7e2c0111
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sat Feb 3 00:14:14 2018 +0100
clean up test
---
.../org/apache/sling/hc/core/impl/ScriptableHealthCheckTest.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/test/java/org/apache/sling/hc/core/impl/ScriptableHealthCheckTest.java b/src/test/java/org/apache/sling/hc/core/impl/ScriptableHealthCheckTest.java
index 421cedc..3c1464c 100644
--- a/src/test/java/org/apache/sling/hc/core/impl/ScriptableHealthCheckTest.java
+++ b/src/test/java/org/apache/sling/hc/core/impl/ScriptableHealthCheckTest.java
@@ -18,7 +18,6 @@
package org.apache.sling.hc.core.impl;
import java.lang.reflect.Field;
-import java.util.Dictionary;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
@@ -27,7 +26,6 @@ import org.apache.sling.hc.api.Result;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Matchers;
-import org.osgi.service.component.ComponentContext;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -37,8 +35,7 @@ import static org.mockito.Mockito.when;
public class ScriptableHealthCheckTest {
private ScriptableHealthCheck hc;
- private Dictionary<String, String> props;
- private ComponentContext ctx;
+
private final JmxScriptBindingsProvider jmxScriptBindingsProvider = new JmxScriptBindingsProvider();
private void assertExpression(String expression, String languageExtension, boolean expected) throws Exception {
--
To stop receiving notification emails like this one, please contact
olli@apache.org.