Class ContractManagerTest
- java.lang.Object
-
- es.bsc.dataclay.test.AbstractManagerTest
-
- es.bsc.dataclay.logic.contractmgr.ContractManagerTest
-
public final class ContractManagerTest extends AbstractManagerTest
This class tests the functions of Contract Manager- Author:
- jmarti
-
-
Field Summary
-
Fields inherited from class es.bsc.dataclay.test.AbstractManagerTest
dataSource, dbHandler
-
-
Constructor Summary
Constructors Constructor Description ContractManagerTest()
-
Method Summary
-
-
-
Method Detail
-
beforeAll
public static void beforeAll() throws RemoteException
- Throws:
RemoteException
-
before
public void before()
- Overrides:
before
in classAbstractManagerTest
-
after
public void after() throws Exception
- Overrides:
after
in classAbstractManagerTest
- Throws:
Exception
-
testRegisterToPublicActiveContract
public void testRegisterToPublicActiveContract()
-
testCheckNamespaceHasNoContracts
public void testCheckNamespaceHasNoContracts()
-
testCheckInterfaceHasNoContracts
public void testCheckInterfaceHasNoContracts()
-
testCheckImplementationHasNoContracts
public void testCheckImplementationHasNoContracts()
-
testCheckInterfacesInActiveContractsForAccount
public void testCheckInterfacesInActiveContractsForAccount()
-
testCheckInterfacesInActiveContractsForNotValidAccount
public void testCheckInterfacesInActiveContractsForNotValidAccount()
-
testCheckInterfacesInNonActiveContractsForAccount
public void testCheckInterfacesInNonActiveContractsForAccount()
-
testCheckNotValidInterfacesInActiveContractsForAccount
public void testCheckNotValidInterfacesInActiveContractsForAccount()
-
testGetContractIDsOfProvider
public void testGetContractIDsOfProvider()
-
testGetContractIDsOfApplicant
public void testGetContractIDsOfApplicant()
-
testGetContractIDsOfApplicantWithProvider
public void testGetContractIDsOfApplicantWithProvider()
-
testGetContract
public void testGetContract()
-
testGetInfoOfActiveContractForAccount
public void testGetInfoOfActiveContractForAccount()
-
testGetInfoOfInerfacesInActiveContractsForAccount
public void testGetInfoOfInerfacesInActiveContractsForAccount()
-
testGetInfoOfMultipleInterfacesPerActiveContractsForAccount
public void testGetInfoOfMultipleInterfacesPerActiveContractsForAccount()
-
testGetInfoOfMultipleContractsPerActiveContractsForAccount
public void testGetInfoOfMultipleContractsPerActiveContractsForAccount() throws RemoteException
- Throws:
RemoteException
-
testContractNotExist
public void testContractNotExist()
-
testAccountAlreadyRegisteredInContract
public void testAccountAlreadyRegisteredInContract()
-
testAccountNotRegistered
public void testAccountNotRegistered()
-
testContractNotActive
public void testContractNotActive()
-
testContractNotPublic
public void testContractNotPublic()
-
testInterfaceNotInContract
public void testInterfaceNotInContract()
-
-