]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-384: Additional trivial cleanup of base classes in client test framework.
authorAron Roberts <aron@socrates.berkeley.edu>
Fri, 21 May 2010 21:39:45 +0000 (21:39 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Fri, 21 May 2010 21:39:45 +0000 (21:39 +0000)
services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTestImpl.java
services/client/src/main/java/org/collectionspace/services/client/test/BaseServiceTest.java

index bd0e1faf34572b53d9aca917e3843f21d195e315..5d50a7394edd8287b156806b9994571f31fe5f7f 100644 (file)
@@ -23,8 +23,6 @@
  */
 package org.collectionspace.services.client.test;
 
-//import java.util.List;
-
 import java.util.ArrayList;
 import java.util.List;
 
@@ -40,12 +38,19 @@ import org.testng.annotations.AfterClass;
 import org.testng.annotations.Test;
 
 /**
- * FIXME: http://issues.collectionspace.org/browse/CSPACE-1685
- * AbstractServiceTest, abstract base class for the client tests to be performed
- * to test an entity or relation service.
+ * AbstractServiceTest.
+ *
+ * Abstract base class for client tests of entity and relation services.
+ * Abstract methods are provided for a set of CRUD + List tests to be invoked.
  *
  * For Javadoc descriptions of this class's methods, see the ServiceTest interface.
+ *
+ * $LastChangedRevision$
+ * $LastChangedDate$
  */
+
+// FIXME: http://issues.collectionspace.org/browse/CSPACE-1685
+
 public abstract class AbstractServiceTestImpl extends BaseServiceTest implements ServiceTest {
 
     /** The logger. */
index 9c47fc20fc75a869163be1ec45df6746887b4f70..cb055a641d7c3f8627f89328ccf593677c94ced9 100644 (file)
@@ -1,14 +1,4 @@
-/**    \r
- * BaseServiceTest.java\r
- *\r
- * {Purpose of This Class}\r
- *\r
- * {Other Notes Relating to This Class (Optional)}\r
- *\r
- * $LastChangedBy: $\r
- * $LastChangedRevision: $\r
- * $LastChangedDate: $\r
- *\r
+/**\r
  * This document is a part of the source code and related artifacts\r
  * for CollectionSpace, an open source collections management system\r
  * for museums and related institutions:\r
  * http://www.collectionspace.org\r
  * http://wiki.collectionspace.org\r
  *\r
- * Copyright © 2009 {Contributing Institution}\r
+ * Copyright (c) 2009 Regents of the University of California\r
  *\r
  * Licensed under the Educational Community License (ECL), Version 2.0.\r
  * You may not use this file except in compliance with this License.\r
  *\r
  * You may obtain a copy of the ECL 2.0 License at\r
+ *\r
  * https://source.collectionspace.org/collection-space/LICENSE.txt\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
  */\r
 package org.collectionspace.services.client.test;\r
 \r
@@ -31,7 +28,6 @@ import java.io.File;
 import java.io.InputStream;\r
 import java.io.StringWriter;\r
 import java.lang.reflect.Method;\r
-//import java.util.ArrayList;\r
 import java.util.List;\r
 \r
 import javax.ws.rs.core.MultivaluedMap;\r
@@ -63,10 +59,16 @@ import org.collectionspace.services.client.CollectionSpaceClient;
 import org.collectionspace.services.jaxb.AbstractCommonList;\r
 \r
 /**\r
- * FIXME: http://issues.collectionspace.org/browse/CSPACE-1685\r
- * The Class BaseServiceTest.\r
- * @param <CommonListType> \r
+ * BaseServiceTest.\r
+ *\r
+ * Base abstract class on which client tests of services are based.\r
+ *\r
+ * $LastChangedRevision$\r
+ * $LastChangedDate$\r
  */\r
+\r
+// FIXME: http://issues.collectionspace.org/browse/CSPACE-1685\r
+\r
 public abstract class BaseServiceTest {\r
 \r
     //Maven's base directory -i.e., the one containing the current pom.xml\r