org.sadun.util.test
Class UnixLoginHandlerTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.sadun.util.test.UnixLoginHandlerTest
All Implemented Interfaces:
junit.framework.Test

public class UnixLoginHandlerTest
extends junit.framework.TestCase

Author:
Cristiano Sadun

Constructor Summary
UnixLoginHandlerTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCorrectLogin()
           
 void testIncorrectLogin()
           
 
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

UnixLoginHandlerTest

public UnixLoginHandlerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

testCorrectLogin

public void testCorrectLogin()
                      throws java.io.IOException,
                             OperationTimedoutException,
                             UnixLoginHandler.LoginIncorrectException
Throws:
java.io.IOException
OperationTimedoutException
UnixLoginHandler.LoginIncorrectException

testIncorrectLogin

public void testIncorrectLogin()
                        throws java.io.IOException,
                               OperationTimedoutException
Throws:
java.io.IOException
OperationTimedoutException

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception