Package org.python.pydev.core

Examples of org.python.pydev.core.ISystemModulesManager


        AdditionalSystemInterpreterInfo.setAdditionalSystemInfo(manager, info.getExecutableOrJar(), additionalInfo);

        //Don't load it (otherwise it'll get the 'proper' info).
        //AdditionalSystemInterpreterInfo.loadAdditionalSystemInfo(manager, info.getExecutableOrJar());

        final ISystemModulesManager modulesManager = info.getModulesManager();
        assertEquals(0, modulesManager.getSize(false));
        assertEquals(0, additionalInfo.getAllTokens().size());

        InterpreterInfoBuilder builder = new InterpreterInfoBuilder();
        builder.setInfo(info, 0);

        waitUntilCondition(new ICallback<String, Object>() {

            public String call(Object arg) {
                int size = modulesManager.getSize(false);
                if (size == 3) {
                    return null;
                }
                return "Expected size = 3, found: " + size;
            }
View Full Code Here

TOP

Related Classes of org.python.pydev.core.ISystemModulesManager

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.