You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by cu...@apache.org on 2014/10/16 20:45:38 UTC

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

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(".閉塞フラグ");
     }
 }