openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1632409 - /openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/TestDBCS.java
Date Thu, 16 Oct 2014 18:45:38 GMT
Author: curtisr7
Date: Thu Oct 16 18:45:37 2014
New Revision: 1632409

URL: http://svn.apache.org/r1632409
Log:
OPENJPA-2535: Update failing test.

Modified:
    openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/TestDBCS.java

Modified: openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/TestDBCS.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/TestDBCS.java?rev=1632409&r1=1632408&r2=1632409&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/TestDBCS.java
(original)
+++ openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/TestDBCS.java
Thu Oct 16 18:45:37 2014
@@ -34,19 +34,20 @@ public class TestDBCS extends SQLListene
         setUp(MyDBCSEntity.class);
     }
 
-    // Test test is disabled as most won't have their environemnt configured to support UTF-8
chars
-    public void _test() {
-        EntityManager em = emf.createEntityManager();
-        String qStr = "SELECT m FROM MyDBCSEntity m WHERE m.閉塞フラグ
= '0' ORDER BY m.業務id";
-
-        Query query = em.createQuery(qStr);
-        resetSQL();
-        query.getResultList();
-
-        //Prior to OPENJPA-2535 the identifies with DBCS characters would be quoted.
-        //Verify the identifies don't contain quotes.
-        assertContainsSQL(".業務id");
-        assertContainsSQL(".閉塞フラグ");
+    
+    public void test() {
+        // Test test is disabled as most won't have their environment configured to support
UTF-8 chars
+//        EntityManager em = emf.createEntityManager();
+//        String qStr = "SELECT m FROM MyDBCSEntity m WHERE m.閉塞フラグ
= '0' ORDER BY m.業務id";
+//
+//        Query query = em.createQuery(qStr);
+//        resetSQL();
+//        query.getResultList();
+//
+//        //Prior to OPENJPA-2535 the identifies with DBCS characters would be quoted.
+//        //Verify the identifies don't contain quotes.
+//        assertContainsSQL(".業務id");
+//        assertContainsSQL(".閉塞フラグ");
     }
 }
 



Mime
View raw message