Package es.bsc.dataclay.logic.classmgr
Class ClassManagerClassTest
- java.lang.Object
-
- es.bsc.dataclay.test.AbstractManagerTest
-
- es.bsc.dataclay.logic.classmgr.ClassManagerClassTest
-
public final class ClassManagerClassTest extends AbstractManagerTest
- Author:
- dgasull
-
-
Field Summary
-
Fields inherited from class es.bsc.dataclay.test.AbstractManagerTest
dataSource, dbHandler
-
-
Constructor Summary
Constructors Constructor Description ClassManagerClassTest(MetaClass metaClassCase)
-
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
testCheckNamespaceHasNoClassesNotExists()
void
testcheckNamespaceHasNothing()
void
testGetMetaClassID()
void
testGetOperationsAndPropertiesNotInNamespaceOfClass()
void
testGetOperationsAndPropertiesNotInNamespaceOfClassOperationNotInClass()
void
testGetOperationsAndPropertiesNotInNamespaceOfClassPropertyNotInClass()
EXCEPTION TESTvoid
testNewClass()
void
testRemoveClass()
-
-
-
Constructor Detail
-
ClassManagerClassTest
public ClassManagerClassTest(MetaClass metaClassCase)
- Parameters:
metaClassCase
- MetaClass 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
-
testcheckNamespaceHasNothing
public void testcheckNamespaceHasNothing() throws Exception
- Throws:
Exception
-
testCheckNamespaceHasNoClassesNotExists
public void testCheckNamespaceHasNoClassesNotExists()
-
testGetMetaClassID
public void testGetMetaClassID()
-
testGetOperationsAndPropertiesNotInNamespaceOfClass
public void testGetOperationsAndPropertiesNotInNamespaceOfClass() throws RemoteException
- Throws:
RemoteException
-
testGetOperationsAndPropertiesNotInNamespaceOfClassPropertyNotInClass
public void testGetOperationsAndPropertiesNotInNamespaceOfClassPropertyNotInClass() throws RemoteException
EXCEPTION TEST- Throws:
RemoteException
-
testGetOperationsAndPropertiesNotInNamespaceOfClassOperationNotInClass
public void testGetOperationsAndPropertiesNotInNamespaceOfClassOperationNotInClass() throws RemoteException
- Throws:
RemoteException
-
-