org.systemsbiology.gaggle.experiment.repository.unitTests
Class ExperimentRepositoryTest
java.lang.Object
TestCase
org.systemsbiology.gaggle.experiment.repository.unitTests.ExperimentRepositoryTest
public class ExperimentRepositoryTest
- extends TestCase
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExperimentRepositoryTest
public ExperimentRepositoryTest()
testExtractFilenamesFromWebPage
public void testExtractFilenamesFromWebPage()
throws java.lang.Exception
- apache and tomcat render directory listings differently. this test make sure that
the parsing class, HttpdirectRepository.getExperimentNames (), can handle both equally well.
- Throws:
java.lang.Exception
testDirectoryRepository
public void testDirectoryRepository()
throws java.lang.Exception
- Throws:
java.lang.Exception
testHttpDirectExplicitXmlFileRepository
public void testHttpDirectExplicitXmlFileRepository()
throws java.lang.Exception
- Throws:
java.lang.Exception
testHttpDirectDirectoryRepository
public void testHttpDirectDirectoryRepository()
throws java.lang.Exception
- Throws:
java.lang.Exception
notestSingleFileAsRepository
public void notestSingleFileAsRepository()
throws java.lang.Exception
- Throws:
java.lang.Exception
notestWebDirectRepository
public void notestWebDirectRepository()
throws java.lang.Exception
- Throws:
java.lang.Exception
notestWebIndirectRepositoryWithUserPasswordFromPropsFile
public void notestWebIndirectRepositoryWithUserPasswordFromPropsFile()
throws java.lang.Exception
- a file 'gaggle.props' must provide user and password.
this file may be in the current working directory, or in the user's
home directory. for this test, these values are used:
user=tester0
password=pw0
these match user and password info found in two files in the repository:
db.unitTests> grep sample ~/halo/data/.permissions
sample: tester0
db.unitTests> grep tester0 ~/halo/data/.passwd
tester0: pw0
- Throws:
java.lang.Exception
notestWebIndirectRepositoryWithExplicitIncorrectPassword
public void notestWebIndirectRepositoryWithExplicitIncorrectPassword()
throws java.lang.Exception
- Throws:
java.lang.Exception
notestWebIndirectRepositoryWithExplicitUserPassword
public void notestWebIndirectRepositoryWithExplicitUserPassword()
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)