| com.triactive.jdo.test.DatabaseTestCase com.triactive.jdo.test.PersistenceTestCase com.triactive.jdo.test.StorageTestCase
All known Subclasses: com.triactive.jdo.test.DirectSQLQueryTest, com.triactive.jdo.test.npt.NptTest, com.triactive.jdo.test.naming.DuplicateTableNamesTest, com.triactive.jdo.test.BasicStorageTest, com.triactive.jdo.test.BasicQueryTest, com.triactive.jdo.test.views.ViewTest,
StorageTestCase | abstract public class StorageTestCase extends PersistenceTestCase (Code) | | Abstract base class for all JDO unit tests that perform tests on objects
derived from
TestObject . Provides functions to create, update,
validate, and remove such objects.
author: Mike Martin version: $Revision: 1.7 $ |
TEST_OBJECT_COUNT | final protected static int TEST_OBJECT_COUNT(Code) | | |
StorageTestCase | public StorageTestCase(String name)(Code) | | Used by the JUnit framework to construct tests. Normally, programmers
would never explicitly use this constructor.
Parameters: name - Name of the TestCase. |
assertFieldsEqual | protected void assertFieldsEqual(TestObject expected, TestObject actual)(Code) | | Asserts that the persistent fields of two test objects are equal using
the compareTo() method. The equals() method cannot be
used for this purpose because, for most persistence-capable objects
(including all our test widgets), it only compares JDO identity.
Parameters: expected - An object having the expected field values. Parameters: actual - The object to compare fields against. See Also: TestObject.compareTo |
validateTransactionalRefresh | protected void validateTransactionalRefresh(Class c) throws Exception(Code) | | |
validateTransientTransactional | protected void validateTransientTransactional(Class c) throws Exception(Code) | | |
|
|