|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase net.sourceforge.jtds.jdbc.TestBase net.sourceforge.jtds.jdbc.DatabaseTestCase net.sourceforge.jtds.jdbc.UnitTestBase net.sourceforge.jtds.jdbc.MessagesPropertiesUnitTest.TestPropertyHasDescription
Tests that a given property key has a matching description key in
Messages.properties
.
Field Summary | |
private java.util.ResourceBundle |
messages
|
private java.lang.String |
property
|
Fields inherited from class net.sourceforge.jtds.jdbc.DatabaseTestCase |
|
Fields inherited from class net.sourceforge.jtds.jdbc.TestBase |
con, props |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
MessagesPropertiesUnitTest.TestPropertyHasDescription(java.lang.String property,
java.util.ResourceBundle messages)
Constructor. |
Method Summary | |
protected void |
runTest()
Runs the test that a given property key has a matching description key in Messages.properties . |
static junit.framework.Test |
suite()
Provides a null test suite so that JUnit will not try to instantiate this class directly. |
Methods inherited from class net.sourceforge.jtds.jdbc.UnitTestBase |
assertEquals, invokeConstructor, invokeGetInstanceField, invokeInstanceMethod, invokeSetInstanceField, invokeStaticMethod, ucFirst |
Methods inherited from class net.sourceforge.jtds.jdbc.DatabaseTestCase |
compareBytes, getLongString, getLongString, getType, getTypemap |
Methods inherited from class net.sourceforge.jtds.jdbc.TestBase |
compareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final java.util.ResourceBundle messages
private final java.lang.String property
Constructor Detail |
public MessagesPropertiesUnitTest.TestPropertyHasDescription(java.lang.String property, java.util.ResourceBundle messages)
property
- The property name to test.messages
- The resource bundle containing all of the messages.Method Detail |
public static final junit.framework.Test suite()
null
).protected void runTest() throws java.lang.Throwable
Messages.properties
.
java.lang.Throwable
- on error.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |