Package org.apache.sling.hc.api

Examples of org.apache.sling.hc.api.ResultLog


        final ObjectName objectName = new ObjectName(mbeanName);
        if(jmxServer.queryNames(objectName, null).size() == 0) {
            fail("MBean not found: " + objectName);
        }
        final Object value = jmxServer.getAttribute(objectName, attributeName);
        final ResultLog resultLog = new ResultLog();
        new SimpleConstraintChecker().check(value, constraint, resultLog);
        assertEquals("Expecting result " + expected + "(" + resultLog + ")", expected, resultLog.getAggregateStatus().equals(Result.Status.OK));

    }
View Full Code Here


    private final SimpleConstraintChecker checker = new SimpleConstraintChecker();

    @Before
    public void setup() {
        resultLog = new ResultLog();
    }
View Full Code Here

TOP

Related Classes of org.apache.sling.hc.api.ResultLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.