Examples of ProjectStub


Examples of com.google.refine.tests.model.ProjectStub

    public void canSaveAllModified(){
        whenGetSaveTimes(project, metadata); //5 minute difference
        registerProject(project, metadata);

        //add a second project to the cache
        Project project2 = spy(new ProjectStub(2));
        ProjectMetadata metadata2 = mock(ProjectMetadata.class);
        whenGetSaveTimes(project2, metadata2, 10); //not modified since the last save but within 30 seconds flush limit
        registerProject(project2, metadata2);

        //check that the two projects are not the same
View Full Code Here

Examples of com.volantis.testtools.stubs.ProjectStub

            public IPath getPolicySourcePath() {
                return new Path("/tmp");
            }
        };

        ProjectStub project = new ProjectStub() {
            public IProjectNature getNature(String id) {
                return nature;
            }
        };
        nature.setProject(project);
View Full Code Here

Examples of com.volantis.testtools.stubs.ProjectStub

            public IPath getPolicySourcePath() {
                return new Path("/tmp");
            }
        };

        project = new ProjectStub() {
            public IProjectNature getNature(String id) {
                return nature;
            }
        };
        nature.setProject(project);
View Full Code Here

Examples of open.dolphin.project.ProjectStub

        // ClientContext を生成する
        ClientContextStub stub = new ClientContextStub();
        ClientContext.setClientContextStub(stub);

        // プロジェクトスタブを生成する
        Project.setProjectStub(new ProjectStub());

        // Resources
        Project.getPreferences().putInt("diagnosis.table.clickCountToStart", 2);
        //UIManager.put("Component.visualMargin", new Insets(0,2,0,2));
        UIManager.put("ComboBox.maximumRowCount", ClientContext.getInt("ComboBox.maximumRowCount"));
View Full Code Here

Examples of org.python.pydev.editor.codecompletion.revisited.ProjectStub

    protected boolean restoreProjectPythonPathRefactoring(boolean force, String path, String name) {
        PythonNature n = checkNewNature(name, force);
        if (n != null) {
            natureRefactoring = n;

            ProjectStub projectFromNatureRefactoring = new ProjectStub(name, path, new IProject[0], new IProject[0]);
            setAstManager(path, projectFromNatureRefactoring, natureRefactoring);
            return true;
        }
        return false;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.