A C D G I L M N O P S T

A

analyzeDatabase() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Update database statistics with expectation to improve performance of queries (usually after a large number of data were inserted or deleted) by analyzing the modified tables.

C

constructData(Object, int, String, String) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Construct instance of tested data object that can be later inserted to the database using the specifiend values.
createDataObject(DataObject) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Create data object.
createDataObjects(List) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Create list of data objects efficiently if possible.

D

DEFAULT_LOADTEST_LIST_SIZE - Static variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
How many items to use for load testing.
DEFAULT_LOADTEST_LOADTIME - Static variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
What time to retrieve page should be considered too slow and will cause given test to fail? 4 sec to load one page of list is considered slow.
DEFAULT_LOADTEST_PAGE_SIZE - Static variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
What page size should be used for load testing.
deleteData(Object, int, String, String) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Delete all instances of tested data object that were previously constructed for a specified parent using the specified prefixes for values used to populate column one and two.
deleteData(Object, int, String, String, String, boolean) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Convenience method to delete all instances of tested data object that were previously constructed for a specified parent using the specified prefixes for values used to populate column one and two.
deleteDataObject(DataObject, int) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Delete data object.
deleteDataObjects(List, int) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Deletes list of data objects efficiently if possible.
deleteLoadTestData(UserTransaction, Object[]) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Delete all data inserted for the load tests using the insertLoadTestData method.
deleteLoadTestData(UserTransaction, Object[], int) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Delete all data inserted for the load tests using the insertLoadTestData method.
deleteParent(Object, int) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
If the insertParent created any parent object then these needs to be deleted to cleanup the database.
deleteTestData(UserTransaction, Object[]) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Delete all test data inserted by insertTestData method.
doLoadTestGet(Object, int, int, int, boolean, int[], int, boolean, boolean) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Helper method to test get method of ListFactory.
doTestGet(Object, int, int, int[]) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Helper method to test get(ListOptions) method of List using the modified default list options.
doTestGetColumns(int[]) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Helper method to test getColumns method of ListDatabaseSchema.
doTestLoadPagesFromFirstToLast(Object, String) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Load test for data performance.
doTestLoadPagesFromLastToFirst(Object, String, int, boolean, boolean) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Load test for data performance.
doTestLoadPagesRandom(Object, String) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Load test for data performance.

G

getAllColumnCodes() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get codes for all columns that stores data for the tested data object.
getColumnOneCode() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get code that represents column storing the first value used to generate the tested data object.
getColumnOneValue(DataObject) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get value of the attribute represented by the first column code specified in the constructor.
getColumnTwoCode() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get code that represents column storing the second value used to generate the tested data object.
getColumnTwoValue(DataObject) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get value of the attribute represented by the second column code specified in the constructor.
getDefaultListOptions(Object) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Ge list options initialized to default values that will be used during list pattern tests.
getDefaultResultListColumnTwo() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get expected results for columns 2 if the list is sorted using this column.
getExpectedResultListColumnOne() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get expected results for columns 1 if the list is sorted using this column.
getListController() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Get list controller to use during this test.
getListDatabaseSchema() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get instance of ListDatabaseSchema able to retrieve the tested data provide and execute database specific operations.
getListDatabaseSchemaClass() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get class that implements ListDatabaseSchema interface.
getListFactory() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get instance of ListFactory able to retrieve the tested data object from the database.
getListFactoryClass() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Get class representing database specific ListFactory interface implementation for the tested data object.

I

insertData(Object, int, String, String) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Insert to the database record representing tested data object that is generated using the values specified for two columns of the data object.
insertLoadTestData(UserTransaction, int) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Insert data records for load tests if they were not inserted yet.
insertLoadTestData(UserTransaction, int, int, int, boolean) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Insert data records for load tests if they were not inserted yet.
insertMultipleData(Object, int, int, int, boolean) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Insert efficiently to the database multiple records representing tested data object that are generated using the specified values
insertParent(int, String, String) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
If the tested data object requires any kind of "parent" records, it should create them in this method using the two passed string values and return it.
insertTestData(UserTransaction) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Insert small set of data records to conduct tests with.

L

ListControllerTest - Class in org.opensubsystems.patterns.listdata.logic
Generic list controller tests that should apply to any data objects that implement the list data patter and are be accesible by pages.
ListControllerTest(String, ListDatabaseTestUtils) - Constructor for class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Constructor.
ListDatabaseFactoryTest - Class in org.opensubsystems.patterns.listdata.persist.db
Base class for classes that test functionality of classes that implement ListDatabaseFactory interface and ListDatabaseFactoryImpl class.
ListDatabaseFactoryTest(String, ListDatabaseTestUtils) - Constructor for class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Constructor with data object specific parameters
ListDatabaseTestUtils - Class in org.opensubsystems.patterns.listdata.persist.db
Class used by JUnit tests derived from ListDatabaseFactoryTest class.
ListDatabaseTestUtils(Class, Class, int[], int, int) - Constructor for class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Constructor

M

m_arrAllColumnCodes - Variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Array with codes for all columns that stores data for the tested data object.
m_clsListDatabaseSchemaClass - Variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Class that implements ListDatabaseSchema interface for the tested data object.
m_clsListFactoryClass - Variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Class representing database specific ListFactory interface implementation for the tested data object.
m_iColumnOneCode - Variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Code that represents column storing the first value used to generate the tested data object.
m_iColumnTwoCode - Variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Code that represents column storing the second value used to generate the tested data object.
m_listTestUtils - Variable in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Utility class used to generate data for controller test.
m_listTestUtils - Variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Utility class to implement helper methods for list functionality.

N

NO_PARENT - Static variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Constant used to return test data which were created without any parent.

O

org.opensubsystems.patterns.listdata.logic - package org.opensubsystems.patterns.listdata.logic
 
org.opensubsystems.patterns.listdata.persist.db - package org.opensubsystems.patterns.listdata.persist.db
 

P

printDebug(ListOptions) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Print debug info for ListOptions
printDebug(List) - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseTestUtils
Print debug infor for specified data

S

s_iLoadtestListSize - Static variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Value telling us list size for loadtests
s_iLoadtestLoadTime - Static variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Value telling us predetermined time the data in the list should be retrieved in
s_iLoadtestPageSize - Static variable in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Value telling us page size for loadtests
setUp() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Set up environment for the test case.

T

tearDown() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Restore original environment after the test case.
testGet() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Test of get(ListOptions) method of the ListFactory accessing data in database.
testGetColumns() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Test implementation of the getColumns method in the database schema.
testGetColumnsUsingId() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Some controllers needs to know the code for the ID column so they can operate properly.
testGetExactPage() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getExactPage
testGetExactPageKeepSelected() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getExactPage with keeping selected items
testGetNextPage() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getNextPage
testGetNextPageKeepSelected() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getNextPage with keeping selected items
testGetOrderAsc() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getOrder - ascending order
testGetOrderAscKeepSelected() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getOrder - ascending order keeping selected items
testGetOrderDesc() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getOrder - descending order
testGetOrderDescKeepSelected() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getOrder - descending order keeping selected items
testGetPrevPage() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getPrevPage
testGetSetFilter() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getSetFilter
testGetSetPageSize() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getSetPageSize
testGetSetPageSizeKeepSelected() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getSetPageSize keeping selected items
testGetShowList() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getShowList
testGetShowListKeepSelected() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getShowList keeping selected items
testGetShowListWithPresetSize() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getShowList
testGetShowListWithPresetSizeKeepSelected() - Method in class org.opensubsystems.patterns.listdata.logic.ListControllerTest
Test of method getShowList keeping selected items
testLoadPagesFromFirstToLast() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Test loading pages by browsing through the whole list page by page from the first to the last therefore retrieving every page of the list in sequential order.
testLoadPagesFromLastToFirst() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Test loading pages by browsing through the whole list page by page from the last to the first therefore retrieving every page of the list in sequential order and testing the retrieved data to make sure that we have retrieved the correct data.
testLoadPagesFromLastToFirstMoreSortableColumns() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Test loading pages by browsing through the whole list page by page from the last to the first therefore retrieving every page of the list in sequential order.
testLoadPagesRandom() - Method in class org.opensubsystems.patterns.listdata.persist.db.ListDatabaseFactoryTest
Test loading pages from the list by randomly selecting a page and then retrieving it.

A C D G I L M N O P S T

Copyright © 2003 - 2006 OpenSubsystems s.r.o.