svn commit: r485118 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ProxyExamples.java

[email protected]
Newsgroups gmane.comp.jakarta.ojb.devel
Message-ID <[email protected]>
Author: arminw
Date: Sat Dec  9 17:42:06 2006
New Revision: 485118

URL: http://svn.apache.org/viewvc?view=rev&rev=485118
Log:
skip known issue

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ProxyExamples.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ProxyExamples.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ProxyExamples.java?view=diff&rev=485118&r1=485117&r2=485118
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ProxyExamples.java (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ProxyExamples.java Sat Dec  9 17:42:06 2006
@@ -308,11 +308,15 @@
 
     public void testReferenceProxyWithInheritance()
     {
+        if(ojbSkipKnownIssueProblem("Proxy issue: OJB doesn't search for interfaces to instantiate proxy objects"))
+        {
+            return;
+        }
+
         Query      query = QueryFactory.newQuery(Owner.class, new Criteria());
         Collection objs  = broker.getCollectionByQuery(query);
 
-        assertEquals(2,
-                     objs.size());
+        assertEquals(2, objs.size());
 
         Iterator it     = objs.iterator();
         Ownable  owned1 = ((Owner)it.next()).getOwned();
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.