Class Coverage
- java.lang.Object
-
- com.adobe.cq.testing.selenium.utils.Coverage
-
public final class Coverage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Coverage(org.apache.sling.testing.clients.SlingClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanCoverageJSON()voidgenerateExport()voidinvalidateLibraryCaches()booleanisConfigPresent()booleanisJSCoverAvailable()voidsetup()voidsetupService()voidstoreCoverage(java.lang.String coverageData)voidtearDown()CoveragewithAutoClean(boolean withAutoClean)enables or disables the autoclean mode.
-
-
-
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()
-
-