1 22 package org.jboss.test.system.controller.instantiate.test; 23 24 import org.jboss.system.ConfigurationException; 25 import org.jboss.test.system.controller.AbstractControllerTest; 26 import org.jboss.test.system.controller.support.SimpleMBean; 27 28 34 public abstract class ConstructorArgsErrorTest extends AbstractControllerTest 35 { 36 public ConstructorArgsErrorTest(String name) 37 { 38 super(name); 39 } 40 41 public void testPlainMBeanArgTypeMissing() throws Exception 42 { 43 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ConfigurationException.class); 44 } 45 46 public void testPlainMBeanArgTypeEmpty() throws Exception 47 { 48 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ConfigurationException.class); 49 } 50 51 public void testPlainMBeanArgValueMissing() throws Exception 52 { 53 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ConfigurationException.class); 54 } 55 56 public void testStandardMBeanArgTypeMissing() throws Exception 57 { 58 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ConfigurationException.class); 59 } 60 61 public void testStandardMBeanArgTypeEmpty() throws Exception 62 { 63 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ConfigurationException.class); 64 } 65 66 public void testStandardMBeanArgValueMissing() throws Exception 67 { 68 assertMaybeParseFailure(SimpleMBean.OBJECT_NAME, ConfigurationException.class); 69 } 70 } 71 | Popular Tags |