You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ml...@apache.org on 2006/06/08 05:40:30 UTC
svn commit: r412641 [30/32] - in
/incubator/harmony/enhanced/classlib/trunk/modules/beans/src:
main/java/java/beans/ main/java/java/beans/beancontext/
test/java-internal/java/beans/beancontext/
test/java/org/apache/harmony/beans/tests/ test/java/org/ap...
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockVetoableChangeListenerS.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockVetoableChangeListenerS.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockVetoableChangeListenerS.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockVetoableChangeListenerS.java Wed Jun 7 20:40:24 2006
@@ -1,51 +1,51 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.beancontext.mock;
-
-import java.beans.PropertyChangeEvent;
-import java.beans.PropertyVetoException;
-import java.beans.VetoableChangeListener;
-import java.io.Serializable;
-
-/**
- * Mock of VetoableChangeListener
- */
-public class MockVetoableChangeListenerS implements VetoableChangeListener,
- Serializable {
-
- public PropertyChangeEvent lastEvent;
-
- public String id;
-
- public MockVetoableChangeListenerS(String id) {
- this.id = id;
- }
-
- public void clearLastEvent() {
- lastEvent = null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.VetoableChangeListener#vetoableChange(java.beans.PropertyChangeEvent)
- */
- public void vetoableChange(PropertyChangeEvent evt)
- throws PropertyVetoException {
- lastEvent = evt;
- }
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.beancontext.mock;
+
+import java.beans.PropertyChangeEvent;
+import java.beans.PropertyVetoException;
+import java.beans.VetoableChangeListener;
+import java.io.Serializable;
+
+/**
+ * Mock of VetoableChangeListener
+ */
+public class MockVetoableChangeListenerS implements VetoableChangeListener,
+ Serializable {
+
+ public PropertyChangeEvent lastEvent;
+
+ public String id;
+
+ public MockVetoableChangeListenerS(String id) {
+ this.id = id;
+ }
+
+ public void clearLastEvent() {
+ lastEvent = null;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.VetoableChangeListener#vetoableChange(java.beans.PropertyChangeEvent)
+ */
+ public void vetoableChange(PropertyChangeEvent evt)
+ throws PropertyVetoException {
+ lastEvent = evt;
+ }
+
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockVisibility.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockVisibility.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockVisibility.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockVisibility.java Wed Jun 7 20:40:24 2006
@@ -1,72 +1,72 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.beancontext.mock;
-
-import java.beans.Visibility;
-
-/**
- * Test Visibility
- */
-public class MockVisibility implements Visibility {
-
- public boolean avoidingGui;
-
- public boolean needsGui;
-
- public boolean okToUseGui;
-
- public MockVisibility(boolean avoiding, boolean needs) {
- this.avoidingGui = avoiding;
- this.needsGui = needs;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.Visibility#avoidingGui()
- */
- public boolean avoidingGui() {
- return avoidingGui;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.Visibility#dontUseGui()
- */
- public void dontUseGui() {
- okToUseGui = false;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.Visibility#needsGui()
- */
- public boolean needsGui() {
- return needsGui;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.Visibility#okToUseGui()
- */
- public void okToUseGui() {
- okToUseGui = true;
- }
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.beancontext.mock;
+
+import java.beans.Visibility;
+
+/**
+ * Test Visibility
+ */
+public class MockVisibility implements Visibility {
+
+ public boolean avoidingGui;
+
+ public boolean needsGui;
+
+ public boolean okToUseGui;
+
+ public MockVisibility(boolean avoiding, boolean needs) {
+ this.avoidingGui = avoiding;
+ this.needsGui = needs;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.Visibility#avoidingGui()
+ */
+ public boolean avoidingGui() {
+ return avoidingGui;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.Visibility#dontUseGui()
+ */
+ public void dontUseGui() {
+ okToUseGui = false;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.Visibility#needsGui()
+ */
+ public boolean needsGui() {
+ return needsGui;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.Visibility#okToUseGui()
+ */
+ public void okToUseGui() {
+ okToUseGui = true;
+ }
+
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox.java Wed Jun 7 20:40:24 2006
@@ -1,24 +1,24 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-/**
- * The series of FakeFox classes are used to test
- * Introspector.getBeanInfo(Class, int)
- */
-public class FakeFox {
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+/**
+ * The series of FakeFox classes are used to test
+ * Introspector.getBeanInfo(Class, int)
+ */
+public class FakeFox {
+
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox01.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox01.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox01.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox01.java Wed Jun 7 20:40:24 2006
@@ -1,32 +1,32 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-/**
- * The series of FakeFox classes are used to test
- * Introspector.getBeanInfo(Class, int)
- */
-public class FakeFox01 extends FakeFox {
- String fox01;
-
- public String getFox01() {
- return fox01;
- }
-
- public void setFox01(String fox01) {
- this.fox01 = fox01;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+/**
+ * The series of FakeFox classes are used to test
+ * Introspector.getBeanInfo(Class, int)
+ */
+public class FakeFox01 extends FakeFox {
+ String fox01;
+
+ public String getFox01() {
+ return fox01;
+ }
+
+ public void setFox01(String fox01) {
+ this.fox01 = fox01;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox011.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox011.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox011.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox011.java Wed Jun 7 20:40:24 2006
@@ -1,32 +1,32 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-/**
- * The series of FakeFox classes are used to test
- * Introspector.getBeanInfo(Class, int)
- */
-public class FakeFox011 extends FakeFox01 {
- String fox011;
-
- public String getFox011() {
- return fox011;
- }
-
- public void setFox011(String fox011) {
- this.fox011 = fox011;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+/**
+ * The series of FakeFox classes are used to test
+ * Introspector.getBeanInfo(Class, int)
+ */
+public class FakeFox011 extends FakeFox01 {
+ String fox011;
+
+ public String getFox011() {
+ return fox011;
+ }
+
+ public void setFox011(String fox011) {
+ this.fox011 = fox011;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox01BeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox01BeanInfo.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox01BeanInfo.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox01BeanInfo.java Wed Jun 7 20:40:24 2006
@@ -1,89 +1,89 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-import java.beans.BeanDescriptor;
-import java.beans.IntrospectionException;
-import java.beans.MethodDescriptor;
-import java.beans.PropertyDescriptor;
-import java.beans.SimpleBeanInfo;
-import java.lang.reflect.Method;
-
-/**
- * The series of FakeFox classes are used to test
- * Introspector.getBeanInfo(Class, int)
- */
-public class FakeFox01BeanInfo extends SimpleBeanInfo {
-
- Class clazz = FakeFox01.class;
-
- String suffix = "." + clazz.getName();
-
- public BeanDescriptor getBeanDescriptor() {
- BeanDescriptor beanDesc = new BeanDescriptor(clazz);
- beanDesc.setDisplayName(beanDesc.getDisplayName() + suffix);
- return beanDesc;
- }
-
- public MethodDescriptor[] getMethodDescriptors() {
- Method get = null;
- Method set = null;
- try {
- get = clazz.getMethod("getFox01", (Class[])null);
- set = clazz.getMethod("setFox01", new Class[] { String.class });
- } catch (SecurityException e) {
- e.printStackTrace();
- } catch (NoSuchMethodException e) {
- e.printStackTrace();
- }
-
- MethodDescriptor getDesc = new MethodDescriptor(get);
- getDesc.setDisplayName(getDesc.getDisplayName() + suffix);
- MethodDescriptor setDesc = new MethodDescriptor(set);
- setDesc.setDisplayName(setDesc.getDisplayName() + suffix);
- return new MethodDescriptor[] { getDesc, setDesc };
- }
-
- public PropertyDescriptor[] getPropertyDescriptors() {
- PropertyDescriptor propertyDesc = null;
- try {
- propertyDesc = new PropertyDescriptor("fox01", clazz);
- propertyDesc.setDisplayName(propertyDesc.getDisplayName() + suffix);
- } catch (IntrospectionException e) {
- e.printStackTrace();
- }
- return new PropertyDescriptor[] { propertyDesc };
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.BeanInfo#getDefaultEventIndex()
- */
- public int getDefaultEventIndex() {
- return -1;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.BeanInfo#getDefaultPropertyIndex()
- */
- public int getDefaultPropertyIndex() {
- // TODO Auto-generated method stub
- return 0;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+import java.beans.BeanDescriptor;
+import java.beans.IntrospectionException;
+import java.beans.MethodDescriptor;
+import java.beans.PropertyDescriptor;
+import java.beans.SimpleBeanInfo;
+import java.lang.reflect.Method;
+
+/**
+ * The series of FakeFox classes are used to test
+ * Introspector.getBeanInfo(Class, int)
+ */
+public class FakeFox01BeanInfo extends SimpleBeanInfo {
+
+ Class clazz = FakeFox01.class;
+
+ String suffix = "." + clazz.getName();
+
+ public BeanDescriptor getBeanDescriptor() {
+ BeanDescriptor beanDesc = new BeanDescriptor(clazz);
+ beanDesc.setDisplayName(beanDesc.getDisplayName() + suffix);
+ return beanDesc;
+ }
+
+ public MethodDescriptor[] getMethodDescriptors() {
+ Method get = null;
+ Method set = null;
+ try {
+ get = clazz.getMethod("getFox01", (Class[])null);
+ set = clazz.getMethod("setFox01", new Class[] { String.class });
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ }
+
+ MethodDescriptor getDesc = new MethodDescriptor(get);
+ getDesc.setDisplayName(getDesc.getDisplayName() + suffix);
+ MethodDescriptor setDesc = new MethodDescriptor(set);
+ setDesc.setDisplayName(setDesc.getDisplayName() + suffix);
+ return new MethodDescriptor[] { getDesc, setDesc };
+ }
+
+ public PropertyDescriptor[] getPropertyDescriptors() {
+ PropertyDescriptor propertyDesc = null;
+ try {
+ propertyDesc = new PropertyDescriptor("fox01", clazz);
+ propertyDesc.setDisplayName(propertyDesc.getDisplayName() + suffix);
+ } catch (IntrospectionException e) {
+ e.printStackTrace();
+ }
+ return new PropertyDescriptor[] { propertyDesc };
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.BeanInfo#getDefaultEventIndex()
+ */
+ public int getDefaultEventIndex() {
+ return -1;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.BeanInfo#getDefaultPropertyIndex()
+ */
+ public int getDefaultPropertyIndex() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox02.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox02.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox02.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox02.java Wed Jun 7 20:40:24 2006
@@ -1,39 +1,39 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-/**
- * The series of FakeFox classes are used to test
- * Introspector.getBeanInfo(Class, int)
- */
-public class FakeFox02 {
- String fox02;
-
- /**
- * @return Returns the fox02.
- */
- public String getFox02() {
- return fox02;
- }
-
- /**
- * @param fox02
- * The fox02 to set.
- */
- public void setFox02(String fox02) {
- this.fox02 = fox02;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+/**
+ * The series of FakeFox classes are used to test
+ * Introspector.getBeanInfo(Class, int)
+ */
+public class FakeFox02 {
+ String fox02;
+
+ /**
+ * @return Returns the fox02.
+ */
+ public String getFox02() {
+ return fox02;
+ }
+
+ /**
+ * @param fox02
+ * The fox02 to set.
+ */
+ public void setFox02(String fox02) {
+ this.fox02 = fox02;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox02BeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox02BeanInfo.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox02BeanInfo.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FakeFox02BeanInfo.java Wed Jun 7 20:40:24 2006
@@ -1,46 +1,46 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-import java.beans.IntrospectionException;
-import java.beans.PropertyDescriptor;
-import java.beans.SimpleBeanInfo;
-
-/**
- * The series of FakeFox classes are used to test
- * Introspector.getBeanInfo(Class, int)
- */
-public class FakeFox02BeanInfo extends SimpleBeanInfo {
-
- public FakeFox02BeanInfo() {
- super();
- }
-
- public FakeFox02BeanInfo(String param) {
- super();
- }
-
- public PropertyDescriptor[] getPropertyDescriptors() {
- PropertyDescriptor pd = null;
- try {
- pd = new PropertyDescriptor("fox02", FakeFox02.class);
- pd.setDisplayName("fox02.beaninfo");
- } catch (IntrospectionException e) {
-
- }
- return new PropertyDescriptor[] { pd };
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+import java.beans.IntrospectionException;
+import java.beans.PropertyDescriptor;
+import java.beans.SimpleBeanInfo;
+
+/**
+ * The series of FakeFox classes are used to test
+ * Introspector.getBeanInfo(Class, int)
+ */
+public class FakeFox02BeanInfo extends SimpleBeanInfo {
+
+ public FakeFox02BeanInfo() {
+ super();
+ }
+
+ public FakeFox02BeanInfo(String param) {
+ super();
+ }
+
+ public PropertyDescriptor[] getPropertyDescriptors() {
+ PropertyDescriptor pd = null;
+ try {
+ pd = new PropertyDescriptor("fox02", FakeFox02.class);
+ pd.setDisplayName("fox02.beaninfo");
+ } catch (IntrospectionException e) {
+
+ }
+ return new PropertyDescriptor[] { pd };
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Foz.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Foz.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Foz.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Foz.java Wed Jun 7 20:40:24 2006
@@ -1,55 +1,55 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-/**
- * Test PropertyEditorManager
- */
-public class Foz {
- private String name;
-
- private String text;
-
- /**
- * @return Returns the name.
- */
- public String getName() {
- return name;
- }
-
- /**
- * @param name
- * The name to set.
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * @return Returns the text.
- */
- public String getText() {
- return text;
- }
-
- /**
- * @param text
- * The text to set.
- */
- public void setText(String text) {
- this.text = text;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+/**
+ * Test PropertyEditorManager
+ */
+public class Foz {
+ private String name;
+
+ private String text;
+
+ /**
+ * @return Returns the name.
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @param name
+ * The name to set.
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * @return Returns the text.
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text
+ * The text to set.
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FozDefault.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FozDefault.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FozDefault.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FozDefault.java Wed Jun 7 20:40:24 2006
@@ -1,55 +1,55 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-/**
- * Test PropertyEditorManager
- */
-public class FozDefault {
- private String name;
-
- private String text;
-
- /**
- * @return Returns the name.
- */
- public String getName() {
- return name;
- }
-
- /**
- * @param name
- * The name to set.
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * @return Returns the text.
- */
- public String getText() {
- return text;
- }
-
- /**
- * @param text
- * The text to set.
- */
- public void setText(String text) {
- this.text = text;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+/**
+ * Test PropertyEditorManager
+ */
+public class FozDefault {
+ private String name;
+
+ private String text;
+
+ /**
+ * @return Returns the name.
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @param name
+ * The name to set.
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * @return Returns the text.
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text
+ * The text to set.
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Fozz.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Fozz.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Fozz.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Fozz.java Wed Jun 7 20:40:24 2006
@@ -1,55 +1,55 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-/**
- * Test PropertyEditorManager
- */
-public class Fozz {
- private String name;
-
- private String text;
-
- /**
- * @return Returns the name.
- */
- public String getName() {
- return name;
- }
-
- /**
- * @param name
- * The name to set.
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * @return Returns the text.
- */
- public String getText() {
- return text;
- }
-
- /**
- * @param text
- * The text to set.
- */
- public void setText(String text) {
- this.text = text;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+/**
+ * Test PropertyEditorManager
+ */
+public class Fozz {
+ private String name;
+
+ private String text;
+
+ /**
+ * @return Returns the name.
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @param name
+ * The name to set.
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * @return Returns the text.
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text
+ * The text to set.
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FozzEditor.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FozzEditor.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FozzEditor.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/FozzEditor.java Wed Jun 7 20:40:24 2006
@@ -1,150 +1,150 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-import java.awt.Component;
-import java.awt.Graphics;
-import java.awt.Rectangle;
-import java.beans.PropertyChangeListener;
-import java.beans.PropertyEditor;
-
-/**
- * Test PropertyEditorManager
- */
-public class FozzEditor implements PropertyEditor {
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#addPropertyChangeListener(java.beans.PropertyChangeListener)
- */
- public void addPropertyChangeListener(PropertyChangeListener listener) {
- // TO DO Auto-generated method stub
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#getAsText()
- */
- public String getAsText() {
- // TO DO Auto-generated method stub
- return null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#getCustomEditor()
- */
- public Component getCustomEditor() {
- // TO DO Auto-generated method stub
- return null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#getJavaInitializationString()
- */
- public String getJavaInitializationString() {
- // TO DO Auto-generated method stub
- return null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#getTags()
- */
- public String[] getTags() {
- // TO DO Auto-generated method stub
- return null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#getValue()
- */
- public Object getValue() {
- // TO DO Auto-generated method stub
- return null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#isPaintable()
- */
- public boolean isPaintable() {
- // TO DO Auto-generated method stub
- return false;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#paintValue(java.awt.Graphics,
- * java.awt.Rectangle)
- */
- public void paintValue(Graphics graphics, Rectangle box) {
- // TO DO Auto-generated method stub
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#removePropertyChangeListener(java.beans.PropertyChangeListener)
- */
- public void removePropertyChangeListener(PropertyChangeListener listener) {
- // TO DO Auto-generated method stub
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#setAsText(java.lang.String)
- */
- public void setAsText(String text) throws IllegalArgumentException {
- // TO DO Auto-generated method stub
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#setValue(java.lang.Object)
- */
- public void setValue(Object value) {
- // TO DO Auto-generated method stub
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.beans.PropertyEditor#supportsCustomEditor()
- */
- public boolean supportsCustomEditor() {
- // TO DO Auto-generated method stub
- return false;
- }
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+import java.awt.Component;
+import java.awt.Graphics;
+import java.awt.Rectangle;
+import java.beans.PropertyChangeListener;
+import java.beans.PropertyEditor;
+
+/**
+ * Test PropertyEditorManager
+ */
+public class FozzEditor implements PropertyEditor {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#addPropertyChangeListener(java.beans.PropertyChangeListener)
+ */
+ public void addPropertyChangeListener(PropertyChangeListener listener) {
+ // TO DO Auto-generated method stub
+
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#getAsText()
+ */
+ public String getAsText() {
+ // TO DO Auto-generated method stub
+ return null;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#getCustomEditor()
+ */
+ public Component getCustomEditor() {
+ // TO DO Auto-generated method stub
+ return null;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#getJavaInitializationString()
+ */
+ public String getJavaInitializationString() {
+ // TO DO Auto-generated method stub
+ return null;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#getTags()
+ */
+ public String[] getTags() {
+ // TO DO Auto-generated method stub
+ return null;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#getValue()
+ */
+ public Object getValue() {
+ // TO DO Auto-generated method stub
+ return null;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#isPaintable()
+ */
+ public boolean isPaintable() {
+ // TO DO Auto-generated method stub
+ return false;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#paintValue(java.awt.Graphics,
+ * java.awt.Rectangle)
+ */
+ public void paintValue(Graphics graphics, Rectangle box) {
+ // TO DO Auto-generated method stub
+
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#removePropertyChangeListener(java.beans.PropertyChangeListener)
+ */
+ public void removePropertyChangeListener(PropertyChangeListener listener) {
+ // TO DO Auto-generated method stub
+
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#setAsText(java.lang.String)
+ */
+ public void setAsText(String text) throws IllegalArgumentException {
+ // TO DO Auto-generated method stub
+
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#setValue(java.lang.Object)
+ */
+ public void setValue(Object value) {
+ // TO DO Auto-generated method stub
+
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.beans.PropertyEditor#supportsCustomEditor()
+ */
+ public boolean supportsCustomEditor() {
+ // TO DO Auto-generated method stub
+ return false;
+ }
+
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Fozzz.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Fozzz.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Fozzz.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/Fozzz.java Wed Jun 7 20:40:24 2006
@@ -1,55 +1,55 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-/**
- * Test PropertyEditorManager
- */
-public class Fozzz {
- private String name;
-
- private String text;
-
- /**
- * @return Returns the name.
- */
- public String getName() {
- return name;
- }
-
- /**
- * @param name
- * The name to set.
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * @return Returns the text.
- */
- public String getText() {
- return text;
- }
-
- /**
- * @param text
- * The text to set.
- */
- public void setText(String text) {
- this.text = text;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+/**
+ * Test PropertyEditorManager
+ */
+public class Fozzz {
+ private String name;
+
+ private String text;
+
+ /**
+ * @return Returns the name.
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @param name
+ * The name to set.
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * @return Returns the text.
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * @param text
+ * The text to set.
+ */
+ public void setText(String text) {
+ this.text = text;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletBean.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletBean.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletBean.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletBean.java Wed Jun 7 20:40:24 2006
@@ -1,55 +1,55 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-import java.applet.Applet;
-
-/**
- * test java.beans.Beans
- */
-public class MockAppletBean extends Applet {
- private String propertyOne;
-
- private boolean initBeenCalled;
-
- public void init() {
- super.init();
- this.initBeenCalled = true;
- }
-
- public boolean initHasBeenCalled() {
- return this.initBeenCalled;
- }
-
- public void setInitHasBeenCalled(boolean value) {
- this.initBeenCalled = value;
- }
-
- /**
- * @return Returns the propertyOne.
- */
- public String getPropertyOne() {
- return propertyOne;
- }
-
- /**
- * @param propertyOne
- * The propertyOne to set.
- */
- public void setPropertyOne(String propertyOne) {
- this.propertyOne = propertyOne;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+import java.applet.Applet;
+
+/**
+ * test java.beans.Beans
+ */
+public class MockAppletBean extends Applet {
+ private String propertyOne;
+
+ private boolean initBeenCalled;
+
+ public void init() {
+ super.init();
+ this.initBeenCalled = true;
+ }
+
+ public boolean initHasBeenCalled() {
+ return this.initBeenCalled;
+ }
+
+ public void setInitHasBeenCalled(boolean value) {
+ this.initBeenCalled = value;
+ }
+
+ /**
+ * @return Returns the propertyOne.
+ */
+ public String getPropertyOne() {
+ return propertyOne;
+ }
+
+ /**
+ * @param propertyOne
+ * The propertyOne to set.
+ */
+ public void setPropertyOne(String propertyOne) {
+ this.propertyOne = propertyOne;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletBean2.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletBean2.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletBean2.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletBean2.java Wed Jun 7 20:40:24 2006
@@ -1,58 +1,58 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-import java.applet.Applet;
-import java.io.Serializable;
-
-/**
- * test java.beans.Beans
- */
-public class MockAppletBean2 extends Applet implements Serializable {
- static final long serialVersionUID = 1L;
-
- private String propertyOne;
-
- private boolean initBeenCalled;
-
- public void init() {
- super.init();
- this.initBeenCalled = true;
- }
-
- public boolean initHasBeenCalled() {
- return this.initBeenCalled;
- }
-
- public void setInitHasBeenCalled(boolean value) {
- this.initBeenCalled = value;
- }
-
- /**
- * @return Returns the propertyOne.
- */
- public String getPropertyOne() {
- return propertyOne;
- }
-
- /**
- * @param propertyOne
- * The propertyOne to set.
- */
- public void setPropertyOne(String propertyOne) {
- this.propertyOne = propertyOne;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+import java.applet.Applet;
+import java.io.Serializable;
+
+/**
+ * test java.beans.Beans
+ */
+public class MockAppletBean2 extends Applet implements Serializable {
+ static final long serialVersionUID = 1L;
+
+ private String propertyOne;
+
+ private boolean initBeenCalled;
+
+ public void init() {
+ super.init();
+ this.initBeenCalled = true;
+ }
+
+ public boolean initHasBeenCalled() {
+ return this.initBeenCalled;
+ }
+
+ public void setInitHasBeenCalled(boolean value) {
+ this.initBeenCalled = value;
+ }
+
+ /**
+ * @return Returns the propertyOne.
+ */
+ public String getPropertyOne() {
+ return propertyOne;
+ }
+
+ /**
+ * @param propertyOne
+ * The propertyOne to set.
+ */
+ public void setPropertyOne(String propertyOne) {
+ this.propertyOne = propertyOne;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletInitializer.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletInitializer.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletInitializer.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockAppletInitializer.java Wed Jun 7 20:40:24 2006
@@ -1,47 +1,47 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-import java.applet.Applet;
-import java.beans.AppletInitializer;
-import java.beans.beancontext.BeanContext;
-
-/**
- * test java.beans.Beans
- */
-public class MockAppletInitializer implements AppletInitializer {
-
- private boolean activateBeenCalled;
-
- private boolean initializeBeenCalled;
-
- public boolean activateHasBeenCalled() {
- return this.activateBeenCalled;
- }
-
- public boolean initializeHasBeenCalled() {
- return this.initializeBeenCalled;
- }
-
- public void activate(Applet newApplet) {
- this.activateBeenCalled = true;
- }
-
- public void initialize(Applet appletBean, BeanContext context) {
- this.initializeBeenCalled = true;
- }
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+import java.applet.Applet;
+import java.beans.AppletInitializer;
+import java.beans.beancontext.BeanContext;
+
+/**
+ * test java.beans.Beans
+ */
+public class MockAppletInitializer implements AppletInitializer {
+
+ private boolean activateBeenCalled;
+
+ private boolean initializeBeenCalled;
+
+ public boolean activateHasBeenCalled() {
+ return this.activateBeenCalled;
+ }
+
+ public boolean initializeHasBeenCalled() {
+ return this.initializeBeenCalled;
+ }
+
+ public void activate(Applet newApplet) {
+ this.activateBeenCalled = true;
+ }
+
+ public void initialize(Applet appletBean, BeanContext context) {
+ this.initializeBeenCalled = true;
+ }
+
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4Codec.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4Codec.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4Codec.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4Codec.java Wed Jun 7 20:40:24 2006
@@ -1,128 +1,128 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-public class MockBean4Codec extends MockBean4CodecPrimitives {
-
- public static MockBean4Codec getInstanceOfManyChanges() {
- MockBean4Codec bean = new MockBean4Codec();
- bean.setB((byte) 127);
- bean.setBackRef(bean);
- bean.setBobj(new Byte((byte) 127));
- bean.setBool(false);
- bean.setBoolobj(Boolean.TRUE);
- bean.getBornFriend().setClazz(Exception.class);
- bean.getBornFriend().getZarr()[0] = 888;
- bean.setC('Z');
- bean.setClazz(String.class);
- bean.setCobj(new Character('z'));
- bean.setD(123.456);
- bean.setDobj(new Double(123.456));
- bean.setF(12.34F);
- bean.setFobj(new Float(12.34F));
- bean.setFriend(new MockBean4Codec());
- bean.getFriend().setClazz(MockBean4Codec.class);
- bean.setI(999);
- bean.setIobj(new Integer(999));
- bean.setL(8888888);
- bean.setLobj(new Long(8888888));
- bean.setName("Li Yang");
- bean.setNill(null);
- bean.setS((short) 55);
- bean.setSobj(new Short((short) 55));
- bean.setZarr(new int[] { 3, 2, 1 });
- bean.setZarrarr(new String[][] { { "6", "6", "6" } });
- return bean;
- }
-
- public static MockBean4Codec getInstanceOfManyChanges2() {
- MockBean4Codec bean = new MockBean4Codec();
- bean.getBornFriend().setClazz(Exception.class);
- return bean;
- }
-
- String name;
-
- MockBean4Codec friend;
-
- MockBean4CodecPrimitives bornFriend = new MockBean4CodecPrimitives();
-
- MockBean4Codec backRef;
-
- public MockBean4Codec() {
- super();
- }
-
- /**
- * @return Returns the friend.
- */
- public MockBean4Codec getFriend() {
- return friend;
- }
-
- /**
- * @param friend
- * The friend to set.
- */
- public void setFriend(MockBean4Codec friend) {
- this.friend = friend;
- }
-
- /**
- * @return Returns the name.
- */
- public String getName() {
- return name;
- }
-
- /**
- * @param name
- * The name to set.
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * @return Returns the backRef.
- */
- public MockBean4Codec getBackRef() {
- return backRef;
- }
-
- /**
- * @param backRef
- * The backRef to set.
- */
- public void setBackRef(MockBean4Codec backRef) {
- this.backRef = backRef;
- }
-
- /**
- * @return Returns the bornFriend.
- */
- public MockBean4CodecPrimitives getBornFriend() {
- return bornFriend;
- }
-
- /**
- * @param bornFriend
- * The bornFriend to set.
- */
- public void setBornFriend(MockBean4CodecPrimitives bornFriend) {
- this.bornFriend = bornFriend;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+public class MockBean4Codec extends MockBean4CodecPrimitives {
+
+ public static MockBean4Codec getInstanceOfManyChanges() {
+ MockBean4Codec bean = new MockBean4Codec();
+ bean.setB((byte) 127);
+ bean.setBackRef(bean);
+ bean.setBobj(new Byte((byte) 127));
+ bean.setBool(false);
+ bean.setBoolobj(Boolean.TRUE);
+ bean.getBornFriend().setClazz(Exception.class);
+ bean.getBornFriend().getZarr()[0] = 888;
+ bean.setC('Z');
+ bean.setClazz(String.class);
+ bean.setCobj(new Character('z'));
+ bean.setD(123.456);
+ bean.setDobj(new Double(123.456));
+ bean.setF(12.34F);
+ bean.setFobj(new Float(12.34F));
+ bean.setFriend(new MockBean4Codec());
+ bean.getFriend().setClazz(MockBean4Codec.class);
+ bean.setI(999);
+ bean.setIobj(new Integer(999));
+ bean.setL(8888888);
+ bean.setLobj(new Long(8888888));
+ bean.setName("Li Yang");
+ bean.setNill(null);
+ bean.setS((short) 55);
+ bean.setSobj(new Short((short) 55));
+ bean.setZarr(new int[] { 3, 2, 1 });
+ bean.setZarrarr(new String[][] { { "6", "6", "6" } });
+ return bean;
+ }
+
+ public static MockBean4Codec getInstanceOfManyChanges2() {
+ MockBean4Codec bean = new MockBean4Codec();
+ bean.getBornFriend().setClazz(Exception.class);
+ return bean;
+ }
+
+ String name;
+
+ MockBean4Codec friend;
+
+ MockBean4CodecPrimitives bornFriend = new MockBean4CodecPrimitives();
+
+ MockBean4Codec backRef;
+
+ public MockBean4Codec() {
+ super();
+ }
+
+ /**
+ * @return Returns the friend.
+ */
+ public MockBean4Codec getFriend() {
+ return friend;
+ }
+
+ /**
+ * @param friend
+ * The friend to set.
+ */
+ public void setFriend(MockBean4Codec friend) {
+ this.friend = friend;
+ }
+
+ /**
+ * @return Returns the name.
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @param name
+ * The name to set.
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * @return Returns the backRef.
+ */
+ public MockBean4Codec getBackRef() {
+ return backRef;
+ }
+
+ /**
+ * @param backRef
+ * The backRef to set.
+ */
+ public void setBackRef(MockBean4Codec backRef) {
+ this.backRef = backRef;
+ }
+
+ /**
+ * @return Returns the bornFriend.
+ */
+ public MockBean4CodecPrimitives getBornFriend() {
+ return bornFriend;
+ }
+
+ /**
+ * @param bornFriend
+ * The bornFriend to set.
+ */
+ public void setBornFriend(MockBean4CodecPrimitives bornFriend) {
+ this.bornFriend = bornFriend;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecAdv.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecAdv.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecAdv.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecAdv.java Wed Jun 7 20:40:24 2006
@@ -1,160 +1,160 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.Currency;
-import java.util.Date;
-import java.util.Locale;
-import java.util.Properties;
-import java.util.TimeZone;
-
-public class MockBean4CodecAdv extends MockBean4Codec {
-
- String id;
-
- ArrayList arraylist = new ArrayList();
-
- Calendar calendar = Calendar.getInstance();
-
- Currency currency = Currency.getInstance(Locale.US);
-
- Date date = new Date();
-
- Locale locale = Locale.US;
-
- Properties properties = new Properties();
-
- TimeZone timezone = TimeZone.getTimeZone("GMT+8");
-
- /**
- *
- */
- public MockBean4CodecAdv(String id) {
- super();
- this.id = id;
- }
-
- public String getId() {
- return id;
- }
-
- /**
- * @return Returns the arraylist.
- */
- public ArrayList getArraylist() {
- return arraylist;
- }
-
- /**
- * @param arraylist
- * The arraylist to set.
- */
- public void setArraylist(ArrayList arraylist) {
- this.arraylist = arraylist;
- }
-
- /**
- * @return Returns the calendar.
- */
- public Calendar getCalendar() {
- return calendar;
- }
-
- /**
- * @param calendar
- * The calendar to set.
- */
- public void setCalendar(Calendar calendar) {
- this.calendar = calendar;
- }
-
- /**
- * @return Returns the currency.
- */
- public Currency getCurrency() {
- return currency;
- }
-
- /**
- * @param currency
- * The currency to set.
- */
- public void setCurrency(Currency currency) {
- this.currency = currency;
- }
-
- /**
- * @return Returns the date.
- */
- public Date getDate() {
- return date;
- }
-
- /**
- * @param date
- * The date to set.
- */
- public void setDate(Date date) {
- this.date = date;
- }
-
- /**
- * @return Returns the locale.
- */
- public Locale getLocale() {
- return locale;
- }
-
- /**
- * @param locale
- * The locale to set.
- */
- public void setLocale(Locale locale) {
- this.locale = locale;
- }
-
- /**
- * @return Returns the properties.
- */
- public Properties getProperties() {
- return properties;
- }
-
- /**
- * @param properties
- * The properties to set.
- */
- public void setProperties(Properties properties) {
- this.properties = properties;
- }
-
- /**
- * @return Returns the timezone.
- */
- public TimeZone getTimezone() {
- return timezone;
- }
-
- /**
- * @param timezone
- * The timezone to set.
- */
- public void setTimezone(TimeZone timezone) {
- this.timezone = timezone;
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Currency;
+import java.util.Date;
+import java.util.Locale;
+import java.util.Properties;
+import java.util.TimeZone;
+
+public class MockBean4CodecAdv extends MockBean4Codec {
+
+ String id;
+
+ ArrayList arraylist = new ArrayList();
+
+ Calendar calendar = Calendar.getInstance();
+
+ Currency currency = Currency.getInstance(Locale.US);
+
+ Date date = new Date();
+
+ Locale locale = Locale.US;
+
+ Properties properties = new Properties();
+
+ TimeZone timezone = TimeZone.getTimeZone("GMT+8");
+
+ /**
+ *
+ */
+ public MockBean4CodecAdv(String id) {
+ super();
+ this.id = id;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * @return Returns the arraylist.
+ */
+ public ArrayList getArraylist() {
+ return arraylist;
+ }
+
+ /**
+ * @param arraylist
+ * The arraylist to set.
+ */
+ public void setArraylist(ArrayList arraylist) {
+ this.arraylist = arraylist;
+ }
+
+ /**
+ * @return Returns the calendar.
+ */
+ public Calendar getCalendar() {
+ return calendar;
+ }
+
+ /**
+ * @param calendar
+ * The calendar to set.
+ */
+ public void setCalendar(Calendar calendar) {
+ this.calendar = calendar;
+ }
+
+ /**
+ * @return Returns the currency.
+ */
+ public Currency getCurrency() {
+ return currency;
+ }
+
+ /**
+ * @param currency
+ * The currency to set.
+ */
+ public void setCurrency(Currency currency) {
+ this.currency = currency;
+ }
+
+ /**
+ * @return Returns the date.
+ */
+ public Date getDate() {
+ return date;
+ }
+
+ /**
+ * @param date
+ * The date to set.
+ */
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ /**
+ * @return Returns the locale.
+ */
+ public Locale getLocale() {
+ return locale;
+ }
+
+ /**
+ * @param locale
+ * The locale to set.
+ */
+ public void setLocale(Locale locale) {
+ this.locale = locale;
+ }
+
+ /**
+ * @return Returns the properties.
+ */
+ public Properties getProperties() {
+ return properties;
+ }
+
+ /**
+ * @param properties
+ * The properties to set.
+ */
+ public void setProperties(Properties properties) {
+ this.properties = properties;
+ }
+
+ /**
+ * @return Returns the timezone.
+ */
+ public TimeZone getTimezone() {
+ return timezone;
+ }
+
+ /**
+ * @param timezone
+ * The timezone to set.
+ */
+ public void setTimezone(TimeZone timezone) {
+ this.timezone = timezone;
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecBadGetter.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecBadGetter.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecBadGetter.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecBadGetter.java Wed Jun 7 20:40:24 2006
@@ -1,27 +1,27 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-public class MockBean4CodecBadGetter extends MockBean4Codec {
-
- public MockBean4CodecBadGetter() {
- super();
- }
-
- public String getName() {
- throw new UnsupportedOperationException();
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+public class MockBean4CodecBadGetter extends MockBean4Codec {
+
+ public MockBean4CodecBadGetter() {
+ super();
+ }
+
+ public String getName() {
+ throw new UnsupportedOperationException();
+ }
+}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecBadSetter.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecBadSetter.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecBadSetter.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecBadSetter.java Wed Jun 7 20:40:24 2006
@@ -1,27 +1,27 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.beans.tests.java.beans.mock;
-
-public class MockBean4CodecBadSetter extends MockBean4Codec {
-
- public MockBean4CodecBadSetter() {
- super();
- }
-
- public void setName(String name) {
- throw new UnsupportedOperationException();
- }
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.beans.tests.java.beans.mock;
+
+public class MockBean4CodecBadSetter extends MockBean4Codec {
+
+ public MockBean4CodecBadSetter() {
+ super();
+ }
+
+ public void setName(String name) {
+ throw new UnsupportedOperationException();
+ }
+}