]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-139: Temporarily commented out @Test annotations in BlobAuthRefsTest and Media...
authorAron Roberts <aron@socrates.berkeley.edu>
Thu, 2 Dec 2010 16:07:39 +0000 (16:07 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Thu, 2 Dec 2010 16:07:39 +0000 (16:07 +0000)
services/blob/client/src/test/java/org/collectionspace/services/client/test/BlobAuthRefsTest.java
services/media/client/src/test/java/org/collectionspace/services/client/test/MediaAuthRefsTest.java

index fc10b00d88188e8869f4c6d3e827ee0ceccf9e90..ffd99b31fc634b2ed9925d2c77b62290ddfa5bd3 100644 (file)
@@ -151,7 +151,13 @@ public class BlobAuthRefsTest extends BaseServiceTest {
         return extractId(res);
     }
 
-    @Test(dataProvider = "testName", dataProviderClass = AbstractServiceTestImpl.class, dependsOnMethods = {"createWithAuthRefs"})
+    // @Test annotation commented out by Aron 2010-12-02 until blob payload is set to the
+    // actual payload - it currently appears to be cloned from another record type - and
+    // it's determined that this payload has at least one authority field.
+    //
+    // If there are no authref fields in the payload, we might remove this test class outright.
+    //
+    // @Test(dataProvider = "testName", dataProviderClass = AbstractServiceTestImpl.class, dependsOnMethods = {"createWithAuthRefs"})
     public void readAndCheckAuthRefs(String testName) throws Exception {
         logger.debug(testBanner(testName, CLASS_NAME));
         testSetup(STATUS_OK, ServiceRequestType.READ);
index 5be02297de1204fa7b6fdc00191ca6b13e36e42c..25b2275197bef665a970096330cb8bec314d8d44 100644 (file)
@@ -151,7 +151,14 @@ public class MediaAuthRefsTest extends BaseServiceTest {
         return extractId(res);
     }
 
-    @Test(dataProvider = "testName", dataProviderClass = AbstractServiceTestImpl.class, dependsOnMethods = {"createWithAuthRefs"})
+    // @Test annotation commented out by Aron 2010-12-02 until media payload is set to the
+    // actual payload - it currently appears to be cloned from another record type - and
+    // it's determined that this payload has at least one authority field.
+    //
+    // When that happens, this test class will also need to be revised accordingly to
+    // reflect the actual names and number of authref fields in that payload.
+    //
+    // @Test(dataProvider = "testName", dataProviderClass = AbstractServiceTestImpl.class, dependsOnMethods = {"createWithAuthRefs"})
     public void readAndCheckAuthRefs(String testName) throws Exception {
         logger.debug(testBanner(testName, CLASS_NAME));
         testSetup(STATUS_OK, ServiceRequestType.READ);