fedora.server.test
Class FOXMLInOutTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byfedora.server.test.FOXMLInOutTest
All Implemented Interfaces:
junit.framework.Test

public class FOXMLInOutTest
extends junit.framework.TestCase

Title: FOXMLInOutTest.java

Description: Tests the FOXML deserializer and serializer by parsing a FOXML input file and re-serializing it in the storage context.

-----------------------------------------------------------------------------

License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.

-----------------------------------------------------------------------------

Version:
$Id: FOXMLInOutTest.java,v 1.4 2005/01/11 20:06:09 cwilper Exp $
Author:
payette@cs.cornell.edu

Field Summary
protected  java.io.File inFile
           
protected  DigitalObject obj
           
protected  java.io.File outFile
           
 
Constructor Summary
FOXMLInOutTest()
           
 
Method Summary
protected  void setUp()
           
 void testDigitalObject()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

inFile

protected java.io.File inFile

outFile

protected java.io.File outFile

obj

protected DigitalObject obj
Constructor Detail

FOXMLInOutTest

public FOXMLInOutTest()
Method Detail

setUp

protected void setUp()

testDigitalObject

public void testDigitalObject()