From c83738e70baeab2df370c1c73b13bb8feb99eb11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Apr 2023 11:34:26 +0100 Subject: gentoo auto-resync : 09:04:2023 - 11:34:26 --- .../files/jedit-5.6.0-skip-failing-test.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app-editors/jedit/files/jedit-5.6.0-skip-failing-test.patch (limited to 'app-editors/jedit/files') diff --git a/app-editors/jedit/files/jedit-5.6.0-skip-failing-test.patch b/app-editors/jedit/files/jedit-5.6.0-skip-failing-test.patch new file mode 100644 index 000000000000..628e944136db --- /dev/null +++ b/app-editors/jedit/files/jedit-5.6.0-skip-failing-test.patch @@ -0,0 +1,36 @@ +# There was 1 failure: +# 1) abbreviateUserHomeWindows(org.gjt.sp.jedit.MiscUtilitiesTest) +# java.lang.AssertionError +# at org.junit.Assert.fail(Assert.java:87) +# at org.junit.Assert.assertTrue(Assert.java:42) +# at org.junit.Assert.assertTrue(Assert.java:53) +# at org.gjt.sp.jedit.MiscUtilitiesTest.abbreviateUserHomeWindows(MiscUtilitiesTest.java:227) +# +# FAILURES!!! +# Tests run: 353, Failures: 1 +--- a/test/org/gjt/sp/jedit/MiscUtilitiesTest.java ++++ b/test/org/gjt/sp/jedit/MiscUtilitiesTest.java +@@ -24,6 +24,7 @@ package org.gjt.sp.jedit; + import org.junit.After; + import org.junit.BeforeClass; + import org.junit.Test; ++import org.junit.Ignore; + import org.junit.runner.RunWith; + import org.mockito.Mock; + import org.mockito.junit.MockitoJUnitRunner; +@@ -218,7 +219,7 @@ public class MiscUtilitiesTest + assertEquals("${" + key, MiscUtilities.expandVariables("${" + key)); + } + +- @Test ++ @Test @Ignore + public void abbreviateUserHomeWindows() throws Exception + { + updateOS(WINDOWS_NT); +@@ -736,4 +737,4 @@ public class MiscUtilitiesTest + os.set(OperatingSystem.class, newValue); + return oldValue; + } +-} +\ No newline at end of file ++} -- cgit v1.2.3