Move hbm files to resources folder

This commit is contained in:
Grzegorz Piwowarek 2016-08-10 11:48:21 +02:00
parent ee0e14e590
commit da2ef4f4e7
7 changed files with 0 additions and 78 deletions

View File

@ -1,15 +0,0 @@
package com.baeldung.hibernate.criteria;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
public class HibernateCriteriaTestRunner {
public static void main(final String[] args) {
Result result = JUnitCore.runClasses(HibernateCriteriaTestSuite.class);
for (Failure failure : result.getFailures()) {
}
}
}

View File

@ -1,11 +0,0 @@
package com.baeldung.hibernate.criteria;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({ HibernateCriteriaTest.class })
public class HibernateCriteriaTestSuite {
}

View File

@ -1,24 +0,0 @@
package com.baeldung.hibernate.fetching;
import static org.junit.Assert.*;
import org.junit.Test;
import com.baeldung.hibernate.fetching.view.FetchingAppView;
public class HibernateFetchingTest {
@Test
public void testLazyFetching() {
FetchingAppView fav = new FetchingAppView();
fav.createTestData();
assertFalse(fav.lazyLoaded());
}
@Test
public void testEagerFetching() {
FetchingAppView fav = new FetchingAppView();
assertTrue(fav.eagerLoaded());
}
}

View File

@ -1,17 +0,0 @@
package com.baeldung.hibernate.fetching;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
public class HibernateFetchingTestRunner {
public static void main(final String[] args) {
Result result = JUnitCore.runClasses(HibernateFetchingTestSuite.class);
for (Failure failure : result.getFailures()) {
}
}
}

View File

@ -1,11 +0,0 @@
package com.baeldung.hibernate.fetching;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({ HibernateFetchingTest.class })
public class HibernateFetchingTestSuite {
}