org.melati.login.test
Class HttpBasicAuthenticationAccessHandlerTest

Package class diagram package HttpBasicAuthenticationAccessHandlerTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.poem.test.PoemTestCase
              extended by org.melati.login.test.AccessHandlerTestAbstract
                  extended by org.melati.login.test.HttpBasicAuthenticationAccessHandlerTest
All Implemented Interfaces:
junit.framework.Test

public class HttpBasicAuthenticationAccessHandlerTest
extends AccessHandlerTestAbstract

Author:
timp

Field Summary
 
Fields inherited from class org.melati.login.test.AccessHandlerTestAbstract
aml, it, m, mc, ml, templateEngine
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
HttpBasicAuthenticationAccessHandlerTest(String name)
           
 
Method Summary
 void setAccessHandler()
          Create the AccessHandler and set its input stream.
 void setUp()
           
 void testEstablishUserFromRequestWrongMethod()
          Test method for AccessHandler.establishUser(Melati).
 
Methods inherited from class org.melati.login.test.AccessHandlerTestAbstract
melatiConfig, tearDown, testBuildRequest, testEstablishUser, testHandleAccessException
 
Methods inherited from class org.melati.poem.test.PoemTestCase
assertEquals, assertEquals, assertEquals, checkColumns, checkDbUnchanged, checkTables, checkTablesAndColumns, databaseUnchanged, dropTable, dumpTable, getDatabase, getDatabaseName, getDb, getDb, getName, getOrDie, getProperties, getPropertiesFileName, getUserToRunAs, run, runTest, setDatabaseName, setName, setPropertiesFileName, setUserToRunAs, testNothing
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runBare, 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, 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
 
Methods inherited from interface junit.framework.Test
countTestCases
 

Constructor Detail

HttpBasicAuthenticationAccessHandlerTest

public HttpBasicAuthenticationAccessHandlerTest(String name)
Parameters:
name -
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AccessHandlerTestAbstract
Throws:
Exception
See Also:
TestCase.setUp()

setAccessHandler

public void setAccessHandler()
Create the AccessHandler and set its input stream.

Specified by:
setAccessHandler in class AccessHandlerTestAbstract
See Also:
AccessHandlerTestAbstract.setAccessHandler()

testEstablishUserFromRequestWrongMethod

public void testEstablishUserFromRequestWrongMethod()
Test method for AccessHandler.establishUser(Melati).



Copyright © 2000-2010 PanEris. All Rights Reserved.