Class Coverage


  • public final class Coverage
    extends java.lang.Object
    • Constructor Detail

      • Coverage

        public Coverage​(org.apache.sling.testing.clients.SlingClient client)
    • Method Detail

      • withAutoClean

        public Coverage withAutoClean​(boolean withAutoClean)
        enables or disables the autoclean mode.
        Parameters:
        withAutoClean - true autoclean mode enabled
        Returns:
        SetupCoverageRule
      • isJSCoverAvailable

        public boolean isJSCoverAvailable()
      • invalidateLibraryCaches

        public void invalidateLibraryCaches()
                                     throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException
      • cleanCoverageJSON

        public void cleanCoverageJSON()
                               throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException
      • setupService

        public void setupService()
                          throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException
      • generateExport

        public void generateExport()
                            throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException
      • storeCoverage

        public void storeCoverage​(java.lang.String coverageData)
                           throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException
      • isConfigPresent

        public boolean isConfigPresent()
      • tearDown

        public void tearDown()
      • setup

        public void setup()