Esempio n. 1
0
        public MatchResult PerformMatch(IList <Trigger> userInputs,
                                        AppOutputWithScreenshot appOutput,
                                        string tag, bool replaceLast,
                                        ImageMatchSettings imageMatchSettings,
                                        EyesBase eyes, string source)
        {
            // called from regular flow and from check many flow.
            string agentSetupStr = eyes.GetAgentSetupString();

            return(PerformMatch_(userInputs, appOutput, tag, replaceLast, imageMatchSettings, agentSetupStr, source, null));
        }
Esempio n. 2
0
        public MatchResult PerformMatch(AppOutputWithScreenshot appOutput,
                                        string tag, bool ignoreMismatch,
                                        ICheckSettingsInternal checkSettingsInternal,
                                        ImageMatchSettings imageMatchSettings,
                                        IList <IRegion> regions,
                                        IList <VisualGridSelector[]> regionSelectors,
                                        EyesBase eyes, string source, string renderId = null)
        {
            EyesScreenshot screenshot    = appOutput.Screenshot;
            string         agentSetupStr = eyes.GetAgentSetupString();

            CollectRegions_(imageMatchSettings, regions, regionSelectors);
            CollectRegions_(imageMatchSettings, checkSettingsInternal);
            return(PerformMatch_(new Trigger[0], appOutput, tag, ignoreMismatch, imageMatchSettings, agentSetupStr, source, renderId));
        }