mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
annotate unit tests so they can be run directly from eclipse junit4 runner
This commit is contained in:
@@ -19,6 +19,10 @@ import org.dspace.servicemanager.DSpaceKernelInit;
|
||||
import org.junit.AfterClass;
|
||||
import static org.junit.Assert.fail;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import mockit.integration.junit4.JMockit;
|
||||
|
||||
/**
|
||||
* DSpace Unit Tests need to initialize the DSpace Kernel / Service Mgr
|
||||
@@ -33,6 +37,8 @@ import org.junit.BeforeClass;
|
||||
* @see AbstractIntegrationTest
|
||||
* @author Tim
|
||||
*/
|
||||
@Ignore
|
||||
@RunWith(JMockit.class)
|
||||
public class AbstractDSpaceTest
|
||||
{
|
||||
/** log4j category */
|
||||
|
@@ -8,6 +8,7 @@
|
||||
package org.dspace;
|
||||
|
||||
import org.databene.contiperf.junit.ContiPerfRule;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
|
||||
/**
|
||||
@@ -20,6 +21,7 @@ import org.junit.Rule;
|
||||
*
|
||||
* @author pvillega
|
||||
*/
|
||||
@Ignore
|
||||
public class AbstractIntegrationTest extends AbstractUnitTest
|
||||
{
|
||||
|
||||
|
@@ -21,6 +21,7 @@ import org.dspace.storage.rdbms.DatabaseUtils;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
@@ -38,6 +39,7 @@ import static org.junit.Assert.fail;
|
||||
* @see AbstractDSpaceTest
|
||||
* @author pvillega
|
||||
*/
|
||||
@Ignore
|
||||
public class AbstractUnitTest extends AbstractDSpaceTest
|
||||
{
|
||||
/** log4j category */
|
||||
|
Reference in New Issue
Block a user