mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
Rename test suites that are really integration testing.
This commit is contained in:
@@ -26,7 +26,7 @@ import org.mockito.junit.MockitoJUnitRunner;
|
|||||||
* @author Luca Giamminonni (luca.giamminonni at 4science.it)
|
* @author Luca Giamminonni (luca.giamminonni at 4science.it)
|
||||||
*/
|
*/
|
||||||
@RunWith(MockitoJUnitRunner.class)
|
@RunWith(MockitoJUnitRunner.class)
|
||||||
public class RegexPasswordValidatorTest extends AbstractIntegrationTest {
|
public class RegexPasswordValidatorIT extends AbstractIntegrationTest {
|
||||||
|
|
||||||
@Mock
|
@Mock
|
||||||
private ConfigurationService configurationService;
|
private ConfigurationService configurationService;
|
@@ -26,7 +26,7 @@ import org.dspace.services.factory.DSpaceServicesFactory;
|
|||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class RelationshipServiceImplVersioningTest extends AbstractIntegrationTestWithDatabase {
|
public class RelationshipServiceImplVersioningIT extends AbstractIntegrationTestWithDatabase {
|
||||||
|
|
||||||
private RelationshipService relationshipService;
|
private RelationshipService relationshipService;
|
||||||
private RelationshipDAO relationshipDAO;
|
private RelationshipDAO relationshipDAO;
|
@@ -70,7 +70,7 @@ import org.junit.Before;
|
|||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
|
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
|
||||||
|
|
||||||
public class VersioningWithRelationshipsTest extends AbstractIntegrationTestWithDatabase {
|
public class VersioningWithRelationshipsIT extends AbstractIntegrationTestWithDatabase {
|
||||||
|
|
||||||
private final RelationshipService relationshipService =
|
private final RelationshipService relationshipService =
|
||||||
ContentServiceFactory.getInstance().getRelationshipService();
|
ContentServiceFactory.getInstance().getRelationshipService();
|
@@ -39,9 +39,9 @@ import org.junit.Test;
|
|||||||
* Created by: Andrew Wood
|
* Created by: Andrew Wood
|
||||||
* Date: 20 Sep 2019
|
* Date: 20 Sep 2019
|
||||||
*/
|
*/
|
||||||
public class RelationshipDAOImplTest extends AbstractIntegrationTest {
|
public class RelationshipDAOImplIT extends AbstractIntegrationTest {
|
||||||
|
|
||||||
private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(RelationshipDAOImplTest.class);
|
private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(RelationshipDAOImplIT.class);
|
||||||
|
|
||||||
private Relationship relationship;
|
private Relationship relationship;
|
||||||
|
|
@@ -35,9 +35,9 @@ import org.junit.After;
|
|||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class RelationshipTypeDAOImplTest extends AbstractIntegrationTest {
|
public class RelationshipTypeDAOImplIT extends AbstractIntegrationTest {
|
||||||
|
|
||||||
private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(RelationshipTypeDAOImplTest.class);
|
private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(RelationshipTypeDAOImplIT.class);
|
||||||
|
|
||||||
private Relationship relationship;
|
private Relationship relationship;
|
||||||
|
|
@@ -54,8 +54,8 @@ import org.dspace.versioning.service.VersioningService;
|
|||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class ItemServiceTest extends AbstractIntegrationTestWithDatabase {
|
public class ItemServiceIT extends AbstractIntegrationTestWithDatabase {
|
||||||
private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(ItemServiceTest.class);
|
private static final Logger log = org.apache.logging.log4j.LogManager.getLogger(ItemServiceIT.class);
|
||||||
|
|
||||||
protected RelationshipService relationshipService = ContentServiceFactory.getInstance().getRelationshipService();
|
protected RelationshipService relationshipService = ContentServiceFactory.getInstance().getRelationshipService();
|
||||||
protected RelationshipTypeService relationshipTypeService = ContentServiceFactory.getInstance()
|
protected RelationshipTypeService relationshipTypeService = ContentServiceFactory.getInstance()
|
@@ -27,7 +27,7 @@ import org.dspace.services.factory.DSpaceServicesFactory;
|
|||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class VersionedHandleIdentifierProviderTest extends AbstractIntegrationTestWithDatabase {
|
public class VersionedHandleIdentifierProviderIT extends AbstractIntegrationTestWithDatabase {
|
||||||
private ServiceManager serviceManager;
|
private ServiceManager serviceManager;
|
||||||
private IdentifierServiceImpl identifierService;
|
private IdentifierServiceImpl identifierService;
|
||||||
|
|
Reference in New Issue
Block a user