org.edg.data.reptor.test
Class ReplicaManagerSuite

java.lang.Object
  extended byorg.edg.data.reptor.test.ReplicaManagerSuite

public class ReplicaManagerSuite
extends java.lang.Object

Replica Manager test suite. The following test suite does function and integration tests. It calls each of the API methods and tests several options. The Integretion tests check the following components: - Replica Location Service - Replica Metadata Catalogue - Replica Optimization Service - Information Service (correct class has to be selected in the file edg-replica-manager.conf) - Storage Elements

Version:
$Id: ReplicaManagerSuite.java,v 1.14 2004/05/13 10:31:49 jamesc Exp $
Author:
Heinz Stockinger

Constructor Summary
ReplicaManagerSuite(java.lang.String vo)
          Constructor
 
Method Summary
 boolean getSEfromInfoService()
          get SEs from the Infomation Service
 void runTests(boolean printResults, boolean log)
          run all tests and print the result on the screen
 void setSEs(java.lang.String se1, java.lang.String se2)
          set SEs
 boolean testCopyAndRegisterFile(boolean lfn)
           
 boolean testCopyFile()
          test simple file transfers
 boolean testDeleteFile()
           
 boolean testGetBestFile()
           
 boolean testGetTurl()
           
 boolean testListBestFile()
           
 boolean testListReplicas()
          test for list Replicas
 boolean testRegisterFile()
           
 boolean testReplicateFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicaManagerSuite

public ReplicaManagerSuite(java.lang.String vo)
Constructor

Parameters:
vo - VO to be used
Method Detail

getSEfromInfoService

public boolean getSEfromInfoService()
get SEs from the Infomation Service


setSEs

public void setSEs(java.lang.String se1,
                   java.lang.String se2)
set SEs


runTests

public void runTests(boolean printResults,
                     boolean log)
run all tests and print the result on the screen


testCopyFile

public boolean testCopyFile()
test simple file transfers


testRegisterFile

public boolean testRegisterFile()

testListReplicas

public boolean testListReplicas()
test for list Replicas


testReplicateFile

public boolean testReplicateFile()

testListBestFile

public boolean testListBestFile()

testGetBestFile

public boolean testGetBestFile()

testGetTurl

public boolean testGetTurl()

testDeleteFile

public boolean testDeleteFile()

testCopyAndRegisterFile

public boolean testCopyAndRegisterFile(boolean lfn)