HHH-4063:
- making the tests working also with maven git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18431 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
ae48c83a54
commit
461e2c10ac
|
@ -16,7 +16,7 @@ public class JoinedAllAuditedTest extends AbstractAllAuditedTest {
|
|||
|
||||
public void configure(Ejb3Configuration cfg) {
|
||||
try {
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("org/hibernate/envers/test/integration/interfaces/hbm/allAudited/joined/joinedAllAuditedMappings.hbm.xml");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/joinedAllAuditedMappings.hbm.xml");
|
||||
cfg.addFile(new File(url.toURI()));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -16,7 +16,7 @@ public class SubclassAllAuditedTest extends AbstractAllAuditedTest {
|
|||
|
||||
public void configure(Ejb3Configuration cfg) {
|
||||
try {
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("org/hibernate/envers/test/integration/interfaces/hbm/allAudited/subclass/subclassAllAuditedMappings.hbm.xml");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/subclassAllAuditedMappings.hbm.xml");
|
||||
cfg.addFile(new File(url.toURI()));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -16,7 +16,7 @@ public class UnionAllAuditedTest extends AbstractAllAuditedTest {
|
|||
|
||||
public void configure(Ejb3Configuration cfg) {
|
||||
try {
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("org/hibernate/envers/test/integration/interfaces/hbm/allAudited/union/unionAllAuditedMappings.hbm.xml");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/unionAllAuditedMappings.hbm.xml");
|
||||
cfg.addFile(new File(url.toURI()));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -17,7 +17,7 @@ public class JoinedPropertiesAuditedTest extends AbstractPropertiesAuditedTest {
|
|||
|
||||
public void configure(Ejb3Configuration cfg) {
|
||||
try {
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("org/hibernate/envers/test/integration/interfaces/hbm/propertiesAudited/joined/joinedPropertiesAuditedMappings.hbm.xml");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/joinedPropertiesAuditedMappings.hbm.xml");
|
||||
cfg.addFile(new File(url.toURI()));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -17,7 +17,7 @@ public class SubclassPropertiesAuditedTest extends AbstractPropertiesAuditedTest
|
|||
|
||||
public void configure(Ejb3Configuration cfg) {
|
||||
try {
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("org/hibernate/envers/test/integration/interfaces/hbm/propertiesAudited/subclass/subclassPropertiesAuditedMappings.hbm.xml");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/subclassPropertiesAuditedMappings.hbm.xml");
|
||||
cfg.addFile(new File(url.toURI()));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -17,7 +17,7 @@ public class UnionPropertiesAuditedTest extends AbstractPropertiesAuditedTest {
|
|||
|
||||
public void configure(Ejb3Configuration cfg) {
|
||||
try {
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("org/hibernate/envers/test/integration/interfaces/hbm/propertiesAudited/union/unionPropertiesAuditedMappings.hbm.xml");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/unionPropertiesAuditedMappings.hbm.xml");
|
||||
cfg.addFile(new File(url.toURI()));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -17,7 +17,7 @@ public class JoinedPropertiesAudited2Test extends AbstractPropertiesAudited2Test
|
|||
|
||||
public void configure(Ejb3Configuration cfg) {
|
||||
try {
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("org/hibernate/envers/test/integration/interfaces/hbm/propertiesAudited2/joined/joinedPropertiesAudited2Mappings.hbm.xml");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/joinedPropertiesAudited2Mappings.hbm.xml");
|
||||
cfg.addFile(new File(url.toURI()));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -17,7 +17,7 @@ public class SubclassPropertiesAudited2Test extends AbstractPropertiesAudited2Te
|
|||
|
||||
public void configure(Ejb3Configuration cfg) {
|
||||
try {
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("org/hibernate/envers/test/integration/interfaces/hbm/propertiesAudited2/subclass/subclassPropertiesAudited2Mappings.hbm.xml");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/subclassPropertiesAudited2Mappings.hbm.xml");
|
||||
cfg.addFile(new File(url.toURI()));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -17,7 +17,7 @@ public class UnionPropertiesAudited2Test extends AbstractPropertiesAudited2Test
|
|||
|
||||
public void configure(Ejb3Configuration cfg) {
|
||||
try {
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("org/hibernate/envers/test/integration/interfaces/hbm/propertiesAudited2/union/unionPropertiesAudited2Mappings.hbm.xml");
|
||||
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/unionPropertiesAudited2Mappings.hbm.xml");
|
||||
cfg.addFile(new File(url.toURI()));
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Reference in New Issue