svn commit: r13311 - branches/gsoc2007/b00__1/tests/org/argouml/model/TestCoreHelper.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: b00__1
Date: 2007-08-13 10:58:02-0700
New Revision: 13311

Modified:
   branches/gsoc2007/b00__1/tests/org/argouml/model/TestCoreHelper.java

Log:
Fix an assertion with the correct end

Modified: branches/gsoc2007/b00__1/tests/org/argouml/model/TestCoreHelper.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/b00__1/tests/org/argouml/model/TestCoreHelper.java?view=diff&rev=13311&p1=branches/gsoc2007/b00__1/tests/org/argouml/model/TestCoreHelper.java&p2=branches/gsoc2007/b00__1/tests/org/argouml/model/TestCoreHelper.java&r1=13310&r2=13311
==============================================================================
--- branches/gsoc2007/b00__1/tests/org/argouml/model/TestCoreHelper.java	(original)
+++ branches/gsoc2007/b00__1/tests/org/argouml/model/TestCoreHelper.java	2007-08-13 10:58:02-0700
@@ -422,7 +422,7 @@
 	Object end2 = Model.getFacade().getAssociationEnd(c2, association);
 	Collection collection = Model.getCoreHelper().getAssociateEndsInh(c3);
 	assertTrue(collection.size() == 1);
-	assertTrue(end2 == collection.iterator().next());
+	assertTrue(end1 == collection.iterator().next());
     }
 
 }
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.