DbTestCase

Undocumented in source.
struct DbTestCase {}

Members

Aliases

testCaseMutationPointAliveSrcMutants
alias testCaseMutationPointAliveSrcMutants = testCaseCountSrcMutants!([Mutation.Status.alive])
testCaseMutationPointKilledByCompilerSrcMutants
alias testCaseMutationPointKilledByCompilerSrcMutants = testCaseCountSrcMutants!([Mutation.Status.killedByCompiler])
testCaseMutationPointKilledSrcMutants
alias testCaseMutationPointKilledSrcMutants = testCaseCountSrcMutants!([Mutation.Status.killed])
testCaseMutationPointTimeoutSrcMutants
alias testCaseMutationPointTimeoutSrcMutants = testCaseCountSrcMutants!([Mutation.Status.timeout])
testCaseMutationPointTotalSrcMutants
alias testCaseMutationPointTotalSrcMutants = testCaseCountSrcMutants!([Mutation.Status.alive, Mutation.Status.killed, Mutation.Status.timeout])
testCaseMutationPointUnknownSrcMutants
alias testCaseMutationPointUnknownSrcMutants = testCaseCountSrcMutants!([Mutation.Status.unknown])

Functions

addDetectedTestCases
void addDetectedTestCases(const(TestCase)[] tcs)

Add test cases to those that have been detected.

getAllTestCaseInfo2
TestCaseInfo2[] getAllTestCaseInfo2(FileId file, Mutation.Kind[] kinds)
getDetectedTestCaseIds
TestCaseId[] getDetectedTestCaseIds()
getDetectedTestCases
TestCase[] getDetectedTestCases()
getNumOfTestCases
long getNumOfTestCases()
getTestCase
Nullable!TestCase getTestCase(TestCaseId id)
getTestCaseId
Nullable!TestCaseId getTestCaseId(TestCase tc)
getTestCaseInfo
TestCaseInfo getTestCaseInfo(TestCaseId tcId, Mutation.Kind[] kinds)
getTestCaseInfo
Nullable!TestCaseInfo getTestCaseInfo(TestCase tc, Mutation.Kind[] kinds)
Undocumented in source. Be warned that the author may not have intended to support it.
getTestCaseMutantKills
MutationId[] getTestCaseMutantKills(TestCaseId id, Mutation.Kind[] kinds)

The mutation ids are guaranteed to be sorted.

getTestCaseName
string getTestCaseName(TestCaseId id)
getTestCases
TestCase[] getTestCases(MutationId id)
getTestCasesWithAtLeastOneKill
TestCaseId[] getTestCasesWithAtLeastOneKill(Mutation.Kind[] kinds)

Guarantees that the there are no duplications of TestCaseId.

getTestCasesWithZeroKills
TestCase[] getTestCasesWithZeroKills()
hasTestCases
bool hasTestCases(MutationStatusId id)
removeTestCase
void removeTestCase(TestCaseId id)
Undocumented in source. Be warned that the author may not have intended to support it.
resetTestCaseId
void resetTestCaseId(TestCaseId id)

Change the status of all mutants that the test case has killed to unknown.

setDetectedTestCases
MutationStatusId[] setDetectedTestCases(const(TestCase)[] tcs)

Set detected test cases.

testCaseKilledSrcMutants
MutationStatusId[] testCaseKilledSrcMutants(Mutation.Kind[] kinds, TestCaseId id)
testCaseKilledSrcMutants
MutationStatusId[] testCaseKilledSrcMutants(Mutation.Kind[] kinds, TestCase tc)
Undocumented in source. Be warned that the author may not have intended to support it.
updateMutationTestCases
void updateMutationTestCases(MutationId id, const(TestCase)[] tcs)

Add a link between the mutation and what test case killed it.

updateMutationTestCases
void updateMutationTestCases(MutationStatusId statusId, const(TestCase)[] tcs)

Add a link between the mutation and what test case killed it.

Meta