svn commit: r13688 - trunk/tests/org/argouml/ui/TestDetailsPane.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: euluis
Date: 2007-10-24 14:10:07-0700
New Revision: 13688

Modified:
   trunk/tests/org/argouml/ui/TestDetailsPane.java

Log:
Fixing the error in the unit test TestDetailsPane.testTargetSet.

Modified: trunk/tests/org/argouml/ui/TestDetailsPane.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tests/org/argouml/ui/TestDetailsPane.java?view=diff&rev=13688&p1=trunk/tests/org/argouml/ui/TestDetailsPane.java&p2=trunk/tests/org/argouml/ui/TestDetailsPane.java&r1=13687&r2=13688
==============================================================================
--- trunk/tests/org/argouml/ui/TestDetailsPane.java	(original)
+++ trunk/tests/org/argouml/ui/TestDetailsPane.java	2007-10-24 14:10:07-0700
@@ -108,6 +108,7 @@
 			    new Object[] {
 				clazz,
 			    });
+        TargetManager.getInstance().setTarget(clazz);
         pane.targetSet(e);
         assertEquals("3:", propertyPane, pane.getTabs().getSelectedComponent());
         pane.getTabs().setSelectedComponent(todoPane);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.