|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.sdsc.inca.agent.RepositoryCacheTest
public class RepositoryCacheTest
Created by IntelliJ IDEA.
| Field Summary | |
|---|---|
static java.lang.String |
cacheLocation
|
static java.lang.String |
repositoryLocation
|
| Constructor Summary | |
|---|---|
RepositoryCacheTest()
|
|
| Method Summary | |
|---|---|
static RepositoryCache |
createSampleRepositoryCache(edu.sdsc.inca.repository.Repositories repositories)
Create a local repository cache using selected reporters from the supplied repository |
static edu.sdsc.inca.repository.Repositories |
setupRepository()
Setup a repositories object to a local repository |
void |
testFetch()
Test ability to fetch packages from a repository |
void |
testGetPackage()
Test ability to get package info and content once fetched |
void |
testParsePackage()
Test ability to convert package name into file |
void |
testPython()
Test python module detection method |
void |
testRepo()
Test ability to create a repository cache from a repository |
void |
testUpdate()
Test ability to update packages in repository cache |
| 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 |
| Field Detail |
|---|
public static final java.lang.String repositoryLocation
public static final java.lang.String cacheLocation
| Constructor Detail |
|---|
public RepositoryCacheTest()
| Method Detail |
|---|
public static RepositoryCache createSampleRepositoryCache(edu.sdsc.inca.repository.Repositories repositories)
throws java.io.IOException
repositories - A Inca package repository
java.io.IOException - if unable to create repository cache
public static edu.sdsc.inca.repository.Repositories setupRepository()
throws java.lang.Exception
java.lang.Exception - if trouble setting up repository
public void testFetch()
throws java.lang.Exception
java.lang.Exception - if trouble running test
public void testGetPackage()
throws java.lang.Exception
java.lang.Exception - if trouble running test
public void testParsePackage()
throws java.lang.Exception
java.lang.Exception - if trouble running test
public void testPython()
throws java.lang.Exception
java.lang.Exception - if trouble running test
public void testRepo()
throws java.lang.Exception
java.lang.Exception
public void testUpdate()
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 | ||||||||