Package org.apache.sling.junit

Examples of org.apache.sling.junit.SlingTestContext.output()


    @Test
    public void addMetadata() {
        final SlingTestContext c = SlingTestContextProvider.getContext();
        assertNotNull("Expecting a SlingTestContext", c);
       
        c.output().put("the_quick", "brown fox!");
        c.output().put("the_answer", 42);
    }
}
View Full Code Here


    public void addMetadata() {
        final SlingTestContext c = SlingTestContextProvider.getContext();
        assertNotNull("Expecting a SlingTestContext", c);
       
        c.output().put("the_quick", "brown fox!");
        c.output().put("the_answer", 42);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.