|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
jpl.pds.server.LabelQueryHandlerTest
public class LabelQueryHandlerTest
Unit tests for LabelQueryHandler
.
Field Summary | |
---|---|
protected static String |
LABEL_FILE_NAME
Name of label file. |
protected File |
labelFile
Temporary label file for testing. |
protected File |
tempDir
Temporary product dir for testing. |
protected static String[] |
TEST_FILES
Name of test files. |
protected File[] |
testFiles
Temporary test data files for testing. |
Constructor Summary | |
---|---|
LabelQueryHandlerTest(String name)
Creates a new LabelQueryHandlerTest instance. |
Method Summary | |
---|---|
protected jpl.eda.xmlquery.XMLQuery |
createQuery(String filename)
Create an XML query for a named file. |
void |
setUp()
|
void |
tearDown()
|
void |
testHandler()
Test the label query handler. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected File tempDir
protected File labelFile
protected File[] testFiles
protected static final String LABEL_FILE_NAME
protected static final String[] TEST_FILES
Constructor Detail |
---|
public LabelQueryHandlerTest(String name)
LabelQueryHandlerTest
instance.
name
- a String
value.Method Detail |
---|
public void testHandler() throws jpl.eda.product.ProductException
jpl.eda.product.ProductException
- if an error occurs.public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected jpl.eda.xmlquery.XMLQuery createQuery(String filename)
filename
- Name of file.
XMLQuery
value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |