fedora.server.test
Class FormatConversionTest

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

public class FormatConversionTest
extends junit.framework.TestCase

Title: FormatConversionTest.java

Description: Tests an object deserializer and serializer by opening an object XML file in one format, deserializing it, re-serializing it another format, and sending output to a file.

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

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: FormatConversionTest.java,v 1.3 2005/01/11 20:06:09 cwilper Exp $
Author:
payette@cs.cornell.edu

Field Summary
protected  java.io.File inFile
           
protected  java.lang.String inFormat
           
protected  DigitalObject obj
           
protected  java.io.File outFile
           
protected  java.lang.String outFormat
           
 
Constructor Summary
FormatConversionTest()
           
 
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

inFormat

protected java.lang.String inFormat

outFormat

protected java.lang.String outFormat

obj

protected DigitalObject obj
Constructor Detail

FormatConversionTest

public FormatConversionTest()
Method Detail

setUp

protected void setUp()

testDigitalObject

public void testDigitalObject()