org.nees.data.test
Class NFMSBackendTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.nees.data.test.NFMSTestMetaClass
              extended byorg.nees.data.test.NFMSBackendTest
All Implemented Interfaces:
junit.framework.Test

public class NFMSBackendTest
extends NFMSTestMetaClass

Author:
USER

Field Summary
 
Fields inherited from class org.nees.data.test.NFMSTestMetaClass
APPEND_FILE_COUNT_KEY, BACKEND_TESTS_ENABLED_KEY, DOWNLOADOPTIONS_COUNT, FAILED, FILE_SIZE_KEY, FTP_PASSWORD_KEY, FTP_TESTS_ENABLED_KEY, FTP_USERNAME_KEY, GENERAL_TESTS_ENABLED_KEY, GRID_FTP_TESTS_ENABLED_KEY, GRID_USER_CREDENTIAL_FILE_KEY, LOCAL_DEBUG_MODE_KEY, LOCAL_DEBUG_SESSION_USER_KEY, LOCAL_DEBUG_USER_HOME_KEY, LOCAL_FILE_TESTS_ENABLED_KEY, NFMS_FACADE_TESTS_ENABLED_KEY, NFMS_PROPERTIES_FILE_KEY, NFMS_SERVICE_URI_KEY, OK, SCRATCH_DIRECTORY_KEY, TEST_LOGICAL_NAME_KEY, TEST_NAMESPACE_KEY, TEST_PROPERTIES_FILE_KEY, UPLOADOPTIONS_COUNT_KEY, VERSION_FILE_COUNT_KEY
 
Constructor Summary
NFMSBackendTest()
          Creates a new instance of NFMSBackendTest
NFMSBackendTest(java.lang.String x)
           
 
Method Summary
protected static NFMSSession getSession()
           
static junit.framework.Test suite()
           
 void testBackendMakeUploadRequest()
           
 void testMakeDownloadRequest()
           
 void testPermanentLocationURI()
          Tests that the internal and external uris can be set.
 void testUpdateInternalAndExternalURIs()
          Tests that the internal and external uris can be set.
 
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

NFMSBackendTest

public NFMSBackendTest()
Creates a new instance of NFMSBackendTest


NFMSBackendTest

public NFMSBackendTest(java.lang.String x)
Method Detail

suite

public static junit.framework.Test suite()

testBackendMakeUploadRequest

public void testBackendMakeUploadRequest()

testUpdateInternalAndExternalURIs

public void testUpdateInternalAndExternalURIs()
Tests that the internal and external uris can be set.


testPermanentLocationURI

public void testPermanentLocationURI()
Tests that the internal and external uris can be set.


testMakeDownloadRequest

public void testMakeDownloadRequest()

getSession

protected static NFMSSession getSession()
                                 throws java.lang.Exception
Throws:
java.lang.Exception