svn commit: r13965 - trunk/tests/org/argouml/model/TestExtensionMechanismsFactory.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-12-21 01:28:12-0800
New Revision: 13965

Modified:
   trunk/tests/org/argouml/model/TestExtensionMechanismsFactory.java

Log:
Issue 4953 - Extend tagged value API to support multiple dataValues

Modified: trunk/tests/org/argouml/model/TestExtensionMechanismsFactory.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tests/org/argouml/model/TestExtensionMechanismsFactory.java?view=diff&rev=13965&p1=trunk/tests/org/argouml/model/TestExtensionMechanismsFactory.java&p2=trunk/tests/org/argouml/model/TestExtensionMechanismsFactory.java&r1=13964&r2=13965
==============================================================================
--- trunk/tests/org/argouml/model/TestExtensionMechanismsFactory.java	(original)
+++ trunk/tests/org/argouml/model/TestExtensionMechanismsFactory.java	2007-12-21 01:28:12-0800
@@ -126,8 +126,9 @@
         Object model = Model.getModelManagementFactory().createModel();
         Model.getModelManagementFactory().setRootModel(model);
         Object stereo = emFactory.buildStereotype("mystereo", model);
-        emFactory.buildTagDefinition("myTD", stereo, null);
-        Object tv = emFactory.buildTaggedValue("myTD", "the tag value");
+        Object td = emFactory.buildTagDefinition("myTD", stereo, null);
+        Object tv = emFactory.buildTaggedValue(td, 
+                new String[] {"the tag value"});
         Object clazz = Model.getCoreFactory().buildClass("MyClass", model);
         emHelper.addTaggedValue(clazz, tv);
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.