- canBuild(String) - Method in CustomToolingModelBuilder
-
- checkCoverage(CoberturaExtension) - Method in CoberturaRunner
-
- checkCoverage() - Method in PerformCoverageCheckTask
-
- checkExit(int) - Method in CoberturaSecurityManager
-
Throws a SecurityException because we don't want Cobertura trying to exit
the VM.
- checkPermission(Permission, Object) - Method in CoberturaSecurityManager
-
Throws a SecurityException if the requested access, specified by the given
permission, is not permitted based on the security policy currently in
effect.
- CoberturaExtension - Class in net.saliman.gradle.plugin.cobertura
Extension class for configuring the Cobertura plugin.
- CoberturaExtension(Project) - Constructor in CoberturaExtension
-
Constructor for the extension.
- CoberturaPlugin - Class in net.saliman.gradle.plugin.cobertura
Provides Cobertura coverage for Test tasks.
- CoberturaReports - Interface in net.saliman.gradle.plugin.cobertura
The reporting configuration for the GenerateReportTask task.
- CoberturaReportsImpl - Class in net.saliman.gradle.plugin.cobertura
- CoberturaReportsImpl(Task) - Constructor in CoberturaReportsImpl
-
- CoberturaRunner - Class in net.saliman.gradle.plugin.cobertura
Wrapper for Cobertura's main classes.
- CoberturaSecurityManager - Class in net.saliman.gradle.plugin.cobertura
Security manager to use when running Cobertura classes directly.
- CoberturaSecurityManager(SecurityManager) - Constructor in CoberturaSecurityManager
-
Make a new SecurityManager that delegates to another SecurityManager for
all things except System.exit calls.
- compareVersions(def, def) - Method in CoberturaRunner
-
Rough hack that compares 2 version numbers.
- CopyDatafileTask - Class in net.saliman.gradle.plugin.cobertura
This task copies the input datafile, generated by the instrument task, to
the output datafile, used to generate the coverage report.
- copyFile() - Method in CopyDatafileTask
-
Copy the input datafile to the output datafile.
- coverageClassesTasks(Closure) - Method in CoberturaExtension
-
Set the closure that will be used to determine what tasks need to be
complete before we can instrument classes for coverage.
- coverageTestTasks(Closure) - Method in CoberturaExtension
-
Set the closure that will be used to determine what tests should be run
when the cobertura task is invoked.
- CustomModel - Interface in net.saliman.gradle.plugin.cobertura
Created with IntelliJ IDEA.
- CustomToolingModelBuilder - Class in net.saliman.gradle.plugin.cobertura
Created with IntelliJ IDEA.
- generateCoverageReport(CoberturaExtension, String, List<String>) - Method in CoberturaRunner
-
- generateReports() - Method in GenerateReportTask
-
Call Cobertura to generate the coverage reports.
- GenerateReportTask - Class in net.saliman.gradle.plugin.cobertura
Gradle task that does the actual work of generating the Cobertura coverage
reports.
- GenerateReportTask(Instantiator) - Constructor in GenerateReportTask
-
- getAuxiliaryClasspath() - Method in InstrumentTask
-
If the auxiliary classpath changes, we'll need to
re-instrument.
- getClassesDirs() - Method in InstrumentTask
-
If the compiled class files from our main source changes, we'll need to
re-instrument.
- getCoberturaVersion() - Method in InstrumentTask
-
If the user changes the Cobertura version, we need to re-instrument.
- getCoverageCheckBranchRate() - Method in CoberturaExtension
-
@return The minimum acceptable branch coverage rate needed by each class.
- getCoverageCheckLineRate() - Method in CoberturaExtension
-
@return The minimum acceptable line coverage rate needed by each class.
- getCoverageCheckPackageBranchRate() - Method in CoberturaExtension
-
@return The minimum acceptable package branch coverage rate needed by each
class.
- getCoverageCheckPackageLineRate() - Method in CoberturaExtension
-
@return The minimum acceptable package line coverage rate needed by each
class.
- getCoverageCheckRegexes() - Method in CoberturaExtension
-
- getCoverageCheckTotalBranchRate() - Method in CoberturaExtension
-
@return The minimum acceptable total branch coverage rate needed by each class.
- getCoverageCheckTotalLineRate() - Method in CoberturaExtension
-
@return The minimum acceptable total line coverage rate needed by each class.
- getCoverageClassesTasks() - Method in CoberturaExtension
-
@return the tasks that produce the classes that need to be instrumented
for coverage reports, as returned by the coverageClassTasks closure
- getCoverageEncoding() - Method in GenerateReportTask
-
If the user changes the file encoding, we need to re-generate the
report.
- getCoverageIgnoreMethodAnnotations() - Method in CoberturaExtension
-
@return the names of annotations used to flag methods to be ignored.
- getCoverageIgnoreTrivial() - Method in CoberturaExtension
-
@return whether or not we should ignore trivial methods.
- getCoverageTestTasks() - Method in CoberturaExtension
-
@return the test tasks that should run, as returned by the
coverageTestTask closure
- getExcludes() - Method in InstrumentTask
-
If the excluded classes change, we need to re-instrument
- getExtractedJars(Project) - Method in CoberturaExtension
-
Used to fetch the extracted jars from android AARs during compilation.
- getHtml() - Method in CoberturaReports
-
The Cobertura html report
- getHtml() - Method in CoberturaReportsImpl
-
- getIgnoreMethodAnnotations() - Method in InstrumentTask
-
If the user changes the annotation used to ignore methods, we'll need to
re-instrument.
- getIgnores() - Method in InstrumentTask
-
If the user changes the things to ignore, we need to re-instrument.
- getIgnoreTrivial() - Method in InstrumentTask
-
If the user changes whether or not to ignore trivial, we'll need to
re-instrument
- getIncludes() - Method in InstrumentTask
-
If the included classes change, we need to re-instrument
- getInputDatafile() - Method in InstrumentTask
-
The output file from this task is named inputDatafile because it is the
input input for the task that copies the ser file, and is input for the
tests.
- getName() - Method in CustomModel
-
- getName() - Method in DefaultModel
-
- getOutputClassesDir() - Method in InstrumentTask
-
If the instrumented class files change (or go missing), we need to
re-instrument
- getReports() - Method in GenerateReportTask
-
- getTasks() - Method in CustomModel
-
- getTasks() - Method in DefaultModel
-