Java Doc for VersionedOperationsOnlineTest.java in  » GIS » GeoTools-2.4.1 » org » geotools » data » postgis » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.data.postgis 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.data.postgis.AbstractVersionedPostgisDataTestCase
   org.geotools.data.postgis.VersionedOperationsOnlineTest

VersionedOperationsOnlineTest
public class VersionedOperationsOnlineTest extends AbstractVersionedPostgisDataTestCase (Code)


Field Summary
 FilterFactoryff
    

Constructor Summary
public  VersionedOperationsOnlineTest(String name)
    

Method Summary
protected  StringbuildRiverHistory()
    
public static  voidmain(String[] args)
    
public  voidtestAppendFeatures()
    
public  voidtestChangesetFeatureType()
    
public  voidtestDeleteFeatures()
    
public  voidtestDiff()
    
public  voidtestDoubleUpdate()
     Versioned datastore broke if the same feature got updated twice in the same transaction (since it tried to create a new record at revions x, then expired it, and created another again at revision x).
public  voidtestFeatureSourceBounds()
     The datastore used to choke on single point changes because the change bbox would be an invalid polygon.
public  voidtestFeatureStoreUnversioned()
    
public  voidtestFidFilter()
    
public  voidtestGetFeatureReader()
    
public  voidtestGetFeatureWriter()
    
public  voidtestInsertDelete()
    
public  voidtestInsertUpdate()
    
public  voidtestLog()
    
public  voidtestMissingVersionedCollection()
    
public  voidtestModifiedIdsUnversioned()
    
public  voidtestNonExistentTypes()
    
public  voidtestPlainModifiedIds()
    
public  voidtestPointChange()
     The datastore used to choke on single point changes because the change bbox would be an invalid polygon.
public  voidtestReprojectedVersionedCollection()
    
public  voidtestRollbackAll()
    
public  voidtestRollbackCreatedDeleted()
    
public  voidtestRollbackDeleted()
    
public  voidtestRollbackDiff()
    
public  voidtestRollbackUserChanges()
    
public  voidtestSerialIdWriting()
    
public  voidtestTypeNames()
    
public  voidtestUserModifiedIds()
    
public  voidtestVersionEnableChangeSets()
    
public  voidtestVersionEnableDisableFeatureType()
    
public  voidtestVersionEnableEmptyTable()
    
public  voidtestVersionEnablePointTable()
    
public  voidtestVersionedCollection()
    
public  voidtestVersionedCollectionFidFilter()
    
public  voidtestVolatilePk()
    

Field Detail
ff
FilterFactory ff(Code)




Constructor Detail
VersionedOperationsOnlineTest
public VersionedOperationsOnlineTest(String name)(Code)




Method Detail
buildRiverHistory
protected String buildRiverHistory() throws IOException, IllegalAttributeException(Code)
Version enables rivers
Parameters:
  ds -
throws:
  IOException -
throws:
  IllegalAttributeException -



main
public static void main(String[] args)(Code)



testAppendFeatures
public void testAppendFeatures() throws IOException, IllegalAttributeException(Code)



testChangesetFeatureType
public void testChangesetFeatureType() throws IOException(Code)
Changesets is special, it's an internal table exposed for log access purposes, and it's not writable



testDeleteFeatures
public void testDeleteFeatures() throws IOException, NoSuchElementException, IllegalAttributeException(Code)



testDiff
public void testDiff() throws IOException, IllegalAttributeException(Code)



testDoubleUpdate
public void testDoubleUpdate() throws Exception(Code)
Versioned datastore broke if the same feature got updated twice in the same transaction (since it tried to create a new record at revions x, then expired it, and created another again at revision x).
throws:
  Exception -



testFeatureSourceBounds
public void testFeatureSourceBounds() throws Exception(Code)
The datastore used to choke on single point changes because the change bbox would be an invalid polygon. Plus the feature collection seems to ignore the version set in the query used to gather it
throws:
  Exception -



testFeatureStoreUnversioned
public void testFeatureStoreUnversioned() throws IOException, IllegalAttributeException(Code)



testFidFilter
public void testFidFilter() throws IOException, NoSuchElementException, IllegalAttributeException(Code)



testGetFeatureReader
public void testGetFeatureReader() throws IOException, NoSuchElementException, Exception(Code)



testGetFeatureWriter
public void testGetFeatureWriter() throws IOException, NoSuchElementException, Exception(Code)



testInsertDelete
public void testInsertDelete() throws Exception(Code)
Check insert/delete in the same transaction works
throws:
  Exception -



testInsertUpdate
public void testInsertUpdate() throws Exception(Code)
Same as double update, but for the insert/update case
throws:
  Exception -



testLog
public void testLog() throws IOException, IllegalAttributeException(Code)



testMissingVersionedCollection
public void testMissingVersionedCollection() throws Exception(Code)



testModifiedIdsUnversioned
public void testModifiedIdsUnversioned() throws IOException, IllegalAttributeException(Code)



testNonExistentTypes
public void testNonExistentTypes() throws IOException(Code)



testPlainModifiedIds
public void testPlainModifiedIds() throws IOException, IllegalAttributeException(Code)



testPointChange
public void testPointChange() throws Exception(Code)
The datastore used to choke on single point changes because the change bbox would be an invalid polygon. Plus the feature collection seems to ignore the version set in the query used to gather it
throws:
  Exception -



testReprojectedVersionedCollection
public void testReprojectedVersionedCollection() throws Exception(Code)



testRollbackAll
public void testRollbackAll() throws IOException, IllegalAttributeException(Code)



testRollbackCreatedDeleted
public void testRollbackCreatedDeleted() throws IOException, IllegalAttributeException(Code)



testRollbackDeleted
public void testRollbackDeleted() throws IOException, IllegalAttributeException(Code)



testRollbackDiff
public void testRollbackDiff() throws IOException, IllegalAttributeException(Code)
Create history, rollback it, diff used to report changes anyways
throws:
  IOException -
throws:
  IllegalAttributeException -



testRollbackUserChanges
public void testRollbackUserChanges() throws IOException, IllegalAttributeException(Code)



testSerialIdWriting
public void testSerialIdWriting() throws IOException, IllegalArgumentException, IllegalAttributeException(Code)



testTypeNames
public void testTypeNames() throws IOException(Code)



testUserModifiedIds
public void testUserModifiedIds() throws IOException, IllegalAttributeException(Code)



testVersionEnableChangeSets
public void testVersionEnableChangeSets() throws IOException(Code)



testVersionEnableDisableFeatureType
public void testVersionEnableDisableFeatureType() throws IOException(Code)



testVersionEnableEmptyTable
public void testVersionEnableEmptyTable() throws IOException(Code)



testVersionEnablePointTable
public void testVersionEnablePointTable() throws IOException(Code)



testVersionedCollection
public void testVersionedCollection() throws Exception(Code)



testVersionedCollectionFidFilter
public void testVersionedCollectionFidFilter() throws Exception(Code)



testVolatilePk
public void testVolatilePk() throws IOException, IllegalAttributeException(Code)



Fields inherited from org.geotools.data.postgis.AbstractVersionedPostgisDataTestCase
PostgisTests.Fixture f(Code)(Java Doc)
PostgisConnectionFactory pcFactory(Code)(Java Doc)
ManageableDataSource pool(Code)(Java Doc)
protected Envelope railBounds(Code)(Java Doc)
protected Feature[] railFeatures(Code)(Java Doc)
protected FeatureType railType(Code)(Java Doc)
VersionedPostgisDataStore store(Code)(Java Doc)
protected Envelope treeBounds(Code)(Java Doc)
protected Feature[] treeFeatures(Code)(Java Doc)
protected FeatureType treeType(Code)(Java Doc)

Methods inherited from org.geotools.data.postgis.AbstractVersionedPostgisDataTestCase
protected VersionedPostgisDataStore buildDataStore() throws IOException(Code)(Java Doc)
protected void dataSetUp() throws Exception(Code)(Java Doc)
protected VersionedPostgisDataStore getDataStore() throws IOException(Code)(Java Doc)
public String getFixtureFile()(Code)(Java Doc)
protected void setUp() throws Exception(Code)(Java Doc)
protected void setUpEmptyTable() throws Exception(Code)(Java Doc)
protected void setUpLakeTable() throws Exception(Code)(Java Doc)
protected void setUpNoPrimaryKeyTable() throws Exception(Code)(Java Doc)
protected void setUpPointTable() throws Exception(Code)(Java Doc)
protected void setUpRailTable() throws Exception(Code)(Java Doc)
protected void setUpRiverTable() throws Exception(Code)(Java Doc)
protected void setUpRoadTable() throws Exception(Code)(Java Doc)
protected void setUpTreeTable() throws Exception(Code)(Java Doc)
protected void tearDown() throws Exception(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.