Skip to content

Commit

Permalink
fix tests , updates svg
Browse files Browse the repository at this point in the history
Signed-off-by: jamal-khey <[email protected]>
  • Loading branch information
jamal-khey committed Sep 16, 2024
1 parent bee0d5c commit 621570f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*/
public abstract class AbstractTest {

protected boolean debugSvg = false;
protected boolean debugSvg = true;
protected boolean overrideTestReferences = false;

private SvgParameters svgParameters;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public List<String> getNodeStyles(VoltageLevelGraph graph, Node node, ComponentL
return List.of(StyleClassConstants.BUS_DISCONNECTED);
}

if (node instanceof EquipmentNode equipmentNode && equipmentNode.isOverloaded()) {
// if (node instanceof EquipmentNode equipmentNode && equipmentNode.isOverloaded()) {
if (node.isOverloaded()) {
return List.of(StyleClassConstants.OVERLOAD_STYLE_CLASS);
}
return Collections.emptyList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@
}

.sld-overload {
animation: sld-overload-blink 3s infinite;
animation: sld-overload-blink-animation 3s infinite;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 621570f

Please sign in to comment.