dextool.plugin.mutate.backend.test_mutant.schemata

Members

Aliases

SchemaActor
alias SchemaActor = typedActor!(void function(Init, AbsolutePath, ShellCommand, Duration), bool function(IsDone), void function(UpdateWorkList), FinalResult function(GetDoneStatus), void function(SchemaTestResult), void function(Mark, FinalResult.Status), void function(InjectAndCompile, ShellCommand, Duration), void function(RestoreMsg), void function(StartTestMsg), void function(ScheduleTestMsg), void function(CheckStopCondMsg))
Undocumented in source.
TestMutantActor
alias TestMutantActor = typedActor!(SchemaTestResult function(InjectIdResult.InjectId id))
Undocumented in source.

Functions

makeHdr
Edit[] makeHdr()
Undocumented in source. Be warned that the author may not have intended to support it.
makeRootImpl
Edit[] makeRootImpl(ulong end)
Undocumented in source. Be warned that the author may not have intended to support it.
mutantsFromSchema
InjectIdResult mutantsFromSchema(Database db, SchemataId id, Mutation.Kind[] kinds)

Extract the mutants that are part of the schema.

sanityCheck
Tuple!(bool, "isOk", Duration, "runtime") sanityCheck(TestRunner runner)
Undocumented in source. Be warned that the author may not have intended to support it.
spawnSchema
auto spawnSchema(SchemaActor.Impl self, FilesysIO fio, TestRunner runner, AbsolutePath dbPath, TestCaseAnalyzer testCaseAnalyzer, ConfigSchema conf, SchemataId id, TestStopCheck stopCheck, Mutation.Kind[] kinds, ShellCommand buildCmd, Duration buildCmdTimeout, DbSaveActor.Address dbSave, StatActor.Address stat, TimeoutConfig timeoutConf)
Undocumented in source. Be warned that the author may not have intended to support it.
spawnTestMutant
auto spawnTestMutant(TestMutantActor.Impl self, TestRunner runner, TestCaseAnalyzer analyzer)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

CodeInject
struct CodeInject

Injects the schema and runtime.

FinalResult
struct FinalResult
Undocumented in source.
GetDoneStatus
struct GetDoneStatus
Undocumented in source.
InjectIdBuilder
struct InjectIdBuilder

Generate schemata injection IDs (32bit) from mutant checksums (128bit).

InjectIdResult
struct InjectIdResult
Undocumented in source.
IsDone
struct IsDone
Undocumented in source.
ScheduleTest
struct ScheduleTest

Round robin scheduling of mutants for testing from the worker pool.

SchemaTestResult
struct SchemaTestResult
Undocumented in source.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.