classdef VerifyAction < fxptui.internal.action.Action
    %VERIFYACTION Verify an embedded run against a pre-existing baseline
    %run
    
    %   Copyright 2019 The MathWorks, Inc.
    
    methods(Access = {?fxptui.internal.action.Action, ?WorkflowTestCase})
        
        function executeLocal(~, converter, workflowSetting)
            
            % extract the baseline collection settings
            collectionSettings = workflowSetting.getSettingValue('CollectionSetting');
            
            % extract the verification collection settings
            verificationSettings = workflowSetting.getSettingValue('VerificationSetting');
            
            % execute the verification
            converter.performVerification(collectionSettings, verificationSettings);
            
        end
        
    end
end
