Until last week this simple test down below succeeded. Now it fails.
Could someone please check what has changed. Thanks

Juergen

PS: I think it is good practice to run the junit tests before
commiting to make sure that the change doesn't have any unwanted side
effects.


       public void testRedirect()
        {
                final WicketTester tester = new WicketTester();
                final IAuthorizationStrategy authorizationStrategy = new
SimplePageAuthorizationStrategy(
                                RedirectPage.class, LoginPage.class)
                {
                        @Override
                        protected boolean isAuthorized()
                        {
                                return false;
                        }
                };

                
tester.getSecuritySettings().setAuthorizationStrategy(authorizationStrategy);

                tester.startPage(RedirectPage.class);
                tester.assertRenderedPage(LoginPage.class);
      }

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to