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.

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

The mutation ids are guaranteed to be sorted.

getTestCaseName
string getTestCaseName(TestCaseId id)
getTestCases
TestCase[] getTestCases(MutationStatusId id)
getTestCasesWithAtLeastOneKill
TestCaseId[] getTestCasesWithAtLeastOneKill()

Guarantees that the there are no duplications of TestCaseId.

getTestCasesWithZeroKills
TestCase[] getTestCasesWithZeroKills()
hasTestCases
bool hasTestCases(MutationStatusId id)
removeNewTestCaseTag
void removeNewTestCaseTag()
Undocumented in source. Be warned that the author may not have intended to support it.
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(TestCaseId id)
testCaseKilledSrcMutants
MutationStatusId[] testCaseKilledSrcMutants(TestCase tc)
Undocumented in source. Be warned that the author may not have intended to support it.
updateMutationTestCases
void updateMutationTestCases(MutationStatusId statusId, const(TestCase)[] tcs)

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

Meta