svn commit: r12820 - trunk/tests/org/argouml/model/CheckUMLModelHelper.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-06-12 08:54:07-0700
New Revision: 12820

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

Log:
delete methods are not public and have an argument

Modified: trunk/tests/org/argouml/model/CheckUMLModelHelper.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tests/org/argouml/model/CheckUMLModelHelper.java?view=diff&rev=12820&p1=trunk/tests/org/argouml/model/CheckUMLModelHelper.java&p2=trunk/tests/org/argouml/model/CheckUMLModelHelper.java&r1=12819&r2=12820
==============================================================================
--- trunk/tests/org/argouml/model/CheckUMLModelHelper.java	(original)
+++ trunk/tests/org/argouml/model/CheckUMLModelHelper.java	2007-06-12 08:54:07-0700
@@ -300,7 +300,8 @@
         for (int i = 0; i < names.length; i++) {
             String methodName = "delete" + names[i];
             try {
-                f.getClass().getMethod(methodName, new Class[0]);
+                f.getClass().getDeclaredMethod(methodName,
+                        new Class[] {Object.class});
             } catch (SecurityException se) {
                 TestCase.fail(
                         "SecurityException while retrieving all methods from "
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.