1 22 package org.jboss.test.jacc.test; 23 24 import org.jboss.test.JBossTestCase; 25 import junit.framework.Test; 26 27 33 public class WebConstraintsUnitTestCase 34 extends org.jboss.test.security.test.WebConstraintsUnitTestCase 35 { 36 public WebConstraintsUnitTestCase(String name) 37 { 38 super(name); 39 } 40 41 public void testGetAccess() throws Exception 42 { 43 setStrictStarRolesMode(true); 44 super.testGetAccess(); 45 } 46 47 public void testPostAccess() throws Exception 48 { 49 setStrictStarRolesMode(true); 50 super.testPostAccess(); 51 } 52 53 public static Test suite() throws Exception 54 { 55 return JBossTestCase.getDeploySetup(WebConstraintsUnitTestCase.class, 56 org.jboss.test.security.test.WebConstraintsUnitTestCase.WAR); 57 } 58 } 59 | Popular Tags |