Class ScriptableTestsProvider

  • All Implemented Interfaces:
    org.apache.sling.junit.TestsProvider

    public class ScriptableTestsProvider
    extends Object
    implements org.apache.sling.junit.TestsProvider
    TestsProvider that provides test classes for repository nodes that have a sling:Test mixin.
    • Constructor Detail

      • ScriptableTestsProvider

        public ScriptableTestsProvider()
    • Method Detail

      • deactivate

        protected void deactivate()
                           throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getServicePid

        public String getServicePid()
        Specified by:
        getServicePid in interface org.apache.sling.junit.TestsProvider
      • getTestNames

        public List<String> getTestNames()
        Specified by:
        getTestNames in interface org.apache.sling.junit.TestsProvider
      • lastModified

        public long lastModified()
        Specified by:
        lastModified in interface org.apache.sling.junit.TestsProvider