This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.hc.it-1.0.4 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hc-it.git
commit 0b8df14ee3e904f4ef31740bc8913f211967cd02 Author: Bertrand Delacretaz <[email protected]> AuthorDate: Fri Apr 19 09:52:05 2013 +0000 SLING-2822 - rename to 'health check', fix more names git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck/it@1469767 13f79535-47bb-0310-9956-ffa450edef68 --- ...sgiFacadeTest.java => OsgiHealthCheckFacadeTest.java} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/java/org/apache/sling/hc/it/core/MuppetOsgiFacadeTest.java b/src/test/java/org/apache/sling/hc/it/core/OsgiHealthCheckFacadeTest.java similarity index 90% rename from src/test/java/org/apache/sling/hc/it/core/MuppetOsgiFacadeTest.java rename to src/test/java/org/apache/sling/hc/it/core/OsgiHealthCheckFacadeTest.java index 8f3c491..bffa77b 100644 --- a/src/test/java/org/apache/sling/hc/it/core/MuppetOsgiFacadeTest.java +++ b/src/test/java/org/apache/sling/hc/it/core/OsgiHealthCheckFacadeTest.java @@ -26,7 +26,7 @@ import java.util.List; import javax.inject.Inject; import org.apache.sling.hc.api.EvaluationResult; -import org.apache.sling.hc.api.MuppetFacade; +import org.apache.sling.hc.api.HealthCheckFacade; import org.apache.sling.hc.api.Rule; import org.apache.sling.hc.api.RuleBuilder; import org.apache.sling.hc.api.SystemAttribute; @@ -39,10 +39,10 @@ import org.osgi.framework.BundleContext; import org.osgi.framework.ServiceRegistration; @RunWith(PaxExam.class) -public class MuppetOsgiFacadeTest { +public class OsgiHealthCheckFacadeTest { @Inject - private MuppetFacade facade; + private HealthCheckFacade facade; @Inject private BundleContext bundleContext; @@ -54,15 +54,15 @@ public class MuppetOsgiFacadeTest { @Test public void testFacadePresent() { - assertNotNull("Expecting MuppetFacade service to be provided", facade); + assertNotNull("Expecting HealthCheckFacade service to be provided", facade); } @Test public void testDefaultRules() throws IOException { // There should be at least one rule builder, but not a lot final String [] rules = { - "muppet:RuleBuilderCount:> 0", - "muppet:RuleBuilderCount:> 42" + "healthcheck:RuleBuilderCount:> 0", + "healthcheck:RuleBuilderCount:> 42" }; final List<EvaluationResult> r = U.evaluateRules(facade, rules); @@ -75,8 +75,8 @@ public class MuppetOsgiFacadeTest { @Test public void testAddingCustomRule() throws IOException { final String [] rules = { - "muppet:RuleBuilderCount:> 0", - "muppet:RuleBuilderCount:> 42", + "healthcheck:RuleBuilderCount:> 0", + "healthcheck:RuleBuilderCount:> 42", "test:constant:5", "test:constant:12", }; -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
