|
|||||||||
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.repository.RepositoriesTest
public class RepositoriesTest
Some testing of Repositories. More testing resides in AgentClientTest and some of those should be moved over eventually.
Constructor Summary | |
---|---|
RepositoriesTest()
|
Method Summary | |
---|---|
static Repositories |
createSampleRepository(java.lang.String dirPath)
Create a small repository which can be used in testing. |
void |
testGetRepositoryForPackage()
Test function getRepositoryForPackage |
void |
testPersistence()
Test constructor and save |
void |
testVersionCompare()
Test ability to compare versions |
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 RepositoriesTest()
Method Detail |
---|
public static Repositories createSampleRepository(java.lang.String dirPath) throws java.lang.Exception
dirPath
- Specify a directory for the repository. If null a
temporary directory will be used.
java.lang.Exception
- if unable to create repositorypublic void testGetRepositoryForPackage() throws java.lang.Exception
java.lang.Exception
- if trouble running testpublic void testVersionCompare() throws java.lang.Exception
java.lang.Exception
- if trouble running testpublic void testPersistence() throws java.lang.Exception
java.lang.Exception
- if trouble running test
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |