|
||||||||||
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
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
public void testGetRepositoryForPackage() throws java.lang.Exception
java.lang.Exception
public void testVersionCompare() throws java.lang.Exception
java.lang.Exception
public void testPersistence() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |