ByteRangeListTest (Java Globus API)

org.globus.ftp.test
Class ByteRangeListTest

java.lang.Object
  |
  +--TestCase
        |
        +--org.globus.ftp.test.ByteRangeListTest

public class ByteRangeListTest
extends TestCase

Test ByteRangeList

See Also:
Serialized Form

Constructor Summary
ByteRangeListTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] argv)
           
static Test suite()
           
 void test1()
          Test merging ByteRange to ByteRangeList.
 void test2()
          real case (taken from transfer of 500 MB)
 void test3()
          Ad hoc tests of interesting merge cases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteRangeListTest

public ByteRangeListTest(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] argv)

suite

public static Test suite()

test1

public void test1()
Test merging ByteRange to ByteRangeList. Systematic test of most cases. Tests merge() and toFtpCmdArgument(). Assure that merge() does not modify parameter objects.


test2

public void test2()
real case (taken from transfer of 500 MB)


test3

public void test3()
Ad hoc tests of interesting merge cases. Test merging several ranges into 1 list. Test merge() and toFtpCmdArgument().