@Test public void test110SelfTest() throws Exception { final String TEST_NAME = "test100ListConnectorFactories"; TestUtil.displayTestTile(TEST_NAME); Task task = taskManager.createTaskInstance(TestConnectorDiscovery.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); TestUtil.displayWhen(TEST_NAME); connectorManager.connectorFrameworkSelfTest(result, task); TestUtil.displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); }
public void connectorFrameworkSelfTest(OperationResult parentTestResult, Task task) { for (ConnectorFactory connectorFactory: getConnectorFactories()) { connectorFactory.selfTest(parentTestResult); } }
ConnectorManager { public void connectorFrameworkSelfTest(OperationResult parentTestResult, Task task) { for (ConnectorFactory connectorFactory: getConnectorFactories()) { connectorFactory.selfTest(parentTestResult); } } }
ConnectorManager { public void connectorFrameworkSelfTest(OperationResult parentTestResult, Task task) { for (ConnectorFactory connectorFactory: getConnectorFactories()) { connectorFactory.selfTest(parentTestResult); } }  }
ConnectorManager { public void connectorFrameworkSelfTest(OperationResult parentTestResult, Task task) { for (ConnectorFactory connectorFactory: getConnectorFactories()) { connectorFactory.selfTest(parentTestResult); } }  Collection<ConnectorFactory> getConnectorFactories(); ConnectorInstance getConfiguredConnectorInstance(ConnectorSpec connectorSpec, boolean forceFresh, OperationResult result); ConnectorType getConnectorTypeReadOnly(ConnectorSpec connectorSpec, OperationResult result); PrismSchema getConnectorSchema(ConnectorType connectorType); Set<ConnectorType> discoverLocalConnectors(OperationResult parentResult); Set<ConnectorType> discoverConnectors(ConnectorHostType hostType, OperationResult parentResult); String getFrameworkVersion(); void connectorFrameworkSelfTest(OperationResult parentTestResult, Task task); void shutdown(); }
ConnectorManager { public void connectorFrameworkSelfTest(OperationResult parentTestResult, Task task) { for (ConnectorFactory connectorFactory: getConnectorFactories()) { connectorFactory.selfTest(parentTestResult); } }  Collection<ConnectorFactory> getConnectorFactories(); ConnectorInstance getConfiguredConnectorInstance(ConnectorSpec connectorSpec, boolean forceFresh, OperationResult result); ConnectorType getConnectorTypeReadOnly(ConnectorSpec connectorSpec, OperationResult result); PrismSchema getConnectorSchema(ConnectorType connectorType); Set<ConnectorType> discoverLocalConnectors(OperationResult parentResult); Set<ConnectorType> discoverConnectors(ConnectorHostType hostType, OperationResult parentResult); String getFrameworkVersion(); void connectorFrameworkSelfTest(OperationResult parentTestResult, Task task); void shutdown();  }