|
|||||||||
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.depot.persistent.PersistentTest edu.sdsc.inca.depot.commands.InsertTest
public class InsertTest
User: cmills Date: Mar 24, 2005 Time: 3:25:08 PM For now this class is just required to be able to have the following conversation REPORT SP bogus.name CRLF STDOUT SP {xml data} CRLF SYSUSAGE SP ignored CRLF
This implies that the depot will be able to injest a report that has no errors.
Nested Class Summary | |
---|---|
static class |
InsertTest.ModifyingFilter
|
static class |
InsertTest.SuppressingFilter
|
static class |
InsertTest.TestReportFilter
|
Field Summary | |
---|---|
static java.lang.String |
CRLF
|
Fields inherited from class edu.sdsc.inca.depot.persistent.PersistentTest |
---|
logger |
Constructor Summary | |
---|---|
InsertTest()
|
Method Summary | |
---|---|
void |
testDuplicateInsert()
|
void |
testEquivalentConfigs()
Tests that Insert picks up CRs from equivalent series configs. |
void |
testInvalidXml()
Tests a malformed report. |
void |
testLongLog()
Tests an excessive report log section. |
void |
testNoArgs()
Tests a series w/no arguments. |
void |
testOutOfOrder()
Tests what happens when reports arrive out-of-order. |
void |
testReportFilter()
|
void |
testWithClassNotifier()
Tests backward compatibility for notifiers that specify a Java class. |
void |
testWithComparitor()
Tests reports for a SeriesConfig that includes a comparitor. |
void |
testWithLogNotifier()
Tests reports for a SeriesConfig that includes a log notifier. |
void |
testWithScriptNotifier()
Tests reports for a SeriesConfig that includes a script notifier. |
Methods inherited from class edu.sdsc.inca.depot.persistent.PersistentTest |
---|
setUp, tearDown |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CRLF
Constructor Detail |
---|
public InsertTest()
Method Detail |
---|
public void testDuplicateInsert() throws java.lang.Exception
java.lang.Exception
public void testWithComparitor() throws java.lang.Exception
java.lang.Exception
public void testWithLogNotifier() throws java.lang.Exception
java.lang.Exception
public void testWithClassNotifier() throws java.lang.Exception
java.lang.Exception
public void testEquivalentConfigs() throws java.lang.Exception
java.lang.Exception
public void testWithScriptNotifier() throws java.lang.Exception
java.lang.Exception
public void testInvalidXml() throws java.lang.Exception
java.lang.Exception
public void testNoArgs() throws java.lang.Exception
java.lang.Exception
public void testLongLog() throws java.lang.Exception
java.lang.Exception
public void testReportFilter() throws java.lang.Exception
java.lang.Exception
public void testOutOfOrder() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |