org.gcube.dir.master.stubs.test
Class Merge
java.lang.Object
org.gcube.dir.master.stubs.test.Merge
public class Merge
- extends java.lang.Object
A test which uses a remote WS-Resource of the Master service to merge query results that emanate
from zero or more target collections.
The test requires the following command-line inputs:
(1) A file with the object serialisation of the endpoint of the WS-Resource.
(2) A comma-separated list of query keywords.
(3) The scope in which the interaction ought to take place.
(4) One or more pairs ID,F of a collection identifier ID and a file F with the serialisation
of the endpoint of a result-set WS-Resource.
- Author:
- Fabio Simeoni (University of Strathclyde)
Constructor Summary |
Merge()
|
Method Summary |
static void |
main(java.lang.String[] args)
Run tests and logs any exception. |
static void |
run(java.lang.String[] args)
Run test. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Merge
public Merge()
main
public static void main(java.lang.String[] args)
- Run tests and logs any exception.
- Parameters:
args
- the test arguments as documented above.
run
public static void run(java.lang.String[] args)
throws java.lang.Exception
- Run test.
- Parameters:
args
- test arguments.
- Throws:
java.lang.Exception
- if the test did not complete successfully.