Class ManagedFileEntityTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
it.tidalwave.datamanager.dao.impl.jpa.EntityTestSupport
it.tidalwave.datamanager.dao.impl.jpa.ManagedFileEntityTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.testng.IHookable
,org.testng.ITestNGListener
@DataJpaTest
@AutoConfigureTestDatabase(replace=NONE)
@EnableJpaRepositories
@ActiveProfiles("test")
public class ManagedFileEntityTest
extends EntityTestSupport
- Author:
- Fabrizio Giudici
-
Nested Class Summary
Nested classes/interfaces inherited from class it.tidalwave.datamanager.dao.impl.jpa.EntityTestSupport
EntityTestSupport.Options
-
Field Summary
Fields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger
-
Constructor Summary
-
Method Summary
Methods inherited from class it.tidalwave.datamanager.dao.impl.jpa.EntityTestSupport
assertEqualityConsistency, runInTx, runInTxWithResult
Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
Constructor Details
-
ManagedFileEntityTest
public ManagedFileEntityTest()
-
-
Method Details
-
prepare
@BeforeMethod public void prepare() -
test_equals_and_hashCode
@Rollback public void test_equals_and_hashCode() -
test_toString_without_proxy
public void test_toString_without_proxy() -
test_toString_with_proxy
@Rollback public void test_toString_with_proxy()
-