Java Doc for CollectionTest.java in  » JMX » je » com » sleepycat » collections » test » 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 » JMX » je » com.sleepycat.collections.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sleepycat.collections.test.CollectionTest

All known Subclasses:   com.sleepycat.collections.test.XACollectionTest,
CollectionTest
public class CollectionTest extends TestCase (Code)

author:
   Mark Hayes



Constructor Summary
public  CollectionTest(TestEnv testEnv, TestStore testStore, boolean isEntityBinding, boolean isAutoCommit)
    

Method Summary
 voidaddAll()
    
 voidaddAllList()
    
 voidaddOdd()
    
 voidaddOddDup()
    
 voidaddOddEntity()
    
 voidaddOddList()
    
 voidappendAll()
    
 voidbulkListOperations()
    
 voidbulkOperations()
    
 voidcheckDupsSize(int expected, Collection coll)
    
 voidcheckKeySetAndValueSet()
    
 voidclearAll()
    
 voidclearRange()
    
 voidcreateOutOfRange(int rangeBegin, int rangeEnd)
    
 voidduplicatesNotAllowed()
    
 intintIter(Collection coll, Object value)
    
 intintKey(Object key)
    
 intintVal(Object val)
    
 booleanisSubMap()
    
 Iteratoriterator(Collection storedCollection)
    
 voiditeratorSetAndRemoveNotAllowed(ListIterator i)
    
 voidlistOperationsNotAllowed()
    
public static  voidmain(String[] args)
     Runs a command line collection test.
 ObjectmakeEntity(int key, int val)
    
 ObjectmakeEntity(int key)
    
 ObjectmakeEntity(Long key)
    
 LongmakeKey(int key)
    
 ObjectmakeVal(int key)
    
 ObjectmakeVal(int key, int val)
    
 ObjectmakeVal(Long key)
    
 Map.EntrymapEntry(Object key, Object val)
    
 Map.EntrymapEntry(int key)
    
protected  TransactionRunnernewTransactionRunner(Environment env)
     Is overridden in XACollectionTest.
 voidreadAll()
    
 voidreadDuplicates(int i, Object key, Object[] values)
    
 voidreadEven()
    
 voidreadEvenList()
    
 voidreadIterator(Collection coll, Iterator iter, int beginValue, int endValue)
    
 voidreadWriteDuplicates()
    
 voidreadWriteIndexedDuplicates(int i)
    
 voidreadWritePrimaryDuplicates(int i)
    
 voidreadWriteRange(int type, int rangeBegin, int rangeEnd)
    
 voidremoveAll()
    
 voidremoveAllList()
    
 voidremoveIter()
     Tests that removing while iterating works properly, especially when removing everything in the key range or everything from some point to the end of the range.
 voidremoveOdd()
    
 voidremoveOddEntity()
    
 voidremoveOddEntry()
    
 voidremoveOddIter()
    
 voidremoveOddList()
    
 voidremoveOddListValue()
    
public  voidrunTest()
    
 voidsetRange(int type, int rangeBegin, int rangeEnd)
    
 voidsetValuePlusOne(ListIterator iter, Object obj)
    
public static  Testsuite()
    
static  Testsuite(String[] args)
    
public  voidtearDown()
    
 voidtestAll()
    
 voidtestCdbLocking()
    
 voidtestCreation(StoredContainer cont, int expectSize)
    
 voidtestIndexed()
    
 voidtestIterAddDuplicates()
    
 voidtestIterAddList()
    
 voidtestMapCreation(Map map)
    
 voidtestUnindexed()
    
 voidupdateAll()
    
 voidupdateIter(Collection coll)
    
 voidwriteOutOfRange(Long badNewKey)
    


Constructor Detail
CollectionTest
public CollectionTest(TestEnv testEnv, TestStore testStore, boolean isEntityBinding, boolean isAutoCommit)(Code)




Method Detail
addAll
void addAll() throws Exception(Code)



addAllList
void addAllList() throws Exception(Code)



addOdd
void addOdd() throws Exception(Code)



addOddDup
void addOddDup() throws Exception(Code)



addOddEntity
void addOddEntity() throws Exception(Code)



addOddList
void addOddList() throws Exception(Code)



appendAll
void appendAll() throws Exception(Code)



bulkListOperations
void bulkListOperations() throws Exception(Code)



bulkOperations
void bulkOperations() throws Exception(Code)



checkDupsSize
void checkDupsSize(int expected, Collection coll)(Code)



checkKeySetAndValueSet
void checkKeySetAndValueSet()(Code)



clearAll
void clearAll() throws Exception(Code)



clearRange
void clearRange()(Code)



createOutOfRange
void createOutOfRange(int rangeBegin, int rangeEnd) throws Exception(Code)



duplicatesNotAllowed
void duplicatesNotAllowed()(Code)



intIter
int intIter(Collection coll, Object value)(Code)



intKey
int intKey(Object key)(Code)



intVal
int intVal(Object val)(Code)



isSubMap
boolean isSubMap()(Code)



iterator
Iterator iterator(Collection storedCollection)(Code)



iteratorSetAndRemoveNotAllowed
void iteratorSetAndRemoveNotAllowed(ListIterator i)(Code)



listOperationsNotAllowed
void listOperationsNotAllowed()(Code)



main
public static void main(String[] args) throws Exception(Code)
Runs a command line collection test.
See Also:   CollectionTest.usage



makeEntity
Object makeEntity(int key, int val)(Code)



makeEntity
Object makeEntity(int key)(Code)



makeEntity
Object makeEntity(Long key)(Code)



makeKey
Long makeKey(int key)(Code)



makeVal
Object makeVal(int key)(Code)



makeVal
Object makeVal(int key, int val)(Code)



makeVal
Object makeVal(Long key)(Code)



mapEntry
Map.Entry mapEntry(Object key, Object val)(Code)



mapEntry
Map.Entry mapEntry(int key)(Code)



newTransactionRunner
protected TransactionRunner newTransactionRunner(Environment env) throws DatabaseException(Code)
Is overridden in XACollectionTest.



readAll
void readAll() throws Exception(Code)



readDuplicates
void readDuplicates(int i, Object key, Object[] values)(Code)



readEven
void readEven() throws Exception(Code)



readEvenList
void readEvenList() throws Exception(Code)



readIterator
void readIterator(Collection coll, Iterator iter, int beginValue, int endValue)(Code)



readWriteDuplicates
void readWriteDuplicates() throws Exception(Code)



readWriteIndexedDuplicates
void readWriteIndexedDuplicates(int i) throws Exception(Code)



readWritePrimaryDuplicates
void readWritePrimaryDuplicates(int i) throws Exception(Code)



readWriteRange
void readWriteRange(int type, int rangeBegin, int rangeEnd) throws Exception(Code)



removeAll
void removeAll() throws Exception(Code)



removeAllList
void removeAllList() throws Exception(Code)



removeIter
void removeIter() throws Exception(Code)
Tests that removing while iterating works properly, especially when removing everything in the key range or everything from some point to the end of the range. [#15858]



removeOdd
void removeOdd() throws Exception(Code)



removeOddEntity
void removeOddEntity() throws Exception(Code)



removeOddEntry
void removeOddEntry() throws Exception(Code)



removeOddIter
void removeOddIter() throws Exception(Code)



removeOddList
void removeOddList() throws Exception(Code)



removeOddListValue
void removeOddListValue() throws Exception(Code)



runTest
public void runTest() throws Exception(Code)



setRange
void setRange(int type, int rangeBegin, int rangeEnd)(Code)



setValuePlusOne
void setValuePlusOne(ListIterator iter, Object obj)(Code)



suite
public static Test suite() throws Exception(Code)



suite
static Test suite(String[] args) throws Exception(Code)



tearDown
public void tearDown() throws Exception(Code)



testAll
void testAll() throws Exception(Code)



testCdbLocking
void testCdbLocking()(Code)



testCreation
void testCreation(StoredContainer cont, int expectSize) throws Exception(Code)



testIndexed
void testIndexed() throws Exception(Code)



testIterAddDuplicates
void testIterAddDuplicates() throws Exception(Code)



testIterAddList
void testIterAddList() throws Exception(Code)



testMapCreation
void testMapCreation(Map map) throws Exception(Code)



testUnindexed
void testUnindexed() throws Exception(Code)



updateAll
void updateAll() throws Exception(Code)



updateIter
void updateIter(Collection coll) throws Exception(Code)



writeOutOfRange
void writeOutOfRange(Long badNewKey) throws Exception(Code)



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