[med-svn] [Git][med-team/picard-tools][master] Correcting the data provider for test testActionsWithDontMergeAbutting

Pierre Gruet gitlab at salsa.debian.org
Wed Jan 27 23:13:43 GMT 2021



Pierre Gruet pushed to branch master at Debian Med / picard-tools


Commits:
29a45212 by Pierre Gruet at 2021-01-28T00:13:34+01:00
Correcting the data provider for test testActionsWithDontMergeAbutting

- - - - -


2 changed files:

- + debian/patches/correct_dataprovider_TestDontMergeAbuttingData.patch
- debian/patches/series


Changes:

=====================================
debian/patches/correct_dataprovider_TestDontMergeAbuttingData.patch
=====================================
@@ -0,0 +1,29 @@
+Description: providing test with the right data types as arguments
+ Test testActionsWithDontMergeAbutting needs to be provided with
+ three arguments, the second of which has type long. But the current data
+ provider sends an int.
+Author: Pierre Gruet <pgtdebian at free.fr>
+Forwarded: https://github.com/broadinstitute/picard/issues/1635
+Last-Update: 2021-01-28
+
+--- a/src/test/java/picard/util/IntervalListToolsTest.java
++++ b/src/test/java/picard/util/IntervalListToolsTest.java
+@@ -182,12 +182,12 @@
+     @DataProvider
+     public Object[][] actionAndTotalBasesWithDontMergeAbuttingData() {
+         return new Object[][]{
+-                {IntervalListTools.Action.CONCAT, 8, 3},
+-                {IntervalListTools.Action.UNION, 8, 3},
+-                {IntervalListTools.Action.INTERSECT, 8, 2},
+-                {IntervalListTools.Action.SUBTRACT, 0, 0},
+-                {IntervalListTools.Action.SYMDIFF, 0, 0},
+-                {IntervalListTools.Action.OVERLAPS, 8, 3}
++                {IntervalListTools.Action.CONCAT, 8L, 3},
++                {IntervalListTools.Action.UNION, 8L, 3},
++                {IntervalListTools.Action.INTERSECT, 8L, 2},
++                {IntervalListTools.Action.SUBTRACT, 0L, 0},
++                {IntervalListTools.Action.SYMDIFF, 0L, 0},
++                {IntervalListTools.Action.OVERLAPS, 8L, 3}
+         };
+     }
+ 


=====================================
debian/patches/series
=====================================
@@ -8,3 +8,4 @@ fix_unreadabletests.patch
 60-tests-exclude-network.patch
 #fix_javadoc_ascii.patch
 non-intel-skip-intel-tests
+correct_dataprovider_TestDontMergeAbuttingData.patch



View it on GitLab: https://salsa.debian.org/med-team/picard-tools/-/commit/29a45212cfea9389831f17dbc12856a5fdb57d81

-- 
View it on GitLab: https://salsa.debian.org/med-team/picard-tools/-/commit/29a45212cfea9389831f17dbc12856a5fdb57d81
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210127/11f0a061/attachment-0001.html>


More information about the debian-med-commit mailing list