net.sf.taverna.raven.repository.impl
Class LocalRepositoryTest
java.lang.Object
net.sf.taverna.raven.repository.impl.LocalRepositoryTest
public class LocalRepositoryTest
- extends java.lang.Object
- Author:
- Tom Oinn, Stian Soiland-Reyes
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalRepositoryTest
public LocalRepositoryTest()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
createTempDirectory
public static java.io.File createTempDirectory()
throws java.io.IOException
- Throws:
java.io.IOException
addArtifact
public void addArtifact()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
cleanEmpty
public void cleanEmpty()
createEmpty
public void createEmpty()
didntMadeLocalJarFile
public void didntMadeLocalJarFile()
throws ArtifactNotFoundException,
ArtifactStateException,
java.lang.ClassNotFoundException,
java.io.IOException
- Should not copy from file:/// repositories. Assumes
$HOME/.m2/repositories have junit/junit/4.0, as needed for these tests.
Test will abort if this is not so.
- Throws:
ArtifactStateException
ArtifactNotFoundException
java.lang.ClassNotFoundException
java.io.IOException
getLoader
public void getLoader()
throws java.net.MalformedURLException,
java.lang.ClassNotFoundException,
ArtifactNotFoundException,
ArtifactStateException
- Throws:
java.net.MalformedURLException
java.lang.ClassNotFoundException
ArtifactNotFoundException
ArtifactStateException
madeLocalJarFile
public void madeLocalJarFile()
throws ArtifactNotFoundException,
ArtifactStateException,
java.io.IOException
- Throws:
ArtifactNotFoundException
ArtifactStateException
java.io.IOException
repositoryWithExistingContents
public void repositoryWithExistingContents()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
setUp
public void setUp()
throws java.io.IOException
- Throws:
java.io.IOException
tearDown
public void tearDown()
testPrependRemoteRepository
public void testPrependRemoteRepository()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRepository
public void testRepository()
update
public void update()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
updateWithDots
public void updateWithDots()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
updateWithPackageOnlyPom
public void updateWithPackageOnlyPom()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException