|
||||||||||
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.util.ResourcesWrapperTest
A tester class for ResourcesWrapper. Tests constructor and getValue(s). User: ssmallen
Constructor Summary | |
ResourcesWrapperTest()
|
Method Summary | |
static ResourcesWrapper |
createSampleResources()
Returns a sample resource configuration file that can be used in tests. |
void |
testConstructorAndSave()
Test the constructor and save/read capabilities |
void |
testEnvironVars()
Test the ability to properly expand macros with $ in the value |
void |
testEscape()
Test the ability to properly escape XML |
void |
testExpand()
Test ability to expand macros |
void |
testGetResources()
Test getResources |
void |
testGetResourcesByXpath()
Test getResources by xpath |
void |
testGetValues()
Test getValue[s] |
void |
testHostEquivalence()
Test getResources using host equivalence |
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 ResourcesWrapperTest()
Method Detail |
public static ResourcesWrapper createSampleResources() throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlException
public void testConstructorAndSave() throws java.lang.Exception
java.lang.Exception
public void testEnvironVars() throws java.lang.Exception
java.lang.Exception
public void testEscape() throws java.lang.Exception
java.lang.Exception
public void testExpand() throws java.lang.Exception
java.lang.Exception
public void testGetResources() throws java.lang.Exception
java.lang.Exception
public void testGetResourcesByXpath() throws java.lang.Exception
java.lang.Exception
public void testGetValues() throws java.lang.Exception
java.lang.Exception
public void testHostEquivalence() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |