svn commit: r18972 - trunk/src/argouml-app/tests/org/argouml/notation/providers/TestNotationProviderFactory2.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: linus
Date: 2011-01-18 11:07:52-0800
New Revision: 18972
Modified:
trunk/src/argouml-app/tests/org/argouml/notation/providers/TestNotationProviderFactory2.java
Log:
Create a new project for the test instead of relying on that there exists one already.
Modified: trunk/src/argouml-app/tests/org/argouml/notation/providers/TestNotationProviderFactory2.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/tests/org/argouml/notation/providers/TestNotationProviderFactory2.java?view=diff&pathrev=18972&r1=18971&r2=18972
==============================================================================
--- trunk/src/argouml-app/tests/org/argouml/notation/providers/TestNotationProviderFactory2.java (original)
+++ trunk/src/argouml-app/tests/org/argouml/notation/providers/TestNotationProviderFactory2.java 2011-01-18 11:07:52-0800
@@ -78,7 +78,7 @@
null,
ResourceLoaderWrapper.lookupIconResource("JavaNotation"));
Notation.setDefaultNotation(name);
- proj = ProjectManager.getManager().getCurrentProject();
+ proj = ProjectManager.getManager().makeEmptyProject(true);
proj.getProjectSettings().setNotationLanguage(name);
}
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2698945
To unsubscribe from this discussion, e-mail: [[email protected]].