Package es.bsc.dataclay.logic.classmgr
Class ClassManagerOperationTest
- java.lang.Object
-
- es.bsc.dataclay.test.AbstractManagerTest
-
- es.bsc.dataclay.logic.classmgr.ClassManagerOperationTest
-
public final class ClassManagerOperationTest extends AbstractManagerTest
- Author:
- dgasull
-
-
Field Summary
-
Fields inherited from class es.bsc.dataclay.test.AbstractManagerTest
dataSource, dbHandler
-
-
Constructor Summary
Constructors Constructor Description ClassManagerOperationTest(Operation operationCase)
-
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[]>
generates()
void
testGetImplementationsOfOperation()
void
testGetImplementationsOfOperationNotExistException()
void
testGetOperationID()
void
testGetOperationNameNotExistException()
void
testNewOperation()
void
testNewOperationAlreadyInClassException()
void
testRemoveOperation()
void
testRemoveOperationNotExistException()
void
testSameTypeOperationAlreadyInClassException()
-
-
-
Constructor Detail
-
ClassManagerOperationTest
public ClassManagerOperationTest(Operation operationCase)
- Parameters:
operationCase
- Operation 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
-
generates
public static Collection<Object[]> generates() 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
-
testGetImplementationsOfOperation
public void testGetImplementationsOfOperation() throws Exception
- Throws:
Exception
-
testNewOperationAlreadyInClassException
public void testNewOperationAlreadyInClassException() throws Exception
- Throws:
Exception
-
testSameTypeOperationAlreadyInClassException
public void testSameTypeOperationAlreadyInClassException() throws Exception
- Throws:
Exception
-
testRemoveOperationNotExistException
public void testRemoveOperationNotExistException()
-
testGetImplementationsOfOperationNotExistException
public void testGetImplementationsOfOperationNotExistException()
-
testGetOperationNameNotExistException
public void testGetOperationNameNotExistException()
-
-