|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.sdsc.inca.util.SuiteWrapperTest
public class SuiteWrapperTest
Tests the SuiteWrapper class
| Constructor Summary | |
|---|---|
SuiteWrapperTest()
|
|
| Method Summary | |
|---|---|
static SuiteWrapper |
createSampleSuite(Repositories repositories)
Creates a suite with the following reporters: gcc version reporter running on resource teragrid myproxy unit reporter running on resource teragrid gatekeeper unit reporter running on resource teragrid tgcp unit reporter running on resource teragrid |
static SuiteWrapper |
createSampleSuiteModification(Repositories repos)
Creates a suite with the following reporters: deletes gcc version reporter running on resource teragrid adds gcc version reporter running on resource sdsc deletes myproxy unit reporter running on resource teragrid |
static void |
resolveReporterNames(SuiteWrapper suite,
Repositories repositories)
Replace the reporter names with reporter uris. |
void |
testBlankSuite()
Test good behavior when dealing with a blank suite |
void |
testChangeAction()
test the changeAction function |
void |
testDiff()
Test the diff function |
void |
testHasRunNowMatch()
test the mergeSeriesConfig function |
void |
testMergeSeriesConfig()
test the mergeSeriesConfig function |
void |
testRemoveSeriesConfig()
test the removeSeriesConfig function |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 SuiteWrapperTest()
| Method Detail |
|---|
public static SuiteWrapper createSampleSuite(Repositories repositories)
throws org.apache.xmlbeans.XmlException,
ConfigurationException
repositories - The repository that contains listed reporters
ConfigurationException - if unable to resolve reporters
org.apache.xmlbeans.XmlException - if unable to create sample suite
public static SuiteWrapper createSampleSuiteModification(Repositories repos)
throws org.apache.xmlbeans.XmlException,
ConfigurationException
repos - The repository that contains listed reporters
ConfigurationException - if unable to resolve reporters
org.apache.xmlbeans.XmlException - if unable to create suite
public void testBlankSuite()
throws java.lang.Exception
java.lang.Exception - if problem running test
public void testChangeAction()
throws java.lang.Exception
java.lang.Exception - if problem running test
public void testDiff()
throws java.lang.Exception
java.lang.Exception - if problem running test
public static void resolveReporterNames(SuiteWrapper suite,
Repositories repositories)
throws ConfigurationException
suite - A suite containing reporter names.repositories - Where to pick up reporter uris.
ConfigurationException - if unable to resolve reporters
public void testHasRunNowMatch()
throws java.lang.Exception
java.lang.Exception - if problem running test
public void testMergeSeriesConfig()
throws java.lang.Exception
java.lang.Exception - if problem running test
public void testRemoveSeriesConfig()
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 | ||||||||