org.finj
Class DataTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.finj.FinjTestCase
              extended by org.finj.DataTest
All Implemented Interfaces:
junit.framework.Test

public class DataTest
extends FinjTestCase

Tests functionalities related to data handling in FTP commands.

Copyright (C) 2000-2008 Javier Iglesias.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Version:
$Id: DataTest.java 47 2008-01-11 23:09:46Z jiglesias $
Author:
Javier Iglesias -- jiglesias@users.sourceforge.net

Field Summary
 
Fields inherited from class org.finj.FinjTestCase
client
 
Constructor Summary
DataTest(java.lang.String name)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testDeleteFile()
           
 void testDownloadTransfer()
           
 void testSpacedFileNames()
           
 void testUploadAppendTransfer()
           
 void testUploadCreateTransfer()
           
 void testUploadUniqueTransfer()
           
 
Methods inherited from class org.finj.FinjTestCase
getResource, setUp, tearDown, testIgnore
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

DataTest

public DataTest(java.lang.String name)
Since:
v1.0.2
Method Detail

suite

public static junit.framework.Test suite()
Since:
v1.0.2

testUploadCreateTransfer

public void testUploadCreateTransfer()
                              throws java.lang.Exception
Throws:
java.lang.Exception
Since:
v1.0.2

testUploadAppendTransfer

public void testUploadAppendTransfer()
                              throws java.lang.Exception
Throws:
java.lang.Exception
Since:
v1.0.2

testDeleteFile

public void testDeleteFile()
                    throws java.lang.Exception
Throws:
java.lang.Exception
Since:
v1.0.2

testUploadUniqueTransfer

public void testUploadUniqueTransfer()
                              throws java.lang.Exception
Throws:
java.lang.Exception
Since:
v1.0.2

testDownloadTransfer

public void testDownloadTransfer()
                          throws java.lang.Exception
Throws:
java.lang.Exception
Since:
v1.0.2

testSpacedFileNames

public void testSpacedFileNames()
                         throws java.lang.Exception
Throws:
java.lang.Exception
Since:
v1.0.2


Copyright © 2009. All Rights Reserved.