/** * Analyze output data from the Ansible Molecule */ export declare class TestDataAnalyzer { /** * Start analyzing recap data from the Ansible Molecule result * * @param {string[]} recapData Recap data from the analyzed data * @param {string[]} idempotenceRecapData Idempotent data from the analyzed data * @returns {string[][]} Returns merged data of both recap data and idempotent data */ static run(recapData: readonly string[], idempotenceRecapData: readonly string[]): readonly (readonly string[])[]; /** * Extract OS data from the given string * * @param {string} osData OS Data * @returns {IOS} Parsed OS data from the given data string */ private static extractOS; /** * Extract results as a javascript object from the given string * * @param {string} stringData String to extract data * @returns {IResults|undefined} Returns undefined if no matches found. Otherwise returns the results */ private static extractResults; /** * Get status string * * @param {IResults} data Result data to generate status for * @returns {string} Generated status */ private static getStatus; /** * Get status for idempotent * * @param {IResults} data Results data * @returns {string} Idempotent status */ private static getIdempotentStatus; /** * Parse recap data from the ansible molecule output * * @param {string[]} recapData Recap data * @param {boolean} idempotence Is idempotent data to parse * @returns {IRecapDataResponse} RecapData */ private static parseRecap; /** * Merge initial test results and idempotent test result * * @param {IRecapDataResponse} initialTest Initial Recap data * @param {IRecapDataResponse} idempotenceTest idempotent Recap data * @returns {string[][]} compatibility as JSON object */ private static merge; }