From 22cec8b3c4d819a17aa438055dccaaebe288b2cb Mon Sep 17 00:00:00 2001 From: Richard Millet Date: Sat, 9 Apr 2011 00:07:57 +0000 Subject: [PATCH] CSPACE-3770: Adding "wf_delete" workflow deleted query param. Added additional tests for workflow related functionality. --- .../services/client/test/AbstractServiceTestImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); } -- 2.47.3