1 22 package org.jboss.test.system.controller.configure.value.dependslist.test; 23 24 import junit.framework.Test; 25 26 import org.jboss.deployment.DeploymentException; 27 import org.jboss.test.AbstractTestDelegate; 28 import org.jboss.test.system.controller.support.SimpleMBean; 29 30 36 public class DependencyListValueOldUnitTestCase extends DependencyListValueTest 37 { 38 public static Test suite() 39 { 40 return suite(DependencyListValueOldUnitTestCase.class); 41 } 42 43 public DependencyListValueOldUnitTestCase(String name) 44 { 45 super(name); 46 } 47 48 public static AbstractTestDelegate getDelegate(Class clazz) throws Exception 49 { 50 return getOldControllerDelegate(clazz); 51 } 52 53 public void testNoValue() throws Exception 54 { 55 assertDeployFailure(SimpleMBean.OBJECT_NAME, DeploymentException.class); 56 } 57 58 public void testEmptyValue() throws Exception 59 { 60 assertDeployFailure(SimpleMBean.OBJECT_NAME, DeploymentException.class); 61 } 62 63 public void testInvalidValue() throws Exception 64 { 65 assertDeployFailure(SimpleMBean.OBJECT_NAME, Error .class); 66 } 67 68 public void testUnknownElement() throws Exception 69 { 70 assertDeployFailure(SimpleMBean.OBJECT_NAME, DeploymentException.class); 71 } 72 73 public void testPatternValue() throws Exception 74 { 75 FAILS_IN_OLD(); 76 } 77 } 78 | Popular Tags |