org.finj
Class FinjTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.finj.FinjTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BrowsingTest, ConnectionTest, DataTest, InformationTest, MiscellaneousTest, ObserverTest

public class FinjTestCase
extends junit.framework.TestCase

Mother of all other test classes, that offers the basic launcheable functionalities.

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

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

Field Summary
protected  FTPClientTest client
           
 
Constructor Summary
FinjTestCase(java.lang.String name)
           
 
Method Summary
 java.io.InputStream getResource(java.lang.String path)
           
protected  void setUp()
           
protected  void tearDown()
           
 void 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
 

Field Detail

client

protected FTPClientTest client
Constructor Detail

FinjTestCase

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

setUp

protected void setUp()
              throws java.io.IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.io.IOException
Since:
v1.0.2

tearDown

protected void tearDown()
                 throws java.io.IOException
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.io.IOException
Since:
v1.0.2

getResource

public java.io.InputStream getResource(java.lang.String path)
Since:
v1.0.2

testIgnore

public void testIgnore()
Since:
v1.0.2


Copyright © 2009. All Rights Reserved.