Package com.python.pydev.analysis.actions.AnalyzeOnRequestSetter

Examples of com.python.pydev.analysis.actions.AnalyzeOnRequestSetter.AnalyzeOnRequestAction


            //wait for it to complete (if it's too close it may consider it being the same analysis request even with a different time)  
            goToManual(TIME_FOR_ANALYSIS);

            //analyze when forced
            resourcesAnalyzed.clear();
            AnalyzeOnRequestAction analyzeOnRequestAction = new AnalyzeOnRequestSetter.AnalyzeOnRequestAction(editor);
            analyzeOnRequestAction.run();
            goToManual(TIME_FOR_ANALYSIS); //in 1 seconds, 1 analysis should happen

            assertEquals(1, resourcesAnalyzed.size());

        } finally {
View Full Code Here


            goToIdleLoopUntilCondition(getHasSyntaxErrorMarkersCondition(mod1), getMarkers());

            goToManual(TIME_FOR_ANALYSIS);
            resourcesAnalyzed.clear();
            print("------------- Requesting analysis -------------");
            AnalyzeOnRequestAction analyzeOnRequestAction = new AnalyzeOnRequestSetter.AnalyzeOnRequestAction(editor);
            analyzeOnRequestAction.run();
            goToIdleLoopUntilCondition(get1ResourceAnalyzed(), getResourcesAnalyzed());

            assertEquals(1, resourcesAnalyzed.size());

            print("----------- Reopening editor ---------");
View Full Code Here

TOP

Related Classes of com.python.pydev.analysis.actions.AnalyzeOnRequestSetter.AnalyzeOnRequestAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.