svn commit: r14839 - trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestAttributeAndOperationNotationUml.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mvw
Date: 2008-05-30 11:04:12-0700
New Revision: 14839
Modified:
trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestAttributeAndOperationNotationUml.java
Log:
Improve comment.
Modified: trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestAttributeAndOperationNotationUml.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestAttributeAndOperationNotationUml.java?view=diff&rev=14839&p1=trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestAttributeAndOperationNotationUml.java&p2=trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestAttributeAndOperationNotationUml.java&r1=14838&r2=14839
==============================================================================
--- trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestAttributeAndOperationNotationUml.java (original)
+++ trunk/src/argouml-app/tests/org/argouml/notation/providers/uml/TestAttributeAndOperationNotationUml.java 2008-05-30 11:04:12-0700
@@ -685,6 +685,15 @@
checkThrows(op, NOPER10, true, false, false);
}
+ /**
+ * Parse a given text, and check if the given element
+ * was renamed to "name".
+ *
+ * @param element an Attribute or an Operation
+ * @param text the text to parse
+ * @param name this should be the resulting name of the element
+ * @throws ParseException if it went wrong
+ */
private void checkName(Object element, String text, String name)
throws ParseException {