class: TestLoginLogout

public class: TestLoginLogout
Author: Peter (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 314 $ $LastChangedDate: 2007-11-07 13:1; Complexity: 1
Dates: Created: 16.07.2009 15:16:49; Modified: 16.07.2009 15:16:49;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {3FD0DC39-723B-4147-A917-0A93CACB95CF}
Testcases for the authentification service of the framework.
 

Goto: Custom Properties, Fields, Methods

Appears in: aa

Custom Properties
 
TestLoginLogout Attributes
Attribute Details
private static Logger
  logger
Initial: Logger.getLogger(TestLoginLogout.class)
private static const String
  LOGIN_URL
Initial: "/aa/j_spring_security_check"
private static const int
  NUMBER_OF_URL_TOKENS
Initial: 2
protected static const String
  PROPERTY_PASSWORD_ADMIN
Initial: "framework.admin.password"
protected static const String
  PROPERTY_PASSWORD_AUTHOR
Initial: "framework.author.password"
protected static const String
  PROPERTY_PASSWORD_LIBRARIAN
Initial: "framework.librarian.password"
protected static const String
  PROPERTY_PASSWORD_SCIENTIST
Initial: "framework.scientist.password"
protected static const String
  PROPERTY_USERNAME_ADMIN
Initial: "framework.admin.username"
protected static const String
  PROPERTY_USERNAME_AUTHOR
Initial: "framework.author.username"
protected static const String
  PROPERTY_USERNAME_LIBRARIAN
Initial: "framework.librarian.username"
protected static const String
  PROPERTY_USERNAME_SCIENTIST
Initial: "framework.scientist.username"
 
TestLoginLogout Methods
Operation Details
public
login():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Logs the default user in.
public
loginTwice():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Logs the default user in twice.
private static
loginUser(
   String userid,
   String password):String
Sequential
Tags: throws=ServiceException,HttpException,IOException,URISyntaxException
public
logout():void
Sequential
Tags: annotations=@Test
throws=Exception
Notes: Logs the default user in and out.