User: starksm 
  Date: 01/09/14 10:56:01

  Modified:    src/main/org/jboss/test/web/test Tag: Branch_2_4
                        TestWebIntegration.java
  Log:
  Make sure that a restricted servlet is accessed as the first test to
  validate the server security context
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.4   +5 -7      
jbosstest/src/main/org/jboss/test/web/test/Attic/TestWebIntegration.java
  
  Index: TestWebIntegration.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/web/test/Attic/TestWebIntegration.java,v
  retrieving revision 1.7.2.3
  retrieving revision 1.7.2.4
  diff -u -r1.7.2.3 -r1.7.2.4
  --- TestWebIntegration.java   2001/09/03 22:57:14     1.7.2.3
  +++ TestWebIntegration.java   2001/09/14 17:56:01     1.7.2.4
  @@ -26,7 +26,7 @@
    with a role of 'AuthorizedUser' in the servlet container.
    
    @author [EMAIL PROTECTED]
  - @version $Revision: 1.7.2.3 $
  + @version $Revision: 1.7.2.4 $
    */
   public class TestWebIntegration extends TestCase
   {
  @@ -235,13 +235,11 @@
         try
         {
            String filename = "../deploy/jbosstest-web.ear";
  -         
  -         // deployment is done in setUp()... to complex to move out
  -         // System.out.println("Deploying...");
  -         // Deploy.deploy(filename);
  -         
  +         // Make sure that the testSecureServlet is run first
  +         suite.addTest(new TestWebIntegration("testSecureServlet"));
  +         // Run all tests
            suite.addTest(new TestSuite(TestWebIntegration.class));
  -         
  +
            // add a test case to undeploy our support applications
            suite.addTest(new Deploy.Undeployer(filename));
         }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to