From 4ac50c89ad31177fae71d46cf01e7cbfc3c98f64 Mon Sep 17 00:00:00 2001 From: Mauricio Carneiro Date: Thu, 14 Feb 2013 22:02:30 -0500 Subject: [PATCH] Updating TestNG to the latest version -- changed SkipException constructors that are now private in TestNG -- Updated build.xml to use the latest testng -- Added guice dependency to ivy -- Fixed broken SampleDBUnitTest The SampleDBUnitTest was only passing before because the map comparison in the old TestNG was broken. It was comparing two DIFFERENT samples and testing for "equals" GSA-695 #resolve --- build.xml | 2 +- ivy.xml | 3 ++- .../broadinstitute/sting/gatk/samples/SampleDBUnitTest.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index 482fe70be..bb02c1ff1 100644 --- a/build.xml +++ b/build.xml @@ -1073,7 +1073,7 @@ - + diff --git a/ivy.xml b/ivy.xml index 13ecfa2d2..4bd6ad7b8 100644 --- a/ivy.xml +++ b/ivy.xml @@ -84,9 +84,10 @@ - + + diff --git a/public/java/test/org/broadinstitute/sting/gatk/samples/SampleDBUnitTest.java b/public/java/test/org/broadinstitute/sting/gatk/samples/SampleDBUnitTest.java index a4e5b6d78..295b31203 100644 --- a/public/java/test/org/broadinstitute/sting/gatk/samples/SampleDBUnitTest.java +++ b/public/java/test/org/broadinstitute/sting/gatk/samples/SampleDBUnitTest.java @@ -60,7 +60,7 @@ public class SampleDBUnitTest extends BaseTest { private static final Set testPEDFamilyF3 = new HashSet(Arrays.asList( new Sample("s1", "fam3", "d1", "m1", Gender.FEMALE, Affection.AFFECTED), - new Sample("d1", "fam3", null, null, Gender.FEMALE, Affection.UNKNOWN), + new Sample("d1", "fam3", null, null, Gender.MALE, Affection.UNKNOWN), new Sample("m1", "fam3", null, null, Gender.FEMALE, Affection.UNKNOWN) ));