@Test public void testCreateTemporaryProject() { final Project currentProject = this.projectManager.getCurrentProject(); final Project tempProject = this.projectManager.createTemporaryProject(); assertSame( "A new instance of a project created?!", currentProject, this.projectManager.getCurrentProject() ); assertNotSame( "No new instance of a project created?!", currentProject, tempProject ); }
public Project createTemporaryProject() { return new ProjectImpl(); }
ProjectManagerImpl implements PropertyChangeListener, ProjectManager, ProjectProperties { public Project createTemporaryProject() { return new ProjectImpl(); } }
ProjectManagerImpl implements PropertyChangeListener, ProjectManager, ProjectProperties { public Project createTemporaryProject() { return new ProjectImpl(); } ProjectManagerImpl(); }
ProjectManagerImpl implements PropertyChangeListener, ProjectManager, ProjectProperties { public Project createTemporaryProject() { return new ProjectImpl(); } ProjectManagerImpl(); void addPropertyChangeListener( final PropertyChangeListener aListener ); Project createNewProject(); Project createTemporaryProject(); @Override Project getCurrentProject(); @Override void loadProject( final InputStream aInput ); @Override void propertyChange( final PropertyChangeEvent aEvent ); void removePropertyChangeListener( final PropertyChangeListener aListener ); @Override void saveProject( final OutputStream aOutput ); void setHostProperties( final HostProperties aHostProperties ); }
ProjectManagerImpl implements PropertyChangeListener, ProjectManager, ProjectProperties { public Project createTemporaryProject() { return new ProjectImpl(); } ProjectManagerImpl(); void addPropertyChangeListener( final PropertyChangeListener aListener ); Project createNewProject(); Project createTemporaryProject(); @Override Project getCurrentProject(); @Override void loadProject( final InputStream aInput ); @Override void propertyChange( final PropertyChangeEvent aEvent ); void removePropertyChangeListener( final PropertyChangeListener aListener ); @Override void saveProject( final OutputStream aOutput ); void setHostProperties( final HostProperties aHostProperties );  }