From 746fa6987acc50414c8f5035590b5f91a562782f Mon Sep 17 00:00:00 2001 From: ribeaudc <ribeaudc> Date: Tue, 22 Jul 2008 09:00:49 +0000 Subject: [PATCH] add: - Unit test to check equality on GroupIdentifier. minor: - @Test class annotation on 'EqualsHashCodeTestCase' extensions. change: - 'RoleWithCode' changed to 'RoleWithIdentifier' (code is not unique for group). - 'PredicateStore' renamed to 'PredicateFactory' (Predicate instances no longer stored). SVN: 7382 --- bds/sourceTest/java/ch/systemsx/cisd/bds/DataSetTest.java | 3 +++ .../java/ch/systemsx/cisd/bds/ExperimentIdentifierTest.java | 3 +++ bds/sourceTest/java/ch/systemsx/cisd/bds/SampleTest.java | 3 +++ 3 files changed, 9 insertions(+) diff --git a/bds/sourceTest/java/ch/systemsx/cisd/bds/DataSetTest.java b/bds/sourceTest/java/ch/systemsx/cisd/bds/DataSetTest.java index eebbce6dae2..92fc984f826 100644 --- a/bds/sourceTest/java/ch/systemsx/cisd/bds/DataSetTest.java +++ b/bds/sourceTest/java/ch/systemsx/cisd/bds/DataSetTest.java @@ -16,6 +16,8 @@ package ch.systemsx.cisd.bds; +import org.testng.annotations.Test; + import ch.systemsx.cisd.common.test.EqualsHashCodeTestCase; /** @@ -23,6 +25,7 @@ import ch.systemsx.cisd.common.test.EqualsHashCodeTestCase; * * @author Christian Ribeaud */ +@Test public final class DataSetTest extends EqualsHashCodeTestCase<DataSet> { diff --git a/bds/sourceTest/java/ch/systemsx/cisd/bds/ExperimentIdentifierTest.java b/bds/sourceTest/java/ch/systemsx/cisd/bds/ExperimentIdentifierTest.java index 8189071b9b7..e9c27283f17 100644 --- a/bds/sourceTest/java/ch/systemsx/cisd/bds/ExperimentIdentifierTest.java +++ b/bds/sourceTest/java/ch/systemsx/cisd/bds/ExperimentIdentifierTest.java @@ -16,6 +16,8 @@ package ch.systemsx.cisd.bds; +import org.testng.annotations.Test; + import ch.systemsx.cisd.common.test.EqualsHashCodeTestCase; /** @@ -23,6 +25,7 @@ import ch.systemsx.cisd.common.test.EqualsHashCodeTestCase; * * @author Christian Ribeaud */ +@Test public final class ExperimentIdentifierTest extends EqualsHashCodeTestCase<ExperimentIdentifier> { diff --git a/bds/sourceTest/java/ch/systemsx/cisd/bds/SampleTest.java b/bds/sourceTest/java/ch/systemsx/cisd/bds/SampleTest.java index 3b04ad05bec..bea373f3912 100644 --- a/bds/sourceTest/java/ch/systemsx/cisd/bds/SampleTest.java +++ b/bds/sourceTest/java/ch/systemsx/cisd/bds/SampleTest.java @@ -16,6 +16,8 @@ package ch.systemsx.cisd.bds; +import org.testng.annotations.Test; + import ch.systemsx.cisd.common.test.EqualsHashCodeTestCase; /** @@ -23,6 +25,7 @@ import ch.systemsx.cisd.common.test.EqualsHashCodeTestCase; * * @author Christian Ribeaud */ +@Test public final class SampleTest extends EqualsHashCodeTestCase<Sample> { -- GitLab