Class SlingTestContext


  • public class SlingTestContext
    extends java.lang.Object
    Provide test parameters (the "input map") and allow tests to provide additional metadata (in an "output map") about their results. Meant to be used to implement performance tests that run inside Sling instances - we'll expand the junit.core module to optionally use this.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> input()  
      java.util.Map<java.lang.String,​java.lang.Object> output()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SlingTestContext

        public SlingTestContext()
    • Method Detail

      • input

        public java.util.Map<java.lang.String,​java.lang.Object> input()
      • output

        public java.util.Map<java.lang.String,​java.lang.Object> output()