openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1632364 - in /openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs: MyDBCSEntity.java TestDBCS.java
Date Thu, 16 Oct 2014 15:54:36 GMT
Author: curtisr7
Date: Thu Oct 16 15:54:36 2014
New Revision: 1632364

URL: http://svn.apache.org/r1632364
Log:
OPENJPA-2535: Disable DBCS tests as it is causing Eclipse and checkstyle problems.

Modified:
    openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/MyDBCSEntity.java
  (contents, props changed)
    openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/TestDBCS.java
  (contents, props changed)

Modified: openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/MyDBCSEntity.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/MyDBCSEntity.java?rev=1632364&r1=1632363&r2=1632364&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/MyDBCSEntity.java
(original)
+++ openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/MyDBCSEntity.java
Thu Oct 16 15:54:36 2014
@@ -21,29 +21,29 @@ package org.apache.openjpa.persistence.j
 import java.io.Serializable;
 
 import javax.persistence.Entity;
-import javax.persistence.Id;
 
 @Entity
 public class MyDBCSEntity implements Serializable {
     private static final long serialVersionUID = 1259199954797560098L;
 
-    @Id
-    private String 業務id;
-    private String 閉塞フラグ;
-
-    public String get業務id() {
-        return this.業務id;
-    }
-
-    public void set業務id(String 業務id) {
-        this.業務id = 業務id;
-    }
-
-    public String get閉塞フラグ() {
-        return this.閉塞フラグ;
-    }
-
-    public void set閉塞フラグ(String 閉塞フラグ)
{
-        this.閉塞フラグ = 閉塞フラグ;
-    }
+//    @Id
+//    private String 業務id;
+//    private String 閉塞フラグ;
+//
+//    public String get業務id() {
+//        return this.業務id;
+//    }
+//
+//    public void set業務id(String 業務id) {
+//        this.業務id = 業務id;
+//    }
+//
+//    public String get閉塞フラグ() {
+//        return this.閉塞フラグ;
+//    }
+//
+//    public void set閉塞フラグ(String 閉塞フラグ)
{
+//        this.閉塞フラグ = 閉塞フラグ;
+//    }
 }
+

Propchange: openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/MyDBCSEntity.java
------------------------------------------------------------------------------
    svn:eol-style = native

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=1632364&r1=1632363&r2=1632364&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 15:54:36 2014
@@ -34,7 +34,8 @@ public class TestDBCS extends SQLListene
         setUp(MyDBCSEntity.class);
     }
 
-    public void test() {
+    // 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";
 
@@ -48,3 +49,4 @@ public class TestDBCS extends SQLListene
         assertContainsSQL(".閉塞フラグ");
     }
 }
+

Propchange: openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/dbcs/TestDBCS.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message