This is an automated email from the ASF dual-hosted git repository. struberg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openjpa.git
commit b238417dabeac935846fe1ce2fef28aafaeef205 Author: Mark Struberg <strub...@apache.org> AuthorDate: Tue May 16 09:29:21 2023 +0200 OPENJPA-2911 make test cover bytecode part --- .../src/main/java/org/apache/openjpa/enhance/PCDataGenerator.java | 2 +- .../openjpa/persistence/datacache/TestDataCacheStoreManager.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCDataGenerator.java b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCDataGenerator.java index 7845da5a9..450b3a088 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCDataGenerator.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCDataGenerator.java @@ -1077,5 +1077,5 @@ public class PCDataGenerator PCDataGenerator getStorageGenerator(); void setStorageGenerator (PCDataGenerator generator); - } + } } diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/datacache/TestDataCacheStoreManager.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/datacache/TestDataCacheStoreManager.java index 1b712c434..13bb6a15a 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/datacache/TestDataCacheStoreManager.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/datacache/TestDataCacheStoreManager.java @@ -38,8 +38,10 @@ import org.apache.openjpa.persistence.test.SingleEMFTestCase; */ public class TestDataCacheStoreManager extends SingleEMFTestCase { Object[] p = - new Object[] { CLEAR_TABLES, CachedEntityStatistics.class, "openjpa.DataCache", "true(EnableStatistics=true)", - "openjpa.QueryCache", "true", }; + new Object[] { CLEAR_TABLES, CachedEntityStatistics.class, + "openjpa.DataCache", "true(EnableStatistics=true)", + "openjpa.QueryCache", "true", + "openjpa.DynamicDataStructs", "true"}; private EntityManager em; private DataCacheStoreManager dsm;