|
|||||||||
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 edu.sdsc.inca.consumer.DepotQueryTest
public class DepotQueryTest
Tests the DepotQuery class.
Constructor Summary | |
---|---|
DepotQueryTest()
|
Method Summary | |
---|---|
static long |
getAndVerifyResult(java.lang.String result)
Verify the result is not null and contains a timestamp and return it. |
void |
setUp()
|
void |
testCache()
Test caching abilities. |
void |
testFile()
Test filename translation |
void |
testQueryCast()
Test query casting function |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 |
Constructor Detail |
---|
public DepotQueryTest()
Method Detail |
---|
public static long getAndVerifyResult(java.lang.String result)
result
- A string containing the result of a query.
public void setUp()
setUp
in class junit.framework.TestCase
public void testCache() throws java.lang.Exception
java.lang.Exception
- if problem running testpublic void testFile() throws java.lang.Exception
java.lang.Exception
- if problem running testpublic void testQueryCast() throws java.lang.Exception
java.lang.Exception
- if problem running test
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |