org.deegree.metadata.iso.persistence
Class ISOMetadatStoreTransactionTest

java.lang.Object
  extended by org.deegree.metadata.iso.persistence.AbstractISOTest
      extended by org.deegree.metadata.iso.persistence.ISOMetadatStoreTransactionTest

public class ISOMetadatStoreTransactionTest
extends AbstractISOTest

TODO add class documentation here

Version:
$Revision: $, $Date: $
Author:
Lyn Goltz, last edited by: $Author: lyn $

Field Summary
 
Fields inherited from class org.deegree.metadata.iso.persistence.AbstractISOTest
conn, jdbcPass, jdbcURL, jdbcUser, nsContext, resultSet, store
 
Constructor Summary
ISOMetadatStoreTransactionTest()
           
 
Method Summary
 void testDelete()
          Tests if 3 records will be inserted and 2 delete so the output should be 1
The request-query tests after getAllRecords
 void testInsert()
           
 void testUpdateOMElementRemove()
           
 void testUpdateOMElementReplace()
           
 void testUpdateString()
           
 void testUpdateStringWithCQP()
           
 void updateCompleteWithConstraint()
           
 void updateCompleteWithoutConstraint()
           
 void updateNotExistingRecord()
           
 
Methods inherited from class org.deegree.metadata.iso.persistence.AbstractISOTest
setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISOMetadatStoreTransactionTest

public ISOMetadatStoreTransactionTest()
Method Detail

testInsert

public void testInsert()
                throws MetadataStoreException,
                       FactoryConfigurationError,
                       IOException,
                       MetadataInspectorException,
                       ResourceInitException,
                       URISyntaxException
Throws:
MetadataStoreException
FactoryConfigurationError
IOException
MetadataInspectorException
ResourceInitException
URISyntaxException

testDelete

public void testDelete()
                throws MetadataStoreException,
                       XMLStreamException,
                       FactoryConfigurationError,
                       IOException,
                       MetadataInspectorException,
                       ResourceInitException
Tests if 3 records will be inserted and 2 delete so the output should be 1
The request-query tests after getAllRecords

Throws:
MetadataStoreException
XMLStreamException
FactoryConfigurationError
IOException
MetadataInspectorException
ResourceInitException

testUpdateString

public void testUpdateString()
                      throws MetadataStoreException,
                             MetadataInspectorException,
                             FactoryConfigurationError,
                             ResourceInitException
Throws:
MetadataStoreException
MetadataInspectorException
FactoryConfigurationError
ResourceInitException

testUpdateStringWithCQP

public void testUpdateStringWithCQP()
                             throws MetadataStoreException,
                                    MetadataInspectorException,
                                    FactoryConfigurationError,
                                    ResourceInitException
Throws:
MetadataStoreException
MetadataInspectorException
FactoryConfigurationError
ResourceInitException

testUpdateOMElementReplace

public void testUpdateOMElementReplace()
                                throws FactoryConfigurationError,
                                       MetadataStoreException,
                                       MetadataInspectorException,
                                       org.jaxen.JaxenException,
                                       ResourceInitException
Throws:
FactoryConfigurationError
MetadataStoreException
MetadataInspectorException
org.jaxen.JaxenException
ResourceInitException

testUpdateOMElementRemove

public void testUpdateOMElementRemove()
                               throws FactoryConfigurationError,
                                      MetadataStoreException,
                                      MetadataInspectorException,
                                      ResourceInitException
Throws:
FactoryConfigurationError
MetadataStoreException
MetadataInspectorException
ResourceInitException

updateCompleteWithoutConstraint

public void updateCompleteWithoutConstraint()
                                     throws MetadataStoreException,
                                            MetadataInspectorException,
                                            org.jaxen.JaxenException,
                                            ResourceInitException
Throws:
MetadataStoreException
MetadataInspectorException
org.jaxen.JaxenException
ResourceInitException

updateCompleteWithConstraint

public void updateCompleteWithConstraint()
                                  throws MetadataStoreException,
                                         MetadataInspectorException,
                                         org.jaxen.JaxenException,
                                         ResourceInitException
Throws:
MetadataStoreException
MetadataInspectorException
org.jaxen.JaxenException
ResourceInitException

updateNotExistingRecord

public void updateNotExistingRecord()
                             throws MetadataStoreException,
                                    MetadataInspectorException,
                                    org.jaxen.JaxenException,
                                    ResourceInitException
Throws:
MetadataStoreException
MetadataInspectorException
org.jaxen.JaxenException
ResourceInitException


Copyright © 2011. All Rights Reserved.