1 package org.picocontainer.defaults; 2 3 import junit.framework.TestCase; 4 5 import java.beans.IntrospectionException ; 6 7 11 public class SetterIntrospectorTestCase extends TestCase { 12 public static class TestBean { 13 public void setPublicMethod(int i) { 14 } 15 16 public void setPublicMETHODAgain(int i) { 17 } 18 19 public void setMOOky(int i) { 20 } 21 22 public void setFOOBAR(int i) { 23 } 24 25 public void set(int i) { 26 } 27 28 public void sets(int i) { 29 } 30 31 public void fooBar(int i) { 32 } 33 34 public void setX(int i) { 35 } 36 37 public static void setStaticMethod(int i) { 38 } 39 40 public static void setMany() { 41 } 42 43 protected void setProtectedMethod(int i) { 44 } 45 46 private void setPrivateMethod(int i) { 47 } 48 } 49 50 public void testShouldConvertPropertyNamesInSameWayAsBeanInfo() throws IntrospectionException { 51 52 54 } 66 67 } 68 | Popular Tags |