From 3a78cdf4bb8150e1f578a457c354c85c0685b876 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Thu, 10 Dec 2009 03:43:11 +0000 Subject: [PATCH] NOJIRA: readList-type test methods in client tests have a potential dependency on the createList method, if and when these tests check contents of lists returned and not just status codes of responses. --- .../services/client/test/IntakeServiceTest.java | 2 +- .../services/client/test/VocabularyServiceTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/intake/client/src/test/java/org/collectionspace/services/client/test/IntakeServiceTest.java b/services/intake/client/src/test/java/org/collectionspace/services/client/test/IntakeServiceTest.java index c9fd9b057..e929092d8 100644 --- a/services/intake/client/src/test/java/org/collectionspace/services/client/test/IntakeServiceTest.java +++ b/services/intake/client/src/test/java/org/collectionspace/services/client/test/IntakeServiceTest.java @@ -273,7 +273,7 @@ public class IntakeServiceTest extends AbstractServiceTest { // Success outcomes @Override @Test(dataProvider="testName", dataProviderClass=AbstractServiceTest.class, - dependsOnMethods = {"read"}) + dependsOnMethods = {"createList", "read"}) public void readList(String testName) throws Exception { // Perform setup. diff --git a/services/vocabulary/client/src/test/java/org/collectionspace/services/client/test/VocabularyServiceTest.java b/services/vocabulary/client/src/test/java/org/collectionspace/services/client/test/VocabularyServiceTest.java index a32dacd2b..4db245618 100644 --- a/services/vocabulary/client/src/test/java/org/collectionspace/services/client/test/VocabularyServiceTest.java +++ b/services/vocabulary/client/src/test/java/org/collectionspace/services/client/test/VocabularyServiceTest.java @@ -433,7 +433,7 @@ public class VocabularyServiceTest extends AbstractServiceTest { @Override @Test(dataProvider="testName", dataProviderClass=AbstractServiceTest.class, - dependsOnMethods = {"read"}) + dependsOnMethods = {"createList", "read"}) public void readList(String testName) throws Exception { // Perform setup. @@ -473,7 +473,7 @@ public class VocabularyServiceTest extends AbstractServiceTest { } } - @Test(dependsOnMethods = {"readItem"}) + @Test(dependsOnMethods = {"createList", "readItem"}) public void readItemList() { readItemList(knownResourceId); } -- 2.47.3