svn commit: r13990 - trunk/tests/org/argouml/uml/ui/GUITestActionOpenProject.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mvw
Date: 2007-12-23 10:38:18-0800
New Revision: 13990
Modified:
trunk/tests/org/argouml/uml/ui/GUITestActionOpenProject.java
Log:
Preparations to remove the circular dependency between org.argouml.persistence and org.argouml.kernel.
The persistence should depend on the kernel and not vice versa.
See the new figure in the cookbook!
This will have impact on argoeclipse.
Modified: trunk/tests/org/argouml/uml/ui/GUITestActionOpenProject.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tests/org/argouml/uml/ui/GUITestActionOpenProject.java?view=diff&rev=13990&p1=trunk/tests/org/argouml/uml/ui/GUITestActionOpenProject.java&p2=trunk/tests/org/argouml/uml/ui/GUITestActionOpenProject.java&r1=13989&r2=13990
==============================================================================
--- trunk/tests/org/argouml/uml/ui/GUITestActionOpenProject.java (original)
+++ trunk/tests/org/argouml/uml/ui/GUITestActionOpenProject.java 2007-12-23 10:38:18-0800
@@ -32,6 +32,7 @@
import org.argouml.kernel.ProjectManager;
import org.argouml.model.InitializeModel;
+import org.argouml.persistence.PersistenceManager;
import org.argouml.profile.init.InitProfileSubsystem;
import org.argouml.util.CheckMain;
@@ -101,7 +102,8 @@
CheckMain.doCommand(c);
assertEquals(projectName,
- ProjectManager.getManager().getCurrentProject().getBaseName());
+ PersistenceManager.getInstance().getProjectBaseName(
+ ProjectManager.getManager().getCurrentProject()));
}
}