1 22 package org.jboss.test.system.controller.instantiate.test; 23 24 import junit.framework.Test; 25 26 import org.jboss.test.AbstractTestDelegate; 27 import org.jboss.test.system.controller.support.SimpleMBean; 28 29 35 public class ConstructorArgsErrorOldUnitTestCase extends ConstructorArgsErrorTest 36 { 37 public static Test suite() 38 { 39 return suite(ConstructorArgsErrorOldUnitTestCase.class); 40 } 41 42 public ConstructorArgsErrorOldUnitTestCase(String name) 43 { 44 super(name); 45 } 46 47 public static AbstractTestDelegate getDelegate(Class clazz) throws Exception 48 { 49 return getOldControllerDelegate(clazz); 50 } 51 52 public void testPlainMBeanArgTypeMissing() throws Exception 53 { 54 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ClassNotFoundException .class); 55 } 56 57 public void testPlainMBeanArgTypeEmpty() throws Exception 58 { 59 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ClassNotFoundException .class); 60 } 61 62 public void testPlainMBeanArgValueMissing() throws Exception 63 { 64 FAILS_IN_OLD(); 65 } 66 67 public void testStandardMBeanArgTypeMissing() throws Exception 68 { 69 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ClassNotFoundException .class); 70 } 71 72 public void testStandardMBeanArgTypeEmpty() throws Exception 73 { 74 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ClassNotFoundException .class); 75 } 76 77 public void testStandardMBeanArgValueMissing() throws Exception 78 { 79 FAILS_IN_OLD(); 80 } 81 } 82 | Popular Tags |