Search in sources :

Example 6 with CouldntPerformActionEx

use of alma.ACSErrTypeCommon.CouldntPerformActionEx in project ACS by ACS-Community.

the class OtherComponentClient method testFindDummyComponentsByType.

public void testFindDummyComponentsByType() throws Exception {
    String[] curls = null;
    try {
        stringSeqHolder curlRet = new stringSeqHolder();
        m_contSrvTesterComp.testFindDummyComponentsByType(curlRet);
        curls = curlRet.value;
    } catch (CouldntPerformActionEx ex) {
        throw AcsJCouldntPerformActionEx.fromCouldntPerformActionEx(ex);
    }
    assertNotNull(curls);
    assertEquals(2, curls.length);
    assertEquals("DefaultDummyComp", curls[0]);
}
Also used : AcsJCouldntPerformActionEx(alma.ACSErrTypeCommon.wrappers.AcsJCouldntPerformActionEx) CouldntPerformActionEx(alma.ACSErrTypeCommon.CouldntPerformActionEx) ACS.stringSeqHolder(alma.ACS.stringSeqHolder)

Aggregations

CouldntPerformActionEx (alma.ACSErrTypeCommon.CouldntPerformActionEx)6 AcsJCouldntPerformActionEx (alma.ACSErrTypeCommon.wrappers.AcsJCouldntPerformActionEx)6 ACS.stringSeqHolder (alma.ACS.stringSeqHolder)1 CounterConsumer (alma.COUNTER.CounterConsumer)1 CounterSupplier (alma.COUNTER.CounterSupplier)1 NestedFridgeEvent (alma.FRIDGE.FridgeControlPackage.NestedFridgeEvent)1 LoggingConfigurable (alma.Logging.LoggingConfigurable)1 StopWatch (alma.acs.util.StopWatch)1 CorbaNotifyConsumerOperations (alma.benchmark.CorbaNotifyConsumerOperations)1 CorbaNotifySupplierOperations (alma.benchmark.CorbaNotifySupplierOperations)1 NcEventSpec (alma.benchmark.NcEventSpec)1 TestLogLevelsComp (alma.contLogTest.TestLogLevelsComp)1 DummyComponentWrapper (alma.jconttest.DummyComponentWrapper)1 Callable (java.util.concurrent.Callable)1 ExecutionException (java.util.concurrent.ExecutionException)1 Test (org.junit.Test)1