@syntest/search
Advanced tools
Comparing version 0.5.0-beta.0 to 0.5.0-beta.1
@@ -16,7 +16,6 @@ import { Encoding } from "./Encoding"; | ||
* @param encoding the encoding to decode | ||
* @param targetName the name of the target, used to create informative decodings | ||
* @return decoded the decoded encoding | ||
*/ | ||
decode(encoding: E, targetName: string): D; | ||
decode(encoding: E): D; | ||
} | ||
//# sourceMappingURL=Decoder.d.ts.map |
@@ -47,2 +47,3 @@ import { Logger } from "@syntest/logging"; | ||
protected _secondaryObjectives: Set<SecondaryObjectiveComparator<T>>; | ||
protected _exceptionObjectivesEnabled: boolean; | ||
/** | ||
@@ -59,3 +60,3 @@ * The subject of the search. | ||
*/ | ||
constructor(runner: EncodingRunner<T>, secondaryObjectives: Set<SecondaryObjectiveComparator<T>>); | ||
constructor(runner: EncodingRunner<T>, secondaryObjectives: Set<SecondaryObjectiveComparator<T>>, exceptionObjectivesEnabled: boolean); | ||
/** | ||
@@ -62,0 +63,0 @@ * Logic for handling covered objectives. |
@@ -38,4 +38,7 @@ "use strict"; | ||
*/ | ||
constructor(runner, secondaryObjectives) { | ||
constructor(runner, secondaryObjectives, exceptionObjectivesEnabled) { | ||
ObjectiveManager.LOGGER = (0, logging_1.getLogger)("ObjectiveManager"); | ||
this._runner = runner; | ||
this._secondaryObjectives = secondaryObjectives; | ||
this._exceptionObjectivesEnabled = exceptionObjectivesEnabled; | ||
this._archive = new Archive_1.Archive(); | ||
@@ -45,4 +48,2 @@ this._currentObjectives = new Set(); | ||
this._uncoveredObjectives = new Set(); | ||
this._runner = runner; | ||
this._secondaryObjectives = secondaryObjectives; | ||
} | ||
@@ -85,3 +86,3 @@ /** | ||
// Create separate exception objective when an exception occurred in the execution | ||
if (result.hasError()) { | ||
if (this._exceptionObjectivesEnabled && result.hasError()) { | ||
let stack = result.getError().stack; | ||
@@ -88,0 +89,0 @@ stack = stack |
{ | ||
"name": "@syntest/search", | ||
"version": "0.5.0-beta.0", | ||
"version": "0.5.0-beta.1", | ||
"description": "The common core of the SynTest Framework", | ||
@@ -64,3 +64,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "c18ffa4c96e1f5e5cf9a7fc8c6bd96c9e5683bb4" | ||
"gitHead": "05e3f65f4ead39eb943c25b246f7e21b3e29a21b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
312047
5362