Class JpaDataManagerDaoTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
it.tidalwave.datamanager.dao.impl.jpa.JpaDataManagerDaoTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.testng.IHookable
,org.testng.ITestNGListener
@DataJpaTest
@AutoConfigureTestDatabase(replace=NONE)
@EnableJpaRepositories
public class JpaDataManagerDaoTest
extends org.springframework.test.context.testng.AbstractTestNGSpringContextTests
- Author:
- Fabrizio Giudici
-
Field Summary
Fields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanUp()
void
prepare()
void
void
void
test_findManagedFiles
(Optional<String> fingerprint) Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
Constructor Details
-
JpaDataManagerDaoTest
public JpaDataManagerDaoTest()
-
-
Method Details
-
prepare
@BeforeClass public void prepare() -
cleanUp
@AfterClass public void cleanUp() -
test_database_schema
- Throws:
IOException
InterruptedException
-
test_findManagedFiles
- Throws:
IOException
-
test_findBackups
public void test_findBackups(@Nonnull Optional<String> label, @Nonnull Optional<String> volumeId, @Nonnull Optional<String> fileId) throws IOException - Throws:
IOException
-