This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new 134aff6  HOP-3130: disable test for windows CR vs CRLF difference
     new 34eeb4c  Merge pull request #978 from hansva/master
134aff6 is described below

commit 134aff6ad62612ab386872c60bfcb2d6c9ba2f2a
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Fri Jul 30 16:59:05 2021 +0200

    HOP-3130: disable test for windows CR vs CRLF difference
---
 .../test/java/org/apache/hop/core/svg/HopSvgGraphics2DTest.java    | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/core/src/test/java/org/apache/hop/core/svg/HopSvgGraphics2DTest.java 
b/core/src/test/java/org/apache/hop/core/svg/HopSvgGraphics2DTest.java
index 4edcf80..8f705a5 100644
--- a/core/src/test/java/org/apache/hop/core/svg/HopSvgGraphics2DTest.java
+++ b/core/src/test/java/org/apache/hop/core/svg/HopSvgGraphics2DTest.java
@@ -17,11 +17,18 @@
 
 package org.apache.hop.core.svg;
 
+import org.apache.commons.lang.SystemUtils;
+import org.junit.Before;
 import org.junit.Test;
 import static org.junit.Assert.assertEquals;
 
 public class HopSvgGraphics2DTest {
 
+  @Before
+  public void notOnWindows() {
+    org.junit.Assume.assumeFalse(SystemUtils.IS_OS_WINDOWS);
+  }
+
   private static final String BASIC_SVG_XML = "<?xml version=\"1.0\" 
encoding=\"UTF-8\"?><svg fill-opacity=\"1\" color-rendering=\"auto\" 
color-interpolation=\"auto\" text-rendering=\"auto\" "
     + "stroke=\"black\" stroke-linecap=\"square\" stroke-miterlimit=\"10\" 
shape-rendering=\"auto\" stroke-opacity=\"1\" fill=\"black\" 
stroke-dasharray=\"none\" font-weight=\"normal\" "
     + "stroke-width=\"1\" font-family=\"'Dialog'\" font-style=\"normal\" 
stroke-linejoin=\"miter\" font-size=\"12px\" stroke-dashoffset=\"0\" 
image-rendering=\"auto\" xmlns=\"http://www.w3";

Reply via email to