|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.nees.data.test.NFMSTestMetaClass
org.nees.data.test.NFMSSessionTest
org.nees.data.test.NFMSGeneralTest
| Field Summary |
| Constructor Summary | |
NFMSGeneralTest()
Creates a new instance of NFMSGeneralTest |
|
NFMSGeneralTest(java.lang.String x)
|
|
| Method Summary | |
static junit.framework.Test |
suite()
|
void |
testArbitraryPathLogicalName()
|
void |
testBadDownloadAbort()
|
void |
testBadDownloadComplete()
Bad upload complete call. |
void |
testBadProtocol()
This will attempt to upload a file using an illegal protocol (we have illegal characters in this protocol, so we know it is never valid). |
void |
testBadUploadAbort()
|
void |
testBadUploadComplete()
Bad upload complete call. |
void |
testDeleteFile()
This test will place a new file on the server and delete it. |
void |
testGetBadFileVersion()
Now we check that putting a file and querying NFMS will give us the right version. |
void |
testGetDeletedFileVersion()
This test puts a file, deletes it then asks if the version is available. |
void |
testGetFileVersion()
Now we check that putting a file and querying NFMS will give us the right version. |
void |
testLongLogicalName()
|
void |
testNonRelativePathLogicalName()
This tests that NFMS can resolve a logical name local to the repository. |
void |
testNoUploadMade()
Bad upload complete: Here a request is made but no file is uploaded before the upload complete command is issued. |
void |
testServerSideAppend_NoVersion()
|
void |
testServerSideAppend_WithVersion()
THis test will upload two files then append one to the other, versioning the original. |
void |
testServerSideCopy()
|
void |
testServerSideCopyNewVersion()
Checks that overwriting an existing file on a server-side copy fails when requested to do so. |
void |
testServerSideCopyNoOverwrite_NoAppend()
Now we test that having a file on the server and specifying no overwrite and no append fails. |
void |
testServerSideCopyNoOverwrite()
Checks that overwriting an existing file on a server-side copy fails when requested to do so. |
void |
testServerSideCopyOverwrite()
The next test will check that putting up a couple of files and copying one to the other replaces the second by the first with no versioning. |
void |
testUploadAbort()
|
| Methods inherited from class org.nees.data.test.NFMSSessionTest |
downloadLocalFile, getNFMS, localFileTransfer, startLocalFileDownload, startLocalFileUpload, uploadLocalFile, uploadLocalFile |
| Methods inherited from class org.nees.data.test.NFMSTestMetaClass |
getAssumedAuthenticIdentity, getBackend, getBootstrapper, getFTU, getGridID, getLocalNFMS, getNFMSProperties, getRepoRootDirURI, getScratchDir, getTestProperties, getUserDirURI, makeLogicalName, report, report |
| 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 NFMSGeneralTest()
public NFMSGeneralTest(java.lang.String x)
| Method Detail |
public static junit.framework.Test suite()
public void testServerSideCopy()
public void testServerSideCopyNoOverwrite()
public void testServerSideCopyNewVersion()
public void testServerSideCopyOverwrite()
public void testServerSideCopyNoOverwrite_NoAppend()
public void testServerSideAppend_NoVersion()
public void testServerSideAppend_WithVersion()
public void testDeleteFile()
public void testGetDeletedFileVersion()
public void testGetFileVersion()
public void testGetBadFileVersion()
public void testBadProtocol()
Expected behavior - NFMS will throw a server-side exception.
public void testBadUploadComplete()
public void testBadDownloadComplete()
public void testUploadAbort()
public void testBadUploadAbort()
public void testBadDownloadAbort()
public void testNoUploadMade()
Expected behavior - NFMS should throw an exception.
public void testArbitraryPathLogicalName()
public void testLongLogicalName()
public void testNonRelativePathLogicalName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||