You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/05/23 14:20:23 UTC

svn commit: r947403 - /jakarta/bsf/branches/bsf3.x/bsf-api/src/test/java/org/apache/bsf/FactoryTest.java

Author: sebb
Date: Sun May 23 12:20:23 2010
New Revision: 947403

URL: http://svn.apache.org/viewvc?rev=947403&view=rev
Log:
Change check for Apache implementation

Modified:
    jakarta/bsf/branches/bsf3.x/bsf-api/src/test/java/org/apache/bsf/FactoryTest.java

Modified: jakarta/bsf/branches/bsf3.x/bsf-api/src/test/java/org/apache/bsf/FactoryTest.java
URL: http://svn.apache.org/viewvc/jakarta/bsf/branches/bsf3.x/bsf-api/src/test/java/org/apache/bsf/FactoryTest.java?rev=947403&r1=947402&r2=947403&view=diff
==============================================================================
--- jakarta/bsf/branches/bsf3.x/bsf-api/src/test/java/org/apache/bsf/FactoryTest.java (original)
+++ jakarta/bsf/branches/bsf3.x/bsf-api/src/test/java/org/apache/bsf/FactoryTest.java Sun May 23 12:20:23 2010
@@ -46,7 +46,7 @@ public class FactoryTest extends TestCas
         Boolean isBSFClass = null;
         try {
             // Check for a method that's unlikely to be in any but the BSF implementation
-            sem.getClass().getDeclaredMethod("initXMLHelper", new Class[]{ClassLoader.class});
+            sem.getBindings().getClass().getDeclaredMethod("validateKey", new Class[]{Object.class});
             isBSFClass = Boolean.TRUE;
         } catch (SecurityException e) {
             // Leave as null - we don't know the answer



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org