db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r694558 - /db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java
Date Fri, 12 Sep 2008 00:11:42 GMT
Author: clr
Date: Thu Sep 11 17:11:41 2008
New Revision: 694558

URL: http://svn.apache.org/viewvc?rev=694558&view=rev
Log:
JDO-582 Make bad PMF classes available to other test cases

Modified:
    db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java

Modified: db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java?rev=694558&r1=694557&r2=694558&view=diff
==============================================================================
--- db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java (original)
+++ db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java Thu Sep 11 17:11:41 2008
@@ -557,24 +557,24 @@
         }
     }
     
-    private class BadPMFNoGetPMFMethod {
+    public static class BadPMFNoGetPMFMethod {
     }
 
-    private class BadPMFNonStaticGetPMFMethod {
+    public static class BadPMFNonStaticGetPMFMethod {
         public BadPMFNonStaticGetPMFMethod 
                 getPersistenceManagerFactory(Map props) {
             return new BadPMFNonStaticGetPMFMethod();
         }
     }
         
-    private static class BadPMFWrongReturnType {
+    public static class BadPMFWrongReturnType {
         public static BadPMFWrongReturnType 
                 getPersistenceManagerFactory(Map props) {
             return new BadPMFWrongReturnType();
         }
     }
     
-    private static class BadPMFGetPMFMethodThrowsJDOException {
+    public static class BadPMFGetPMFMethodThrowsJDOException {
         public static PersistenceManagerFactory
                 getPersistenceManagerFactory(Map props) {
             throw new JDOUnsupportedOptionException(



Mime
View raw message