From: Richard Millet Date: Sat, 9 Apr 2011 00:07:57 +0000 (+0000) Subject: CSPACE-3770: Adding "wf_delete" workflow deleted query param. Added additional tests... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=22cec8b3c4d819a17aa438055dccaaebe288b2cb;p=tmp%2Fjakarta-migration.git CSPACE-3770: Adding "wf_delete" workflow deleted query param. Added additional tests for workflow related functionality. --- diff --git a/services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTestImpl.java b/services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTestImpl.java index 6aff198ce..1fde7f6a0 100644 --- a/services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTestImpl.java +++ b/services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTestImpl.java @@ -665,8 +665,12 @@ public abstract class AbstractServiceTestImpl extends BaseServiceTest implements // CollectionSpaceClient clientCandidate = this.getClientInstance(); if (CollectionSpacePoxClient.class.isInstance(clientCandidate) != true) { //FIXME: REM - We should remove this check and instead make CollectionSpaceClient support the readIncludeDeleted() method. + String clientCandidateName = "Unknown"; + if (clientCandidate != null) { + clientCandidateName = clientCandidate.getClass().getName(); + } String msg = "Workflow tests are incomplete because " + - clientCandidate.getClass().getName() + " does not support readIncludeDeleted() method."; + clientCandidateName + " does not support readIncludeDeleted() method."; logger.warn(msg); throw new UnsupportedOperationException(); }