org.purl.sword.test
Class SwordTest

java.lang.Object
  extended by org.purl.sword.test.SwordTest

public class SwordTest
extends Object

Simple test class for the ServiceDocument and DepositResponse classes in the SWORD common classes.

Author:
Neil Taylor

Constructor Summary
SwordTest()
           
 
Method Summary
 void depositResponseTest()
          Create a test DepositResponse class.
static void main(String[] args)
          Start the test of the ServiceDocument followed by the DepositResponse.
 void serviceDocumentTest()
          Create a test ServiceDocument class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwordTest

public SwordTest()
Method Detail

main

public static void main(String[] args)
Start the test of the ServiceDocument followed by the DepositResponse.

Parameters:
args -

serviceDocumentTest

public void serviceDocumentTest()
Create a test ServiceDocument class. Marshall and Unmarshall the data to ensure that it is preserved when transformed to and from an XML string.


depositResponseTest

public void depositResponseTest()
Create a test DepositResponse class. Marshall and Unmarshall the data to ensure that it is preserved when transformed to and from an XML string.



Copyright © 2008 The DSpace Foundation. All Rights Reserved.