From b8e9dbed5201c608c9ee1cbeb863e1f5ffac97f9 Mon Sep 17 00:00:00 2001 From: Martin Goellnitz Date: Tue, 22 Mar 2016 20:21:23 +0100 Subject: [PATCH] Don't let OpenJPA deal with mock classes in tests --- jpa/test/guicy/tangram.properties | 8 ++++---- jpa/test/org/tangram/jpa/test/JpaContentTest.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jpa/test/guicy/tangram.properties b/jpa/test/guicy/tangram.properties index d0be4832..8d019205 100644 --- a/jpa/test/guicy/tangram.properties +++ b/jpa/test/guicy/tangram.properties @@ -1,6 +1,6 @@ -# -# Copyright 2015 Martin Goellnitz -# +# +# Copyright 2015-2016 Martin Goellnitz +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or @@ -16,4 +16,4 @@ # # bean factory base packages -basePackages=org.tangram +basePackages=org.tangram.jpa,org.tangram.mutable diff --git a/jpa/test/org/tangram/jpa/test/JpaContentTest.java b/jpa/test/org/tangram/jpa/test/JpaContentTest.java index 924e6db7..4c35ce2a 100644 --- a/jpa/test/org/tangram/jpa/test/JpaContentTest.java +++ b/jpa/test/org/tangram/jpa/test/JpaContentTest.java @@ -89,13 +89,13 @@ protected void setPeers(BaseInterface base, SubInterface peer) { @Override protected int getNumberOfAllClasses() { - return 16; + return 9; } @Override protected int getNumberOfClasses() { - return 5; + return 4; }