org.fcrepo.test.integration.cma
Class SharedDeploymentTests
java.lang.Object
org.fcrepo.test.integration.cma.SharedDeploymentTests
public class SharedDeploymentTests
- extends Object
Tests involving one SDep that deploys for more than one SDef.
The services and methods available to an object are determined, in the CMA,
by the paths formed between the object, its model, and the services for that
model. Furthermore, individual methods/operations/endpoints are defined
within each individual service object. In order to invoke a specific method,
the identites of the object, the sDef, and the method need to be specified.
In that light, this suite tests the following:
- The system will enumerate (via iewItemIndex, listMethods, etc) ONLY those
services/methods/endpoints that are specified by the graph containing the
object, the model, and the service. Service Deployments should therefore be
irrelevant to this process.
- A given service endpoint triplet (object + sDef + method name) uniquely
identifies a valid service on an object.
- Service Deployments deploy multiple operations/methods - and there is no
specific correlation between an SDep's set of implemented methods, and the
methods declared in any related SDef that it is a deployment of. In other
words, a given SDep may implement a subset of an SDef's methods, and an SDef
may make use of multiple SDeps to provide full deployment coverage of all its
methods.
- Author:
- birkland
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedDeploymentTests
public SharedDeploymentTests()
suite
public static junit.framework.Test suite()
bootstrap
public static void bootstrap()
throws Exception
- Throws:
Exception
testListMethods1
public void testListMethods1()
throws Exception
- Throws:
Exception
testListMethods2
public void testListMethods2()
throws Exception
- Throws:
Exception
testListMethods1_2
public void testListMethods1_2()
throws Exception
- Throws:
Exception
testListMethods3
public void testListMethods3()
throws Exception
- Throws:
Exception
testListMethods4
public void testListMethods4()
throws Exception
- Throws:
Exception
testDissemination1
public void testDissemination1()
throws Exception
- Throws:
Exception
testDissemination2
public void testDissemination2()
throws Exception
- Throws:
Exception
testDissemination1_2
public void testDissemination1_2()
throws Exception
- Throws:
Exception
testDissemination3
public void testDissemination3()
throws Exception
- Throws:
Exception
testDissemination4
public void testDissemination4()
throws Exception
- Throws:
Exception
cleanup
public static void cleanup()
throws Exception
- Throws:
Exception
Copyright © 2012 DuraSpace. All Rights Reserved.