Barracuda - Simple Login Test Cases
barracuda.gif (11456 bytes)This page provide a series of test cases to excercise the SimpleLogin app...
  1. Login Event - should take you to the Login screen.
  2. Bogus Event - try firing an invalid event (should redirect you to the default error screen)
  3. Non-HttpRequestEvent - try and bypass the request event API and go directly to the RenderLoginScreen handler (should redirect you to the default error screen...this is very important, because we want to ensure that we can limit which parts of our event model the outside world can get to...the RenderLoginScreen event handler assumes that certain things have already happened -- validation, authentication, etc -- people should not be able to guess their way into parts of an app. They should be forced to go through the API which we expose, in this case, events which extend from HttpRequestEvent. Consequently, the ApplicationGateway will only dispatch events that are instances of HttpRequestEvent...anything else will be dispatched as a general HttpRequestEvent, which can then be redirected appropriately.)
  4. Attempt Login (valid user/pwd) - actually try and Login using a valid user/pwd (if you've already logged in once, it'll skip this screen and take you right on in to the main screen)
  5. Attempt Login (invalid user) - actually try and Login using an invalid user (clear your session before trying this)
  6. Attempt Login (invalid pwd) - actually try and Login using an invalid pwd (clear your session before trying this)
  7. Attempt Login (generate an unexpected error) - try and Login with user='santa' to illustrate Exceptional event chaining  (clear your session before trying this)
  8. Try going to the Main Screen (w/out logging in) - shouldn't work, unless you have logged in once already
  9. Clear session information - effectively log yourself out, clearing all session information as you go. Again won't work unless you have already logged in...

For all the latest information on Barracuda, please refer to http://barracuda.enhydra.org
Questions, comments, feedback? Let us know...
Copyright 1997-2002 Lutris Technologies, Inc. All rights reserved.