From 1e27cabdaf7c89a2c7381c8a46697be007778445 Mon Sep 17 00:00:00 2001 From: brunomilitzer Date: Mon, 14 Mar 2022 11:29:25 +0000 Subject: Added more unit tests for overall coverage Issue-ID: POLICY-3932 Change-Id: I481f5da35047da7a790f02368cc915d5e1a9e04d Signed-off-by: brunomilitzer --- gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js') diff --git a/gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js b/gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js index 2692aef..2eba102 100644 --- a/gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js +++ b/gui-clamp/ui-react/src/components/loop_viewer/svg/SvgGenerator.js @@ -73,7 +73,6 @@ class SvgGenerator extends React.Component { } handleSvgClick(event) { - console.debug("svg click event received"); if (this.state.clickable) { var elementName = event.target.parentNode.getAttribute('policyId'); console.info("SVG element clicked", elementName); @@ -148,7 +147,6 @@ class SvgGenerator extends React.Component { xPos += (this.boxWidth + this.boxSpace); allElements.push(this.createOneArrow(xPos - this.boxSpace)); - //createOneBox(xPos, policyId, loopElementModelId , name, title, policyType) for (var loopElement of this.state.loopCache.getAllLoopElementModels()) { allElements.push(this.createOneBox(xPos, @@ -218,6 +216,7 @@ class SvgGenerator extends React.Component { } renderSvg() { + console.log('renderSvg called'); if (this.state.loopCache.getLoopName() === undefined) { return [emptySvg]; } -- cgit