|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.hackystat.sensorshell.usermap.TestUserMap
public class TestUserMap
A test case class to test the UserMap class. It makes sure that instantiation, and therefore formatting of the UserMap.xml file, is done correctly. It also ensures that it correctly provides its core functionality by testing to see that it gives back a dummy Hackystat value for a given dummy tool account.
Constructor Summary | |
---|---|
TestUserMap()
|
Method Summary | |
---|---|
void |
testCaseInsensitiveRetrievals()
Test that the tool and toolaccount in the user map are case-insensitive on retrieval. |
void |
testMap()
Test the UserMap class and the formatting of the UserMap.xml. |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestUserMap()
Method Detail |
---|
public void testMap() throws java.lang.Exception
java.lang.Exception
- if errors occur.public void testCaseInsensitiveRetrievals() throws java.lang.Exception
java.lang.Exception
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |