org.eclipse.emf.test.core.ecore
Class PersistenceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.emf.test.core.ecore.PersistenceTest
All Implemented Interfaces:
junit.framework.Test

public class PersistenceTest
extends junit.framework.TestCase


Constructor Summary
PersistenceTest(java.lang.String name)
           
 
Method Summary
protected  void cipherTest(URIConverter.Cipher cipher)
           
 void oneFileTest(Resource.Factory resourceFactory)
           
protected  java.lang.String readEncriptedBytes(URIConverter.Cipher cipher, byte[] bytes)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
 void testCipher0()
           
 void testCipher1()
           
 void testCrossResourceContainment_Dynamic_ResourceSet()
           
 void testCrossResourceContainment_RemoveChild()
           
 void testCrossResourceContainment_Static_ResourceSet()
           
 void testCrossResourceContainment_XMLResourceUUID()
           
 void testEDataType()
           
 void testOneTextAndOneZipFiles()
           
 void testOneTextFile()
           
 void testOneZipFile()
           
 void testPluginURINotRelative()
           
 void testReferenceEcoreUsingNSURI()
           
 void testTwoTextFiles()
           
 void testTwoZipFiles()
           
 void twoFileTest(Resource.Factory johnResourceFactory, Resource.Factory maryResourceFactory)
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistenceTest

public PersistenceTest(java.lang.String name)
Method Detail

suite

public static junit.framework.Test suite()

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

testOneTextFile

public void testOneTextFile()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testOneZipFile

public void testOneZipFile()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testTwoTextFiles

public void testTwoTextFiles()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testOneTextAndOneZipFiles

public void testOneTextAndOneZipFiles()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testTwoZipFiles

public void testTwoZipFiles()
                     throws java.lang.Exception
Throws:
java.lang.Exception

oneFileTest

public void oneFileTest(Resource.Factory resourceFactory)
                 throws java.lang.Exception
Throws:
java.lang.Exception

twoFileTest

public void twoFileTest(Resource.Factory johnResourceFactory,
                        Resource.Factory maryResourceFactory)
                 throws java.lang.Exception
Throws:
java.lang.Exception

testEDataType

public void testEDataType()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testCrossResourceContainment_XMLResourceUUID

public void testCrossResourceContainment_XMLResourceUUID()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCrossResourceContainment_Dynamic_ResourceSet

public void testCrossResourceContainment_Dynamic_ResourceSet()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testCrossResourceContainment_Static_ResourceSet

public void testCrossResourceContainment_Static_ResourceSet()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

testCrossResourceContainment_RemoveChild

public void testCrossResourceContainment_RemoveChild()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testPluginURINotRelative

public void testPluginURINotRelative()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testReferenceEcoreUsingNSURI

public void testReferenceEcoreUsingNSURI()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCipher0

public void testCipher0()
                 throws java.lang.Exception
Throws:
java.lang.Exception

cipherTest

protected void cipherTest(URIConverter.Cipher cipher)
                   throws java.lang.Exception
Throws:
java.lang.Exception

readEncriptedBytes

protected java.lang.String readEncriptedBytes(URIConverter.Cipher cipher,
                                              byte[] bytes)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testCipher1

public void testCipher1()
                 throws java.lang.Exception
Throws:
java.lang.Exception

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.