| Modifier and Type | Method and Description |
|---|---|
TestCaseInfo |
TestCaseInfoLookup.getBy(Integer id) |
TestCaseInfo |
TestCaseInfoLookup.getBy(String qualifiedName)
Search by a fully qualified test name, like "com.acme.FooTest.testThisFeature".
|
TestCaseInfo |
CoverageData.getTestById(int testId) |
TestCaseInfo |
CloverDatabase.getTestCase(int id) |
| Modifier and Type | Method and Description |
|---|---|
Set<TestCaseInfo> |
TestCaseInfoLookup.getTestCaseInfos() |
Set<TestCaseInfo> |
CloverDatabase.getTestHits(CoverageDataRange range)
Gets test hits for a given range - FileInfo, ClassInfo etc
|
Set<TestCaseInfo> |
CoverageData.getTests() |
Set<TestCaseInfo> |
CoverageData.getTestsCovering(CoverageDataRange range) |
Map<TestCaseInfo,BitSet> |
CoverageData.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
Map<TestCaseInfo,BitSet> |
CloverDatabase.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
static Set<TestCaseInfo> |
CoverageData.tcisInHitRange(Map<TestCaseInfo,BitSet> tcisAndHits,
CoverageDataRange range) |
| Modifier and Type | Method and Description |
|---|---|
void |
TestCaseInfoLookup.add(TestCaseInfo tci) |
void |
CoverageData.addCoverage(TestCaseInfo tci,
PerTestRecordingTranscript recording) |
BitSet |
CoverageData.getHitsFor(TestCaseInfo tci) |
BitSet |
CoverageData.getUniqueHitsFor(TestCaseInfo tci) |
| Modifier and Type | Method and Description |
|---|---|
BitSet |
CoverageData.getHitsFor(Set<TestCaseInfo> tcis) |
BitSet |
CoverageData.getHitsFor(Set<TestCaseInfo> tcis,
CoverageDataRange range) |
BitSet |
CoverageData.getUniqueHitsFor(Set<TestCaseInfo> tcis) |
static Set<TestCaseInfo> |
CoverageData.tcisInHitRange(Map<TestCaseInfo,BitSet> tcisAndHits,
CoverageDataRange range) |
| Modifier and Type | Method and Description |
|---|---|
void |
Snapshot.updatePerTestInfo(CloverDatabase db,
TestCaseInfo tci,
long duration) |
| Modifier and Type | Method and Description |
|---|---|
TestCaseInfo |
SamplingPerTestCoverage.getTestById(int id) |
TestCaseInfo |
PerTestCoverage.getTestById(int id) |
TestCaseInfo |
InMemPerTestCoverage.getTestById(int id) |
| Modifier and Type | Method and Description |
|---|---|
Set<TestCaseInfo> |
SamplingPerTestCoverage.getTests() |
Set<TestCaseInfo> |
PerTestCoverage.getTests() |
Set<TestCaseInfo> |
InMemPerTestCoverage.getTests() |
Set<TestCaseInfo> |
SamplingPerTestCoverage.getTestsCovering(CoverageDataRange range) |
Set<TestCaseInfo> |
PerTestCoverage.getTestsCovering(CoverageDataRange range) |
Set<TestCaseInfo> |
InMemPerTestCoverage.getTestsCovering(CoverageDataRange range) |
Map<TestCaseInfo,BitSet> |
SamplingPerTestCoverage.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
Map<TestCaseInfo,BitSet> |
PerTestCoverage.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
Map<TestCaseInfo,BitSet> |
InMemPerTestCoverage.mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
SamplingPerTestCoverage.addCoverage(TestCaseInfo tci,
PerTestRecordingTranscript recording) |
void |
PerTestCoverage.addCoverage(TestCaseInfo tci,
PerTestRecordingTranscript recording) |
void |
InMemPerTestCoverage.addCoverage(TestCaseInfo tci,
PerTestRecordingTranscript recording) |
BitSet |
SamplingPerTestCoverage.getHitsFor(TestCaseInfo tci) |
BitSet |
PerTestCoverage.getHitsFor(TestCaseInfo tci) |
BitSet |
InMemPerTestCoverage.getHitsFor(TestCaseInfo tci) |
BitSet |
PerTestCoverage.getUniqueHitsFor(TestCaseInfo tci) |
BitSet |
BasePerTestCoverage.getUniqueHitsFor(TestCaseInfo tci) |
| Modifier and Type | Method and Description |
|---|---|
BitSet |
SamplingPerTestCoverage.getHitsFor(Set<TestCaseInfo> tcis) |
BitSet |
PerTestCoverage.getHitsFor(Set<TestCaseInfo> tcis) |
BitSet |
InMemPerTestCoverage.getHitsFor(Set<TestCaseInfo> tcis) |
BitSet |
SamplingPerTestCoverage.getHitsFor(Set<TestCaseInfo> tcis,
CoverageDataRange range) |
BitSet |
PerTestCoverage.getHitsFor(Set<TestCaseInfo> tcis,
CoverageDataRange range) |
BitSet |
InMemPerTestCoverage.getHitsFor(Set<TestCaseInfo> tcis,
CoverageDataRange range) |
BitSet |
PerTestCoverage.getUniqueHitsFor(Set<TestCaseInfo> tcis) |
BitSet |
BasePerTestCoverage.getUniqueHitsFor(Set<TestCaseInfo> slices) |
| Modifier and Type | Method and Description |
|---|---|
static TestCaseInfo |
TestCaseInfo.Factory.getInstance(TestCaseInfo tci) |
static TestCaseInfo |
TestCaseInfo.Factory.getInstanceForSlice(PerTestRecordingTranscript recording) |
TestCaseInfo |
StackTraceInfo.getOriginatingTest() |
TestCaseInfo |
FullClassInfo.getTestCase(Integer id)
Gets the runtime testcase for the given id of this class.
|
TestCaseInfo |
FullClassInfo.getTestCase(String testname) |
| Modifier and Type | Method and Description |
|---|---|
static Set<TestCaseInfo> |
TestCaseInfo.Factory.getCacheValues() |
Collection<TestCaseInfo> |
FullClassInfo.getTestCases() |
Set<TestCaseInfo> |
FullFileInfo.getUniqueFailingTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
FullClassInfo.addTestCase(TestCaseInfo tci) |
static TestCaseInfo |
TestCaseInfo.Factory.getInstance(TestCaseInfo tci) |
void |
StackTraceInfo.setOriginatingTest(TestCaseInfo originatingTest) |
| Constructor and Description |
|---|
StackTraceInfo(TestCaseInfo originatingTest,
String fullTrace) |
| Modifier and Type | Method and Description |
|---|---|
Set<TestCaseInfo> |
HtmlRenderingSupportImpl.tcisInHitRange(Map<TestCaseInfo,BitSet> tcisAndHits,
CoverageDataRange range)
Helper method used because Velocity doesn't support static method invocations
|
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
HtmlRenderingSupportImpl.getTestFileName(TestCaseInfo testInfo) |
StringBuffer |
HtmlRenderingSupportImpl.getTestLink(boolean topLevel,
TestCaseInfo testInfo) |
| Modifier and Type | Method and Description |
|---|---|
static JSONObject |
JSONObjectFactory.getJSONTestTargets(Map<TestCaseInfo,BitSet> targetMethods,
Map<TestCaseInfo,BitSet> targetElements) |
static JSONObject |
JSONObjectFactory.getJSONTestTargets(Map<TestCaseInfo,BitSet> targetMethods,
Map<TestCaseInfo,BitSet> targetElements) |
Set<TestCaseInfo> |
HtmlRenderingSupportImpl.tcisInHitRange(Map<TestCaseInfo,BitSet> tcisAndHits,
CoverageDataRange range)
Helper method used because Velocity doesn't support static method invocations
|
| Constructor and Description |
|---|
RenderTestResultAction(TestCaseInfo testCaseInfo,
HtmlRenderingSupportImpl renderingHelper,
Current reportConfig,
FullProjectInfo readOnlyModel,
clover.org.apache.velocity.VelocityContext velocity,
FullProjectInfo fullModel,
CloverDatabase database) |
| Modifier and Type | Method and Description |
|---|---|
List<TestCaseInfo> |
LineRenderInfo.getTestHits() |
| Modifier and Type | Method and Description |
|---|---|
void |
LineRenderInfo.setTestHits(List<TestCaseInfo> testHits) |
Copyright © 2024 OpenClover.org. All rights reserved.