org.gcube.dir.master.stubs.test
Class CreateMaster

java.lang.Object
  extended by org.gcube.dir.master.stubs.test.CreateMaster

public class CreateMaster
extends java.lang.Object

A test which creates a remote WS-Resource of the Master service for zero or more target collections. The test requires the following command-line inputs:

(1) The scope in which the interaction ought to take place.
(2) (optional) A comma-separated list of identifier of target collections

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
CreateMaster()
           
 
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
 

Constructor Detail

CreateMaster

public CreateMaster()
Method Detail

main

public static void main(java.lang.String[] args)
Run tests and logs any exception.

Parameters:
args - 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.