Package es.bsc.dataclay.logic.classmgr
Class ClassManagerPropertyTest
- java.lang.Object
-
- es.bsc.dataclay.test.AbstractManagerTest
-
- es.bsc.dataclay.logic.classmgr.ClassManagerPropertyTest
-
public final class ClassManagerPropertyTest extends AbstractManagerTest
- Author:
- dgasull
-
-
Field Summary
-
Fields inherited from class es.bsc.dataclay.test.AbstractManagerTest
dataSource, dbHandler
-
-
Constructor Summary
Constructors Constructor Description ClassManagerPropertyTest(Property propertyCase)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after()
static void
afterAll()
void
before()
static void
beforeAll()
static Collection<Object[]>
prepareParameters()
void
testGetPropertyID()
void
testGetPropertyIDNotExistException()
void
testNewProperty()
void
testNewPropertyAlreadyInClassException()
-
-
-
Constructor Detail
-
ClassManagerPropertyTest
public ClassManagerPropertyTest(Property propertyCase)
- Parameters:
propertyCase
- Property specification of this set of tests
-
-
Method Detail
-
beforeAll
public static void beforeAll()
- Throws:
RemoteException
-
before
public void before()
- Overrides:
before
in classAbstractManagerTest
- Throws:
Exception
-
after
public void after() throws Exception
- Overrides:
after
in classAbstractManagerTest
- Throws:
Exception
-
prepareParameters
public static Collection<Object[]> prepareParameters() throws RemoteException
- Returns:
- Array of Object List. Each element of the array is an array of objects. In our case, this array of objects is only one object: the MetaClass ification case. It is used for our Parameterized test.
- Throws:
RemoteException
-
testNewPropertyAlreadyInClassException
public void testNewPropertyAlreadyInClassException() throws Exception
- Throws:
Exception
-
testGetPropertyIDNotExistException
public void testGetPropertyIDNotExistException()
-
-