| com.methodhead.test.DbTestCase
All known Subclasses: com.methodhead.property.PropertyTest, com.methodhead.shim.SiteMapTreeTest, com.methodhead.shim.PanelTest, com.methodhead.shim.PanelConfigTest, com.methodhead.persistable.KeyedPersistableTest, com.methodhead.persistable.PersistableTest, com.methodhead.aikp.AutoIntKeyPersistableTest, com.methodhead.tree.FoldingTreeNodeTest, com.methodhead.tree.ServerTreeRendererTest, com.methodhead.sitecontext.SiteContextTest, com.methodhead.event.EventTest,
DbTestCase | public class DbTestCase extends TestCase (Code) | | A test case that provides some convenience methods for database access,
looking for configuration information in the file db.properties in
the current working directory. The properties driver (e.g,
org.postgresql.Driver), uri (e.g.,
jdbc:postgresql:yourdatabase), user, and password
are read.
|
Method Summary | |
protected static void | assertDatesEqual(Date expected, Date actual) Compares two dates for equality to second precision. | public static void | setLogLevel(Level level) Sets up a FileAppender with a SimpleLayout with the
specified level. |
assertDatesEqual | protected static void assertDatesEqual(Date expected, Date actual)(Code) | | Compares two dates for equality to second precision.
|
setLogLevel | public static void setLogLevel(Level level)(Code) | | Sets up a FileAppender with a SimpleLayout with the
specified level.
|
|
|