mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
58807: Categorised some more tests, less experimentation git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
package org.alfresco.util.schemacomp.model;
|
||||
|
||||
|
||||
import org.alfresco.test_category.BaseSpringTestsCategory;
|
||||
import org.alfresco.test_category.OwnJVMTestsCategory;
|
||||
import org.alfresco.util.schemacomp.DbProperty;
|
||||
import org.junit.Before;
|
||||
@@ -32,7 +33,7 @@ import static org.junit.Assert.*;
|
||||
* Tests for the Column class.
|
||||
* @author Matt Ward
|
||||
*/
|
||||
@Category(OwnJVMTestsCategory.class)
|
||||
@Category(BaseSpringTestsCategory.class)
|
||||
public class ColumnTest extends DbObjectTestBase<Column>
|
||||
{
|
||||
private Column thisColumn;
|
||||
|
@@ -22,6 +22,7 @@ package org.alfresco.util.schemacomp.model;
|
||||
import static org.junit.Assert.*;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
import org.alfresco.test_category.BaseSpringTestsCategory;
|
||||
import org.alfresco.test_category.OwnJVMTestsCategory;
|
||||
import org.alfresco.util.schemacomp.DbProperty;
|
||||
import org.junit.Before;
|
||||
@@ -33,7 +34,7 @@ import org.junit.experimental.categories.Category;
|
||||
*
|
||||
* @author Matt Ward
|
||||
*/
|
||||
@Category(OwnJVMTestsCategory.class)
|
||||
@Category(BaseSpringTestsCategory.class)
|
||||
public class ForeignKeyTest extends DbObjectTestBase<ForeignKey>
|
||||
{
|
||||
private ForeignKey thisFK, thatFK;
|
||||
|
@@ -24,6 +24,7 @@ import static org.mockito.Mockito.verify;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.alfresco.test_category.BaseSpringTestsCategory;
|
||||
import org.alfresco.test_category.OwnJVMTestsCategory;
|
||||
import org.alfresco.util.schemacomp.DbProperty;
|
||||
import org.junit.Before;
|
||||
@@ -35,7 +36,7 @@ import org.junit.experimental.categories.Category;
|
||||
* Tests for the Index class.
|
||||
* @author Matt Ward
|
||||
*/
|
||||
@Category(OwnJVMTestsCategory.class)
|
||||
@Category(BaseSpringTestsCategory.class)
|
||||
public class IndexTest extends DbObjectTestBase<Index>
|
||||
{
|
||||
private Table thisTable;
|
||||
|
@@ -25,6 +25,7 @@ import static org.mockito.Mockito.verify;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.test_category.BaseSpringTestsCategory;
|
||||
import org.alfresco.test_category.OwnJVMTestsCategory;
|
||||
import org.alfresco.util.schemacomp.DbProperty;
|
||||
import org.junit.Before;
|
||||
@@ -37,7 +38,7 @@ import org.junit.experimental.categories.Category;
|
||||
*
|
||||
* @author Matt Ward
|
||||
*/
|
||||
@Category(OwnJVMTestsCategory.class)
|
||||
@Category(BaseSpringTestsCategory.class)
|
||||
public class PrimaryKeyTest extends DbObjectTestBase<PrimaryKey>
|
||||
{
|
||||
private PrimaryKey thisPK;
|
||||
|
@@ -21,6 +21,7 @@ package org.alfresco.util.schemacomp.model;
|
||||
import static org.junit.Assert.*;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
import org.alfresco.test_category.BaseSpringTestsCategory;
|
||||
import org.alfresco.test_category.OwnJVMTestsCategory;
|
||||
import org.alfresco.util.schemacomp.DbProperty;
|
||||
import org.junit.Before;
|
||||
@@ -36,7 +37,7 @@ import org.mockito.runners.MockitoJUnitRunner;
|
||||
* @author Matt Ward
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
@Category(OwnJVMTestsCategory.class)
|
||||
@Category(BaseSpringTestsCategory.class)
|
||||
public class SchemaTest extends DbObjectTestBase<Schema>
|
||||
{
|
||||
private Schema left;
|
||||
|
@@ -20,6 +20,7 @@ package org.alfresco.util.schemacomp.model;
|
||||
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
import org.alfresco.test_category.BaseSpringTestsCategory;
|
||||
import org.alfresco.test_category.OwnJVMTestsCategory;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
@@ -29,7 +30,7 @@ import org.junit.experimental.categories.Category;
|
||||
* Tests for the Sequence class.
|
||||
* @author Matt Ward
|
||||
*/
|
||||
@Category(OwnJVMTestsCategory.class)
|
||||
@Category(BaseSpringTestsCategory.class)
|
||||
public class SequenceTest extends DbObjectTestBase<Sequence>
|
||||
{
|
||||
private Sequence thisSequence;
|
||||
|
@@ -24,6 +24,7 @@ import static org.mockito.Mockito.verify;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.test_category.BaseSpringTestsCategory;
|
||||
import org.alfresco.test_category.OwnJVMTestsCategory;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
@@ -39,7 +40,7 @@ import org.mockito.runners.MockitoJUnitRunner;
|
||||
* @author Matt Ward
|
||||
*/
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
@Category(OwnJVMTestsCategory.class)
|
||||
@Category(BaseSpringTestsCategory.class)
|
||||
public class TableTest extends DbObjectTestBase<Table>
|
||||
{
|
||||
private Table table;
|
||||
|
Reference in New Issue
Block a user