use of com.ait.lienzo.client.core.shape.wires.handlers.WiresShapeControl in project kie-wb-common by kiegroup.
the class StunnerWiresControlFactoryTest method testNewShapeControl.
@Test
public void testNewShapeControl() {
final WiresShapeControl wiresShapeControl = tested.newShapeControl(wiresShape, wiresManager);
assertNotNull(wiresShapeControl);
assertTrue(wiresShapeControl instanceof StunnerWiresShapeControl);
}
use of com.ait.lienzo.client.core.shape.wires.handlers.WiresShapeControl in project kie-wb-common by kiegroup.
the class CaseManagementControlFactoryTest method testControls.
@Test
public void testControls() {
WiresShapeControl shapeControl = factory.newShapeControl(shape, wiresManager);
assertNotNull(shapeControl);
assertTrue(shapeControl instanceof CaseManagementShapeControl);
WiresConnectorControl connectorControl = factory.newConnectorControl(wiresConnector, wiresManager);
assertNotNull(connectorControl);
assertTrue(connectorControl instanceof WiresConnectorControlImpl);
WiresConnectionControl connectionControl = factory.newConnectionControl(wiresConnector, true, wiresManager);
assertNotNull(connectionControl);
assertTrue(connectionControl instanceof WiresConnectionControlImpl);
}
Aggregations