|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
umich.cac.data.test.NodesFieldTest
Tests for NodesField class.
Constructor Summary | |
NodesFieldTest(java.lang.String testName)
Constructor |
Method Summary | |
static void |
main(java.lang.String[] args)
Main - for running stand-alone test |
static junit.framework.Test |
suite()
Return a new test suite |
void |
testExampleInput()
Test a complicated example that has hosts with various properties |
void |
testHostnameWithPPN()
I have found this case in an accounting example sent to me that has the host:ppn=number of nodes instead of 2:ppn=2 |
void |
testNodes()
Test just plain node number |
void |
testNodesFieldWithGlobalPropertiesAndProperties()
Test that the User field properly renders XML |
void |
testNodesFieldWithPPN()
Test with the PPN property, which is converted to attribute |
void |
testNodesWithShared()
Test with a shared global property |
void |
testPlusSeparatedListOfHosts()
hosts are separated by +'s in the accounting file |
void |
testSingleNode()
Test with the nodes=comma separated list of nodes |
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 NodesFieldTest(java.lang.String testName)
testName
- name of test suiteMethod Detail |
public static void main(java.lang.String[] args)
args
- command line argumentspublic static junit.framework.Test suite()
public void testSingleNode()
public void testNodesFieldWithPPN()
public void testNodesWithShared()
public void testNodes()
public void testPlusSeparatedListOfHosts()
public void testExampleInput()
public void testHostnameWithPPN()
public void testNodesFieldWithGlobalPropertiesAndProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |