harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r412641 [28/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...
Date Thu, 08 Jun 2006 03:40:30 GMT
Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/InterfacesTest.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/InterfacesTest.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/InterfacesTest.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/InterfacesTest.java Wed Jun  7 20:40:24 2006
@@ -1,111 +1,111 @@
-/* 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;
-
-import java.beans.BeanInfo;
-import java.beans.DesignMode;
-import java.beans.Visibility;
-import java.beans.beancontext.BeanContext;
-import java.beans.beancontext.BeanContextChild;
-import java.beans.beancontext.BeanContextChildComponentProxy;
-import java.beans.beancontext.BeanContextContainerProxy;
-import java.beans.beancontext.BeanContextMembershipListener;
-import java.beans.beancontext.BeanContextProxy;
-import java.beans.beancontext.BeanContextServiceProvider;
-import java.beans.beancontext.BeanContextServiceProviderBeanInfo;
-import java.beans.beancontext.BeanContextServiceRevokedListener;
-import java.beans.beancontext.BeanContextServices;
-import java.beans.beancontext.BeanContextServicesListener;
-import java.util.Collection;
-import java.util.EventListener;
-
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContext;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextChild;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextChildComponentProxy;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextContainerProxy;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextMembershipListener;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextProxy;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServiceProvider;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServiceProviderBeanInfo;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServiceRevokedListener;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServices;
-import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServicesListener;
-import junit.framework.TestCase;
-
-/**
- * Test all interfaces of package java.beans.beancontext
- */
-public class InterfacesTest extends TestCase {
-
-	public static void main(String[] args) {
-		junit.textui.TestRunner.run(InterfacesTest.class);
-	}
-
-	public void testBeanContext() {
-		BeanContext mock = new MockBeanContext();
-		assertTrue(mock instanceof BeanContextChild);
-		assertTrue(mock instanceof Collection);
-		assertTrue(mock instanceof DesignMode);
-		assertTrue(mock instanceof Visibility);
-	}
-
-	public void testBeanContextChild() {
-		BeanContextChild mock = new MockBeanContextChild();
-	}
-
-	public void testBeanContextChildComponentProxy() {
-		BeanContextChildComponentProxy mock = new MockBeanContextChildComponentProxy();
-	}
-
-	public void testBeanContextContainerProxy() {
-		BeanContextContainerProxy mock = new MockBeanContextContainerProxy();
-	}
-
-	public void testBeanContextMembershipListener() {
-		BeanContextMembershipListener mock = new MockBeanContextMembershipListener();
-		assertTrue(mock instanceof EventListener);
-	}
-
-	public void testBeanContextProxy() {
-		BeanContextProxy mock = new MockBeanContextProxy();
-	}
-
-	public void testBeanContextServiceProvider() {
-		BeanContextServiceProvider mock = new MockBeanContextServiceProvider();
-	}
-
-	public void testBeanContextServiceProviderBeanInfo() {
-		BeanContextServiceProviderBeanInfo mock = new MockBeanContextServiceProviderBeanInfo();
-		assertTrue(mock instanceof BeanInfo);
-	}
-
-	public void testBeanContextServiceRevokedListener() {
-		BeanContextServiceRevokedListener mock = new MockBeanContextServiceRevokedListener();
-		assertTrue(mock instanceof EventListener);
-	}
-
-	public void testBeanContextServices() {
-		BeanContextServices mock = new MockBeanContextServices();
-		assertTrue(mock instanceof BeanContext);
-		assertTrue(mock instanceof BeanContextServicesListener);
-	}
-
-	public void testBeanContextServicesListener() {
-		BeanContextServicesListener mock = new MockBeanContextServicesListener();
-		assertTrue(mock instanceof BeanContextServiceRevokedListener);
-	}
-
-}
+/* 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;
+
+import java.beans.BeanInfo;
+import java.beans.DesignMode;
+import java.beans.Visibility;
+import java.beans.beancontext.BeanContext;
+import java.beans.beancontext.BeanContextChild;
+import java.beans.beancontext.BeanContextChildComponentProxy;
+import java.beans.beancontext.BeanContextContainerProxy;
+import java.beans.beancontext.BeanContextMembershipListener;
+import java.beans.beancontext.BeanContextProxy;
+import java.beans.beancontext.BeanContextServiceProvider;
+import java.beans.beancontext.BeanContextServiceProviderBeanInfo;
+import java.beans.beancontext.BeanContextServiceRevokedListener;
+import java.beans.beancontext.BeanContextServices;
+import java.beans.beancontext.BeanContextServicesListener;
+import java.util.Collection;
+import java.util.EventListener;
+
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContext;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextChild;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextChildComponentProxy;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextContainerProxy;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextMembershipListener;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextProxy;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServiceProvider;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServiceProviderBeanInfo;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServiceRevokedListener;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServices;
+import org.apache.harmony.beans.tests.java.beans.beancontext.mock.MockBeanContextServicesListener;
+import junit.framework.TestCase;
+
+/**
+ * Test all interfaces of package java.beans.beancontext
+ */
+public class InterfacesTest extends TestCase {
+
+	public static void main(String[] args) {
+		junit.textui.TestRunner.run(InterfacesTest.class);
+	}
+
+	public void testBeanContext() {
+		BeanContext mock = new MockBeanContext();
+		assertTrue(mock instanceof BeanContextChild);
+		assertTrue(mock instanceof Collection);
+		assertTrue(mock instanceof DesignMode);
+		assertTrue(mock instanceof Visibility);
+	}
+
+	public void testBeanContextChild() {
+		BeanContextChild mock = new MockBeanContextChild();
+	}
+
+	public void testBeanContextChildComponentProxy() {
+		BeanContextChildComponentProxy mock = new MockBeanContextChildComponentProxy();
+	}
+
+	public void testBeanContextContainerProxy() {
+		BeanContextContainerProxy mock = new MockBeanContextContainerProxy();
+	}
+
+	public void testBeanContextMembershipListener() {
+		BeanContextMembershipListener mock = new MockBeanContextMembershipListener();
+		assertTrue(mock instanceof EventListener);
+	}
+
+	public void testBeanContextProxy() {
+		BeanContextProxy mock = new MockBeanContextProxy();
+	}
+
+	public void testBeanContextServiceProvider() {
+		BeanContextServiceProvider mock = new MockBeanContextServiceProvider();
+	}
+
+	public void testBeanContextServiceProviderBeanInfo() {
+		BeanContextServiceProviderBeanInfo mock = new MockBeanContextServiceProviderBeanInfo();
+		assertTrue(mock instanceof BeanInfo);
+	}
+
+	public void testBeanContextServiceRevokedListener() {
+		BeanContextServiceRevokedListener mock = new MockBeanContextServiceRevokedListener();
+		assertTrue(mock instanceof EventListener);
+	}
+
+	public void testBeanContextServices() {
+		BeanContextServices mock = new MockBeanContextServices();
+		assertTrue(mock instanceof BeanContext);
+		assertTrue(mock instanceof BeanContextServicesListener);
+	}
+
+	public void testBeanContextServicesListener() {
+		BeanContextServicesListener mock = new MockBeanContextServicesListener();
+		assertTrue(mock instanceof BeanContextServiceRevokedListener);
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/MethodInvocationRecords.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/MethodInvocationRecords.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/MethodInvocationRecords.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/MethodInvocationRecords.java Wed Jun  7 20:40:24 2006
@@ -1,222 +1,222 @@
-/* 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;
-
-import java.util.ArrayList;
-
-import junit.framework.Assert;
-
-/**
- * Record method invocation input and output.
- */
-public class MethodInvocationRecords extends Assert {
-
-	public static final Object IGNORE = "IGNORE";
-
-	private ArrayList records = new ArrayList();
-
-	private int assertIndex = 0;
-
-	public void clear() {
-		records.clear();
-		assertIndex = 0;
-	}
-
-	public void add(String methodName, Object returnValue) {
-		ArrayList rec = new ArrayList();
-		rec.add(methodName);
-		rec.add(returnValue);
-		records.add(rec);
-	}
-
-	public void add(String methodName, Object arg1, Object returnValue) {
-		ArrayList rec = new ArrayList();
-		rec.add(methodName);
-		rec.add(arg1);
-		rec.add(returnValue);
-		records.add(rec);
-	}
-
-	public void add(String methodName, Object arg1, Object arg2,
-			Object returnValue) {
-		ArrayList rec = new ArrayList();
-		rec.add(methodName);
-		rec.add(arg1);
-		rec.add(arg2);
-		rec.add(returnValue);
-		records.add(rec);
-	}
-
-	public void add(String methodName, Object arg1, Object arg2, Object arg3,
-			Object returnValue) {
-		ArrayList rec = new ArrayList();
-		rec.add(methodName);
-		rec.add(arg1);
-		rec.add(arg2);
-		rec.add(arg3);
-		rec.add(returnValue);
-		records.add(rec);
-	}
-
-	public void add(String methodName, Object arg1, Object arg2, Object arg3,
-			Object arg4, Object returnValue) {
-		ArrayList rec = new ArrayList();
-		rec.add(methodName);
-		rec.add(arg1);
-		rec.add(arg2);
-		rec.add(arg3);
-		rec.add(arg4);
-		rec.add(returnValue);
-		records.add(rec);
-	}
-
-	public void assertRecord(String methodName, Object returnValue) {
-		ArrayList rec = (ArrayList) records.get(assertIndex++);
-		int count = 0;
-		assertEquals(methodName, rec.get(count++));
-		if (returnValue != IGNORE) {
-			assertEquals(returnValue, rec.get(count++));
-		} else {
-			count++;
-		}
-		assertEquals(count, rec.size());
-	}
-
-	public void assertRecord(String methodName, Object arg1, Object returnValue) {
-		ArrayList rec = (ArrayList) records.get(assertIndex++);
-		int count = 0;
-		assertEquals(methodName, rec.get(count++));
-		if (arg1 != IGNORE) {
-			assertEquals(arg1, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (returnValue != IGNORE) {
-			assertEquals(returnValue, rec.get(count++));
-		} else {
-			count++;
-		}
-		assertEquals(count, rec.size());
-	}
-
-	public void assertRecord(String methodName, Object arg1, Object arg2,
-			Object returnValue) {
-		ArrayList rec = (ArrayList) records.get(assertIndex++);
-		int count = 0;
-		assertEquals(methodName, rec.get(count++));
-		if (arg1 != IGNORE) {
-			assertEquals(arg1, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (arg2 != IGNORE) {
-			assertEquals(arg2, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (returnValue != IGNORE) {
-			assertEquals(returnValue, rec.get(count++));
-		} else {
-			count++;
-		}
-		assertEquals(count, rec.size());
-	}
-
-	public void assertRecord(String methodName, Object arg1, Object arg2,
-			Object arg3, Object returnValue) {
-		ArrayList rec = (ArrayList) records.get(assertIndex++);
-		int count = 0;
-		assertEquals(methodName, rec.get(count++));
-		if (arg1 != IGNORE) {
-			assertEquals(arg1, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (arg2 != IGNORE) {
-			assertEquals(arg2, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (arg3 != IGNORE) {
-			assertEquals(arg3, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (returnValue != IGNORE) {
-			assertEquals(returnValue, rec.get(count++));
-		} else {
-			count++;
-		}
-		assertEquals(count, rec.size());
-	}
-
-	public void assertRecord(String methodName, Object arg1, Object arg2,
-			Object arg3, Object arg4, Object returnValue) {
-		ArrayList rec = (ArrayList) records.get(assertIndex++);
-		int count = 0;
-		assertEquals(methodName, rec.get(count++));
-		if (arg1 != IGNORE) {
-			assertEquals(arg1, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (arg2 != IGNORE) {
-			assertEquals(arg2, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (arg3 != IGNORE) {
-			assertEquals(arg3, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (arg4 != IGNORE) {
-			assertEquals(arg4, rec.get(count++));
-		} else {
-			count++;
-		}
-		if (returnValue != IGNORE) {
-			assertEquals(returnValue, rec.get(count++));
-		} else {
-			count++;
-		}
-		assertEquals(count, rec.size());
-	}
-
-	public void assertEndOfRecords() {
-		assertEquals(assertIndex, records.size());
-	}
-
-	public String getMethodName() {
-		ArrayList rec = (ArrayList) records.get(assertIndex);
-		return (String) rec.get(0);
-	}
-
-	public Object getArg(int i) {
-		ArrayList rec = (ArrayList) records.get(assertIndex);
-		return rec.get(i + 1);
-	}
-
-	public Object getReturnValue(int i) {
-		ArrayList rec = (ArrayList) records.get(assertIndex);
-		return rec.get(rec.size() - 1);
-	}
-
-	public String toString() {
-		return records.toString();
-	}
-
-}
+/* 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;
+
+import java.util.ArrayList;
+
+import junit.framework.Assert;
+
+/**
+ * Record method invocation input and output.
+ */
+public class MethodInvocationRecords extends Assert {
+
+	public static final Object IGNORE = "IGNORE";
+
+	private ArrayList records = new ArrayList();
+
+	private int assertIndex = 0;
+
+	public void clear() {
+		records.clear();
+		assertIndex = 0;
+	}
+
+	public void add(String methodName, Object returnValue) {
+		ArrayList rec = new ArrayList();
+		rec.add(methodName);
+		rec.add(returnValue);
+		records.add(rec);
+	}
+
+	public void add(String methodName, Object arg1, Object returnValue) {
+		ArrayList rec = new ArrayList();
+		rec.add(methodName);
+		rec.add(arg1);
+		rec.add(returnValue);
+		records.add(rec);
+	}
+
+	public void add(String methodName, Object arg1, Object arg2,
+			Object returnValue) {
+		ArrayList rec = new ArrayList();
+		rec.add(methodName);
+		rec.add(arg1);
+		rec.add(arg2);
+		rec.add(returnValue);
+		records.add(rec);
+	}
+
+	public void add(String methodName, Object arg1, Object arg2, Object arg3,
+			Object returnValue) {
+		ArrayList rec = new ArrayList();
+		rec.add(methodName);
+		rec.add(arg1);
+		rec.add(arg2);
+		rec.add(arg3);
+		rec.add(returnValue);
+		records.add(rec);
+	}
+
+	public void add(String methodName, Object arg1, Object arg2, Object arg3,
+			Object arg4, Object returnValue) {
+		ArrayList rec = new ArrayList();
+		rec.add(methodName);
+		rec.add(arg1);
+		rec.add(arg2);
+		rec.add(arg3);
+		rec.add(arg4);
+		rec.add(returnValue);
+		records.add(rec);
+	}
+
+	public void assertRecord(String methodName, Object returnValue) {
+		ArrayList rec = (ArrayList) records.get(assertIndex++);
+		int count = 0;
+		assertEquals(methodName, rec.get(count++));
+		if (returnValue != IGNORE) {
+			assertEquals(returnValue, rec.get(count++));
+		} else {
+			count++;
+		}
+		assertEquals(count, rec.size());
+	}
+
+	public void assertRecord(String methodName, Object arg1, Object returnValue) {
+		ArrayList rec = (ArrayList) records.get(assertIndex++);
+		int count = 0;
+		assertEquals(methodName, rec.get(count++));
+		if (arg1 != IGNORE) {
+			assertEquals(arg1, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (returnValue != IGNORE) {
+			assertEquals(returnValue, rec.get(count++));
+		} else {
+			count++;
+		}
+		assertEquals(count, rec.size());
+	}
+
+	public void assertRecord(String methodName, Object arg1, Object arg2,
+			Object returnValue) {
+		ArrayList rec = (ArrayList) records.get(assertIndex++);
+		int count = 0;
+		assertEquals(methodName, rec.get(count++));
+		if (arg1 != IGNORE) {
+			assertEquals(arg1, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (arg2 != IGNORE) {
+			assertEquals(arg2, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (returnValue != IGNORE) {
+			assertEquals(returnValue, rec.get(count++));
+		} else {
+			count++;
+		}
+		assertEquals(count, rec.size());
+	}
+
+	public void assertRecord(String methodName, Object arg1, Object arg2,
+			Object arg3, Object returnValue) {
+		ArrayList rec = (ArrayList) records.get(assertIndex++);
+		int count = 0;
+		assertEquals(methodName, rec.get(count++));
+		if (arg1 != IGNORE) {
+			assertEquals(arg1, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (arg2 != IGNORE) {
+			assertEquals(arg2, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (arg3 != IGNORE) {
+			assertEquals(arg3, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (returnValue != IGNORE) {
+			assertEquals(returnValue, rec.get(count++));
+		} else {
+			count++;
+		}
+		assertEquals(count, rec.size());
+	}
+
+	public void assertRecord(String methodName, Object arg1, Object arg2,
+			Object arg3, Object arg4, Object returnValue) {
+		ArrayList rec = (ArrayList) records.get(assertIndex++);
+		int count = 0;
+		assertEquals(methodName, rec.get(count++));
+		if (arg1 != IGNORE) {
+			assertEquals(arg1, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (arg2 != IGNORE) {
+			assertEquals(arg2, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (arg3 != IGNORE) {
+			assertEquals(arg3, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (arg4 != IGNORE) {
+			assertEquals(arg4, rec.get(count++));
+		} else {
+			count++;
+		}
+		if (returnValue != IGNORE) {
+			assertEquals(returnValue, rec.get(count++));
+		} else {
+			count++;
+		}
+		assertEquals(count, rec.size());
+	}
+
+	public void assertEndOfRecords() {
+		assertEquals(assertIndex, records.size());
+	}
+
+	public String getMethodName() {
+		ArrayList rec = (ArrayList) records.get(assertIndex);
+		return (String) rec.get(0);
+	}
+
+	public Object getArg(int i) {
+		ArrayList rec = (ArrayList) records.get(assertIndex);
+		return rec.get(i + 1);
+	}
+
+	public Object getReturnValue(int i) {
+		ArrayList rec = (ArrayList) records.get(assertIndex);
+		return rec.get(rec.size() - 1);
+	}
+
+	public String toString() {
+		return records.toString();
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/Utils.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/Utils.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/Utils.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/Utils.java Wed Jun  7 20:40:24 2006
@@ -1,37 +1,37 @@
-/* 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;
-
-import java.lang.reflect.Field;
-
-/**
- * Util class
- */
-public class Utils {
-
-    public static Object getField(Object obj, String fieldName) {
-        try {
-            Field fld = obj.getClass().getDeclaredField(fieldName);
-            fld.setAccessible(true);
-            return fld.get(obj);
-        } catch (Exception e) {
-            e.printStackTrace();
-            throw new RuntimeException("failed to get field by force");
-        }
-    }
-
-}
-
+/* 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;
+
+import java.lang.reflect.Field;
+
+/**
+ * Util class
+ */
+public class Utils {
+
+    public static Object getField(Object obj, String fieldName) {
+        try {
+            Field fld = obj.getClass().getDeclaredField(fieldName);
+            fld.setAccessible(true);
+            return fld.get(obj);
+        } catch (Exception e) {
+            e.printStackTrace();
+            throw new RuntimeException("failed to get field by force");
+        }
+    }
+
+}
+

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContext.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/MockBeanContext.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/MockBeanContext.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContext.java Wed Jun  7 20:40:24 2006
@@ -1,350 +1,350 @@
-/* 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.PropertyChangeListener;
-import java.beans.PropertyVetoException;
-import java.beans.VetoableChangeListener;
-import java.beans.beancontext.BeanContext;
-import java.beans.beancontext.BeanContextChild;
-import java.beans.beancontext.BeanContextMembershipListener;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URL;
-import java.util.Collection;
-import java.util.Iterator;
-
-/**
- * Mock of BeanContext
- */
-public class MockBeanContext implements BeanContext {
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContext#instantiateChild(java.lang.String)
-	 */
-	public Object instantiateChild(String beanName) throws IOException,
-			ClassNotFoundException {
-		// Auto-generated method stub
-		return null;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContext#getResourceAsStream(java.lang.String,
-	 *      java.beans.beancontext.BeanContextChild)
-	 */
-	public InputStream getResourceAsStream(String name, BeanContextChild bcc)
-			throws IllegalArgumentException {
-		// Auto-generated method stub
-		return null;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContext#getResource(java.lang.String,
-	 *      java.beans.beancontext.BeanContextChild)
-	 */
-	public URL getResource(String name, BeanContextChild bcc)
-			throws IllegalArgumentException {
-		// Auto-generated method stub
-		return null;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContext#addBeanContextMembershipListener(java.beans.beancontext.BeanContextMembershipListener)
-	 */
-	public void addBeanContextMembershipListener(
-			BeanContextMembershipListener bcml) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContext#removeBeanContextMembershipListener(java.beans.beancontext.BeanContextMembershipListener)
-	 */
-	public void removeBeanContextMembershipListener(
-			BeanContextMembershipListener bcml) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#setBeanContext(java.beans.beancontext.BeanContext)
-	 */
-	public void setBeanContext(BeanContext bc) throws PropertyVetoException {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#getBeanContext()
-	 */
-	public BeanContext getBeanContext() {
-		// Auto-generated method stub
-		return null;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#addPropertyChangeListener(java.lang.String,
-	 *      java.beans.PropertyChangeListener)
-	 */
-	public void addPropertyChangeListener(String name,
-			PropertyChangeListener pcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#removePropertyChangeListener(java.lang.String,
-	 *      java.beans.PropertyChangeListener)
-	 */
-	public void removePropertyChangeListener(String name,
-			PropertyChangeListener pcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#addVetoableChangeListener(java.lang.String,
-	 *      java.beans.VetoableChangeListener)
-	 */
-	public void addVetoableChangeListener(String name,
-			VetoableChangeListener vcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#removeVetoableChangeListener(java.lang.String,
-	 *      java.beans.VetoableChangeListener)
-	 */
-	public void removeVetoableChangeListener(String name,
-			VetoableChangeListener vcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#size()
-	 */
-	public int size() {
-		// Auto-generated method stub
-		return 0;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#isEmpty()
-	 */
-	public boolean isEmpty() {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#contains(java.lang.Object)
-	 */
-	public boolean contains(Object o) {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#iterator()
-	 */
-	public Iterator iterator() {
-		// Auto-generated method stub
-		return null;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#toArray()
-	 */
-	public Object[] toArray() {
-		// Auto-generated method stub
-		return null;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#toArray(java.lang.Object[])
-	 */
-	public Object[] toArray(Object[] a) {
-		// Auto-generated method stub
-		return null;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#add(java.lang.Object)
-	 */
-	public boolean add(Object o) {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#remove(java.lang.Object)
-	 */
-	public boolean remove(Object o) {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#containsAll(java.util.Collection)
-	 */
-	public boolean containsAll(Collection c) {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#addAll(java.util.Collection)
-	 */
-	public boolean addAll(Collection c) {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#removeAll(java.util.Collection)
-	 */
-	public boolean removeAll(Collection c) {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#retainAll(java.util.Collection)
-	 */
-	public boolean retainAll(Collection c) {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.util.Collection#clear()
-	 */
-	public void clear() {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.DesignMode#setDesignTime(boolean)
-	 */
-	public void setDesignTime(boolean designTime) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.DesignMode#isDesignTime()
-	 */
-	public boolean isDesignTime() {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.Visibility#needsGui()
-	 */
-	public boolean needsGui() {
-		// Auto-generated method stub
-		return false;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.Visibility#dontUseGui()
-	 */
-	public void dontUseGui() {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.Visibility#okToUseGui()
-	 */
-	public void okToUseGui() {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.Visibility#avoidingGui()
-	 */
-	public boolean avoidingGui() {
-		// 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.beancontext.mock;
+
+import java.beans.PropertyChangeListener;
+import java.beans.PropertyVetoException;
+import java.beans.VetoableChangeListener;
+import java.beans.beancontext.BeanContext;
+import java.beans.beancontext.BeanContextChild;
+import java.beans.beancontext.BeanContextMembershipListener;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+import java.util.Collection;
+import java.util.Iterator;
+
+/**
+ * Mock of BeanContext
+ */
+public class MockBeanContext implements BeanContext {
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContext#instantiateChild(java.lang.String)
+	 */
+	public Object instantiateChild(String beanName) throws IOException,
+			ClassNotFoundException {
+		// Auto-generated method stub
+		return null;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContext#getResourceAsStream(java.lang.String,
+	 *      java.beans.beancontext.BeanContextChild)
+	 */
+	public InputStream getResourceAsStream(String name, BeanContextChild bcc)
+			throws IllegalArgumentException {
+		// Auto-generated method stub
+		return null;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContext#getResource(java.lang.String,
+	 *      java.beans.beancontext.BeanContextChild)
+	 */
+	public URL getResource(String name, BeanContextChild bcc)
+			throws IllegalArgumentException {
+		// Auto-generated method stub
+		return null;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContext#addBeanContextMembershipListener(java.beans.beancontext.BeanContextMembershipListener)
+	 */
+	public void addBeanContextMembershipListener(
+			BeanContextMembershipListener bcml) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContext#removeBeanContextMembershipListener(java.beans.beancontext.BeanContextMembershipListener)
+	 */
+	public void removeBeanContextMembershipListener(
+			BeanContextMembershipListener bcml) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#setBeanContext(java.beans.beancontext.BeanContext)
+	 */
+	public void setBeanContext(BeanContext bc) throws PropertyVetoException {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#getBeanContext()
+	 */
+	public BeanContext getBeanContext() {
+		// Auto-generated method stub
+		return null;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#addPropertyChangeListener(java.lang.String,
+	 *      java.beans.PropertyChangeListener)
+	 */
+	public void addPropertyChangeListener(String name,
+			PropertyChangeListener pcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#removePropertyChangeListener(java.lang.String,
+	 *      java.beans.PropertyChangeListener)
+	 */
+	public void removePropertyChangeListener(String name,
+			PropertyChangeListener pcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#addVetoableChangeListener(java.lang.String,
+	 *      java.beans.VetoableChangeListener)
+	 */
+	public void addVetoableChangeListener(String name,
+			VetoableChangeListener vcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#removeVetoableChangeListener(java.lang.String,
+	 *      java.beans.VetoableChangeListener)
+	 */
+	public void removeVetoableChangeListener(String name,
+			VetoableChangeListener vcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#size()
+	 */
+	public int size() {
+		// Auto-generated method stub
+		return 0;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#isEmpty()
+	 */
+	public boolean isEmpty() {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#contains(java.lang.Object)
+	 */
+	public boolean contains(Object o) {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#iterator()
+	 */
+	public Iterator iterator() {
+		// Auto-generated method stub
+		return null;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#toArray()
+	 */
+	public Object[] toArray() {
+		// Auto-generated method stub
+		return null;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#toArray(java.lang.Object[])
+	 */
+	public Object[] toArray(Object[] a) {
+		// Auto-generated method stub
+		return null;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#add(java.lang.Object)
+	 */
+	public boolean add(Object o) {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#remove(java.lang.Object)
+	 */
+	public boolean remove(Object o) {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#containsAll(java.util.Collection)
+	 */
+	public boolean containsAll(Collection c) {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#addAll(java.util.Collection)
+	 */
+	public boolean addAll(Collection c) {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#removeAll(java.util.Collection)
+	 */
+	public boolean removeAll(Collection c) {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#retainAll(java.util.Collection)
+	 */
+	public boolean retainAll(Collection c) {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.util.Collection#clear()
+	 */
+	public void clear() {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.DesignMode#setDesignTime(boolean)
+	 */
+	public void setDesignTime(boolean designTime) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.DesignMode#isDesignTime()
+	 */
+	public boolean isDesignTime() {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.Visibility#needsGui()
+	 */
+	public boolean needsGui() {
+		// Auto-generated method stub
+		return false;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.Visibility#dontUseGui()
+	 */
+	public void dontUseGui() {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.Visibility#okToUseGui()
+	 */
+	public void okToUseGui() {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.Visibility#avoidingGui()
+	 */
+	public boolean avoidingGui() {
+		// Auto-generated method stub
+		return false;
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextChild.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/MockBeanContextChild.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/MockBeanContextChild.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextChild.java Wed Jun  7 20:40:24 2006
@@ -1,97 +1,97 @@
-/* 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.PropertyChangeListener;
-import java.beans.PropertyVetoException;
-import java.beans.VetoableChangeListener;
-import java.beans.beancontext.BeanContext;
-
-/**
- * Mock of BeanContextChild
- */
-public class MockBeanContextChild implements
-		java.beans.beancontext.BeanContextChild {
-
-	private BeanContext ctx;
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#setBeanContext(java.beans.beancontext.BeanContext)
-	 */
-	public void setBeanContext(BeanContext bc) throws PropertyVetoException {
-		ctx = bc;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#getBeanContext()
-	 */
-	public BeanContext getBeanContext() {
-		return ctx;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#addPropertyChangeListener(java.lang.String,
-	 *      java.beans.PropertyChangeListener)
-	 */
-	public void addPropertyChangeListener(String name,
-			PropertyChangeListener pcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#removePropertyChangeListener(java.lang.String,
-	 *      java.beans.PropertyChangeListener)
-	 */
-	public void removePropertyChangeListener(String name,
-			PropertyChangeListener pcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#addVetoableChangeListener(java.lang.String,
-	 *      java.beans.VetoableChangeListener)
-	 */
-	public void addVetoableChangeListener(String name,
-			VetoableChangeListener vcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#removeVetoableChangeListener(java.lang.String,
-	 *      java.beans.VetoableChangeListener)
-	 */
-	public void removeVetoableChangeListener(String name,
-			VetoableChangeListener vcl) {
-		// Auto-generated method stub
-
-	}
-
-}
+/* 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.PropertyChangeListener;
+import java.beans.PropertyVetoException;
+import java.beans.VetoableChangeListener;
+import java.beans.beancontext.BeanContext;
+
+/**
+ * Mock of BeanContextChild
+ */
+public class MockBeanContextChild implements
+		java.beans.beancontext.BeanContextChild {
+
+	private BeanContext ctx;
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#setBeanContext(java.beans.beancontext.BeanContext)
+	 */
+	public void setBeanContext(BeanContext bc) throws PropertyVetoException {
+		ctx = bc;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#getBeanContext()
+	 */
+	public BeanContext getBeanContext() {
+		return ctx;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#addPropertyChangeListener(java.lang.String,
+	 *      java.beans.PropertyChangeListener)
+	 */
+	public void addPropertyChangeListener(String name,
+			PropertyChangeListener pcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#removePropertyChangeListener(java.lang.String,
+	 *      java.beans.PropertyChangeListener)
+	 */
+	public void removePropertyChangeListener(String name,
+			PropertyChangeListener pcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#addVetoableChangeListener(java.lang.String,
+	 *      java.beans.VetoableChangeListener)
+	 */
+	public void addVetoableChangeListener(String name,
+			VetoableChangeListener vcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#removeVetoableChangeListener(java.lang.String,
+	 *      java.beans.VetoableChangeListener)
+	 */
+	public void removeVetoableChangeListener(String name,
+			VetoableChangeListener vcl) {
+		// Auto-generated method stub
+
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextChildComponentProxy.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/MockBeanContextChildComponentProxy.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/MockBeanContextChildComponentProxy.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextChildComponentProxy.java Wed Jun  7 20:40:24 2006
@@ -1,36 +1,36 @@
-/* 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.awt.Component;
-
-/**
- * Mock of BeanContextChildComponentProxy
- */
-public class MockBeanContextChildComponentProxy implements
-		java.beans.beancontext.BeanContextChildComponentProxy {
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChildComponentProxy#getComponent()
-	 */
-	public Component getComponent() {
-		// Auto-generated method stub
-		return null;
-	}
-
-}
+/* 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.awt.Component;
+
+/**
+ * Mock of BeanContextChildComponentProxy
+ */
+public class MockBeanContextChildComponentProxy implements
+		java.beans.beancontext.BeanContextChildComponentProxy {
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChildComponentProxy#getComponent()
+	 */
+	public Component getComponent() {
+		// Auto-generated method stub
+		return null;
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextChildDelegateS.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/MockBeanContextChildDelegateS.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/MockBeanContextChildDelegateS.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextChildDelegateS.java Wed Jun  7 20:40:24 2006
@@ -1,90 +1,90 @@
-/* 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.PropertyChangeListener;
-import java.beans.PropertyVetoException;
-import java.beans.VetoableChangeListener;
-import java.beans.beancontext.BeanContext;
-import java.beans.beancontext.BeanContextChild;
-import java.beans.beancontext.BeanContextChildSupport;
-import java.io.Serializable;
-
-/**
- * Delegate to BeanContextChildSupport
- */
-public class MockBeanContextChildDelegateS implements BeanContextChild,
-		Serializable {
-
-	public String id;
-
-	public BeanContextChildSupport support = new BeanContextChildSupport(this);
-
-	public MockBeanContextChildDelegateS(String id) {
-		this.id = id;
-	}
-
-	/**
-	 * @param name
-	 * @param pcl
-	 */
-	public void addPropertyChangeListener(String name,
-			PropertyChangeListener pcl) {
-		support.addPropertyChangeListener(name, pcl);
-	}
-
-	/**
-	 * @param name
-	 * @param vcl
-	 */
-	public void addVetoableChangeListener(String name,
-			VetoableChangeListener vcl) {
-		support.addVetoableChangeListener(name, vcl);
-	}
-
-	/**
-	 * @return
-	 */
-	public BeanContext getBeanContext() {
-		return support.getBeanContext();
-	}
-
-	/**
-	 * @param name
-	 * @param pcl
-	 */
-	public void removePropertyChangeListener(String name,
-			PropertyChangeListener pcl) {
-		support.removePropertyChangeListener(name, pcl);
-	}
-
-	/**
-	 * @param name
-	 * @param vcl
-	 */
-	public void removeVetoableChangeListener(String name,
-			VetoableChangeListener vcl) {
-		support.removeVetoableChangeListener(name, vcl);
-	}
-
-	/**
-	 * @param bc
-	 * @throws java.beans.PropertyVetoException
-	 */
-	public void setBeanContext(BeanContext bc) throws PropertyVetoException {
-		support.setBeanContext(bc);
-	}
-}
+/* 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.PropertyChangeListener;
+import java.beans.PropertyVetoException;
+import java.beans.VetoableChangeListener;
+import java.beans.beancontext.BeanContext;
+import java.beans.beancontext.BeanContextChild;
+import java.beans.beancontext.BeanContextChildSupport;
+import java.io.Serializable;
+
+/**
+ * Delegate to BeanContextChildSupport
+ */
+public class MockBeanContextChildDelegateS implements BeanContextChild,
+		Serializable {
+
+	public String id;
+
+	public BeanContextChildSupport support = new BeanContextChildSupport(this);
+
+	public MockBeanContextChildDelegateS(String id) {
+		this.id = id;
+	}
+
+	/**
+	 * @param name
+	 * @param pcl
+	 */
+	public void addPropertyChangeListener(String name,
+			PropertyChangeListener pcl) {
+		support.addPropertyChangeListener(name, pcl);
+	}
+
+	/**
+	 * @param name
+	 * @param vcl
+	 */
+	public void addVetoableChangeListener(String name,
+			VetoableChangeListener vcl) {
+		support.addVetoableChangeListener(name, vcl);
+	}
+
+	/**
+	 * @return
+	 */
+	public BeanContext getBeanContext() {
+		return support.getBeanContext();
+	}
+
+	/**
+	 * @param name
+	 * @param pcl
+	 */
+	public void removePropertyChangeListener(String name,
+			PropertyChangeListener pcl) {
+		support.removePropertyChangeListener(name, pcl);
+	}
+
+	/**
+	 * @param name
+	 * @param vcl
+	 */
+	public void removeVetoableChangeListener(String name,
+			VetoableChangeListener vcl) {
+		support.removeVetoableChangeListener(name, vcl);
+	}
+
+	/**
+	 * @param bc
+	 * @throws java.beans.PropertyVetoException
+	 */
+	public void setBeanContext(BeanContext bc) throws PropertyVetoException {
+		support.setBeanContext(bc);
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextChildS.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/MockBeanContextChildS.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/MockBeanContextChildS.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextChildS.java Wed Jun  7 20:40:24 2006
@@ -1,115 +1,115 @@
-/* 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.PropertyChangeListener;
-import java.beans.PropertyVetoException;
-import java.beans.VetoableChangeListener;
-import java.beans.beancontext.BeanContext;
-import java.beans.beancontext.BeanContextChild;
-import java.io.Serializable;
-
-/**
- * Mock of BeanContextChild
- */
-public class MockBeanContextChildS implements BeanContextChild, Serializable {
-
-	public String id;
-
-	private BeanContext ctx;
-
-	public MockBeanContextChildS(String id) {
-		this.id = id;
-	}
-
-	public boolean equals(Object o) {
-		if (o instanceof MockBeanContextChildS) {
-			return id.equals(((MockBeanContextChildS) o).id);
-		}
-		return false;
-	}
-
-	public int hashCode() {
-		return id.hashCode();
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#setBeanContext(java.beans.beancontext.BeanContext)
-	 */
-	public void setBeanContext(BeanContext bc) throws PropertyVetoException {
-		ctx = bc;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#getBeanContext()
-	 */
-	public BeanContext getBeanContext() {
-		return ctx;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#addPropertyChangeListener(java.lang.String,
-	 *      java.beans.PropertyChangeListener)
-	 */
-	public void addPropertyChangeListener(String name,
-			PropertyChangeListener pcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#removePropertyChangeListener(java.lang.String,
-	 *      java.beans.PropertyChangeListener)
-	 */
-	public void removePropertyChangeListener(String name,
-			PropertyChangeListener pcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#addVetoableChangeListener(java.lang.String,
-	 *      java.beans.VetoableChangeListener)
-	 */
-	public void addVetoableChangeListener(String name,
-			VetoableChangeListener vcl) {
-		// Auto-generated method stub
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextChild#removeVetoableChangeListener(java.lang.String,
-	 *      java.beans.VetoableChangeListener)
-	 */
-	public void removeVetoableChangeListener(String name,
-			VetoableChangeListener vcl) {
-		// Auto-generated method stub
-
-	}
-
-}
+/* 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.PropertyChangeListener;
+import java.beans.PropertyVetoException;
+import java.beans.VetoableChangeListener;
+import java.beans.beancontext.BeanContext;
+import java.beans.beancontext.BeanContextChild;
+import java.io.Serializable;
+
+/**
+ * Mock of BeanContextChild
+ */
+public class MockBeanContextChildS implements BeanContextChild, Serializable {
+
+	public String id;
+
+	private BeanContext ctx;
+
+	public MockBeanContextChildS(String id) {
+		this.id = id;
+	}
+
+	public boolean equals(Object o) {
+		if (o instanceof MockBeanContextChildS) {
+			return id.equals(((MockBeanContextChildS) o).id);
+		}
+		return false;
+	}
+
+	public int hashCode() {
+		return id.hashCode();
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#setBeanContext(java.beans.beancontext.BeanContext)
+	 */
+	public void setBeanContext(BeanContext bc) throws PropertyVetoException {
+		ctx = bc;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#getBeanContext()
+	 */
+	public BeanContext getBeanContext() {
+		return ctx;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#addPropertyChangeListener(java.lang.String,
+	 *      java.beans.PropertyChangeListener)
+	 */
+	public void addPropertyChangeListener(String name,
+			PropertyChangeListener pcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#removePropertyChangeListener(java.lang.String,
+	 *      java.beans.PropertyChangeListener)
+	 */
+	public void removePropertyChangeListener(String name,
+			PropertyChangeListener pcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#addVetoableChangeListener(java.lang.String,
+	 *      java.beans.VetoableChangeListener)
+	 */
+	public void addVetoableChangeListener(String name,
+			VetoableChangeListener vcl) {
+		// Auto-generated method stub
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextChild#removeVetoableChangeListener(java.lang.String,
+	 *      java.beans.VetoableChangeListener)
+	 */
+	public void removeVetoableChangeListener(String name,
+			VetoableChangeListener vcl) {
+		// Auto-generated method stub
+
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextContainerProxy.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/MockBeanContextContainerProxy.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/MockBeanContextContainerProxy.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextContainerProxy.java Wed Jun  7 20:40:24 2006
@@ -1,36 +1,36 @@
-/* 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.awt.Container;
-import java.beans.beancontext.BeanContextContainerProxy;
-
-/**
- * Mock of BeanContextContainerProxy
- */
-public class MockBeanContextContainerProxy implements BeanContextContainerProxy {
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.beans.beancontext.BeanContextContainerProxy#getContainer()
-	 */
-	public Container getContainer() {
-		// Auto-generated method stub
-		return null;
-	}
-
-}
+/* 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.awt.Container;
+import java.beans.beancontext.BeanContextContainerProxy;
+
+/**
+ * Mock of BeanContextContainerProxy
+ */
+public class MockBeanContextContainerProxy implements BeanContextContainerProxy {
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.beans.beancontext.BeanContextContainerProxy#getContainer()
+	 */
+	public Container getContainer() {
+		// Auto-generated method stub
+		return null;
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextDelegateS.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/MockBeanContextDelegateS.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/MockBeanContextDelegateS.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/beancontext/mock/MockBeanContextDelegateS.java Wed Jun  7 20:40:24 2006
@@ -1,430 +1,430 @@
-/* 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.PropertyChangeListener;
-import java.beans.PropertyVetoException;
-import java.beans.VetoableChangeListener;
-import java.beans.beancontext.BeanContext;
-import java.beans.beancontext.BeanContextChild;
-import java.beans.beancontext.BeanContextMembershipListener;
-import java.beans.beancontext.BeanContextServiceAvailableEvent;
-import java.beans.beancontext.BeanContextServiceRevokedEvent;
-import java.beans.beancontext.BeanContextSupport;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-import java.io.Serializable;
-import java.net.URL;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.Locale;
-
-/**
- * Mock of BeanContext
- */
-public class MockBeanContextDelegateS implements BeanContext, Serializable {
-
-	public BeanContextSupport support = new BeanContextSupport(this, Locale.US);
-
-	public String id;
-
-	public MockBeanContextDelegateS(String id) {
-		this.id = id;
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean add(Object arg0) {
-		return support.add(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean addAll(Collection arg0) {
-		return support.addAll(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 */
-	public void addBeanContextMembershipListener(
-			BeanContextMembershipListener arg0) {
-		support.addBeanContextMembershipListener(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 */
-	public void addPropertyChangeListener(String arg0,
-			PropertyChangeListener arg1) {
-		support.addPropertyChangeListener(arg0, arg1);
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 */
-	public void addVetoableChangeListener(String arg0,
-			VetoableChangeListener arg1) {
-		support.addVetoableChangeListener(arg0, arg1);
-	}
-
-	/**
-	 * @return
-	 */
-	public boolean avoidingGui() {
-		return support.avoidingGui();
-	}
-
-	/**
-	 * 
-	 */
-	public void clear() {
-		support.clear();
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean contains(Object arg0) {
-		return support.contains(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean containsAll(Collection arg0) {
-		return support.containsAll(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean containsKey(Object arg0) {
-		return support.containsKey(arg0);
-	}
-
-	/**
-	 * 
-	 */
-	public void dontUseGui() {
-		support.dontUseGui();
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 * @param arg2
-	 */
-	public void firePropertyChange(String arg0, Object arg1, Object arg2) {
-		support.firePropertyChange(arg0, arg1, arg2);
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 * @param arg2
-	 * @throws java.beans.PropertyVetoException
-	 */
-	public void fireVetoableChange(String arg0, Object arg1, Object arg2)
-			throws PropertyVetoException {
-		support.fireVetoableChange(arg0, arg1, arg2);
-	}
-
-	/**
-	 * @return
-	 */
-	public BeanContext getBeanContext() {
-		return support.getBeanContext();
-	}
-
-	/**
-	 * @return
-	 */
-	public BeanContextChild getBeanContextChildPeer() {
-		return support.getBeanContextChildPeer();
-	}
-
-	/**
-	 * @return
-	 */
-	public BeanContext getBeanContextPeer() {
-		return support.getBeanContextPeer();
-	}
-
-	/**
-	 * @return
-	 */
-	public Locale getLocale() {
-		return support.getLocale();
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 * @return
-	 * @throws java.lang.IllegalArgumentException
-	 */
-	public URL getResource(String arg0, BeanContextChild arg1)
-			throws IllegalArgumentException {
-		return support.getResource(arg0, arg1);
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 * @return
-	 * @throws java.lang.IllegalArgumentException
-	 */
-	public InputStream getResourceAsStream(String arg0, BeanContextChild arg1)
-			throws IllegalArgumentException {
-		return support.getResourceAsStream(arg0, arg1);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 * @throws java.io.IOException
-	 * @throws java.lang.ClassNotFoundException
-	 */
-	public Object instantiateChild(String arg0) throws IOException,
-			ClassNotFoundException {
-		return support.instantiateChild(arg0);
-	}
-
-	/**
-	 * @return
-	 */
-	public boolean isDelegated() {
-		return support.isDelegated();
-	}
-
-	/**
-	 * @return
-	 */
-	public boolean isDesignTime() {
-		return support.isDesignTime();
-	}
-
-	/**
-	 * @return
-	 */
-	public boolean isEmpty() {
-		return support.isEmpty();
-	}
-
-	/**
-	 * @return
-	 */
-	public boolean isSerializing() {
-		return support.isSerializing();
-	}
-
-	/**
-	 * @return
-	 */
-	public Iterator iterator() {
-		return support.iterator();
-	}
-
-	/**
-	 * @return
-	 */
-	public boolean needsGui() {
-		return support.needsGui();
-	}
-
-	/**
-	 * 
-	 */
-	public void okToUseGui() {
-		support.okToUseGui();
-	}
-
-	/**
-	 * @param arg0
-	 */
-	public void propertyChange(PropertyChangeEvent arg0) {
-		support.propertyChange(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @throws java.io.IOException
-	 * @throws java.lang.ClassNotFoundException
-	 */
-	public void readChildren(ObjectInputStream arg0) throws IOException,
-			ClassNotFoundException {
-		support.readChildren(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean remove(Object arg0) {
-		return support.remove(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean removeAll(Collection arg0) {
-		return support.removeAll(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 */
-	public void removeBeanContextMembershipListener(
-			BeanContextMembershipListener arg0) {
-		support.removeBeanContextMembershipListener(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 */
-	public void removePropertyChangeListener(String arg0,
-			PropertyChangeListener arg1) {
-		support.removePropertyChangeListener(arg0, arg1);
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 */
-	public void removeVetoableChangeListener(String arg0,
-			VetoableChangeListener arg1) {
-		support.removeVetoableChangeListener(arg0, arg1);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean retainAll(Collection arg0) {
-		return support.retainAll(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 */
-	public void serviceAvailable(BeanContextServiceAvailableEvent arg0) {
-		support.serviceAvailable(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 */
-	public void serviceRevoked(BeanContextServiceRevokedEvent arg0) {
-		support.serviceRevoked(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @throws java.beans.PropertyVetoException
-	 */
-	public void setBeanContext(BeanContext arg0) throws PropertyVetoException {
-		support.setBeanContext(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 */
-	public void setDesignTime(boolean arg0) {
-		support.setDesignTime(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @throws java.beans.PropertyVetoException
-	 */
-	public void setLocale(Locale arg0) throws PropertyVetoException {
-		support.setLocale(arg0);
-	}
-
-	/**
-	 * @return
-	 */
-	public int size() {
-		return support.size();
-	}
-
-	/**
-	 * @return
-	 */
-	public Object[] toArray() {
-		return support.toArray();
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public Object[] toArray(Object[] arg0) {
-		return support.toArray(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean validatePendingSetBeanContext(BeanContext arg0) {
-		return support.validatePendingSetBeanContext(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @throws java.beans.PropertyVetoException
-	 */
-	public void vetoableChange(PropertyChangeEvent arg0)
-			throws PropertyVetoException {
-		support.vetoableChange(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @throws java.io.IOException
-	 */
-	public void writeChildren(ObjectOutputStream arg0) throws IOException {
-		support.writeChildren(arg0);
-	}
-
-	private void writeObject(ObjectOutputStream oos) throws IOException {
-		oos.defaultWriteObject();
-		support.writeChildren(oos);
-	}
-
-	private void readObject(ObjectInputStream ois) throws IOException,
-			ClassNotFoundException {
-		ois.defaultReadObject();
-		support.readChildren(ois);
-	}
-
-}
+/* 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.PropertyChangeListener;
+import java.beans.PropertyVetoException;
+import java.beans.VetoableChangeListener;
+import java.beans.beancontext.BeanContext;
+import java.beans.beancontext.BeanContextChild;
+import java.beans.beancontext.BeanContextMembershipListener;
+import java.beans.beancontext.BeanContextServiceAvailableEvent;
+import java.beans.beancontext.BeanContextServiceRevokedEvent;
+import java.beans.beancontext.BeanContextSupport;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+import java.io.Serializable;
+import java.net.URL;
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.Locale;
+
+/**
+ * Mock of BeanContext
+ */
+public class MockBeanContextDelegateS implements BeanContext, Serializable {
+
+	public BeanContextSupport support = new BeanContextSupport(this, Locale.US);
+
+	public String id;
+
+	public MockBeanContextDelegateS(String id) {
+		this.id = id;
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean add(Object arg0) {
+		return support.add(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean addAll(Collection arg0) {
+		return support.addAll(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 */
+	public void addBeanContextMembershipListener(
+			BeanContextMembershipListener arg0) {
+		support.addBeanContextMembershipListener(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 */
+	public void addPropertyChangeListener(String arg0,
+			PropertyChangeListener arg1) {
+		support.addPropertyChangeListener(arg0, arg1);
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 */
+	public void addVetoableChangeListener(String arg0,
+			VetoableChangeListener arg1) {
+		support.addVetoableChangeListener(arg0, arg1);
+	}
+
+	/**
+	 * @return
+	 */
+	public boolean avoidingGui() {
+		return support.avoidingGui();
+	}
+
+	/**
+	 * 
+	 */
+	public void clear() {
+		support.clear();
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean contains(Object arg0) {
+		return support.contains(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean containsAll(Collection arg0) {
+		return support.containsAll(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean containsKey(Object arg0) {
+		return support.containsKey(arg0);
+	}
+
+	/**
+	 * 
+	 */
+	public void dontUseGui() {
+		support.dontUseGui();
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 * @param arg2
+	 */
+	public void firePropertyChange(String arg0, Object arg1, Object arg2) {
+		support.firePropertyChange(arg0, arg1, arg2);
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 * @param arg2
+	 * @throws java.beans.PropertyVetoException
+	 */
+	public void fireVetoableChange(String arg0, Object arg1, Object arg2)
+			throws PropertyVetoException {
+		support.fireVetoableChange(arg0, arg1, arg2);
+	}
+
+	/**
+	 * @return
+	 */
+	public BeanContext getBeanContext() {
+		return support.getBeanContext();
+	}
+
+	/**
+	 * @return
+	 */
+	public BeanContextChild getBeanContextChildPeer() {
+		return support.getBeanContextChildPeer();
+	}
+
+	/**
+	 * @return
+	 */
+	public BeanContext getBeanContextPeer() {
+		return support.getBeanContextPeer();
+	}
+
+	/**
+	 * @return
+	 */
+	public Locale getLocale() {
+		return support.getLocale();
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 * @return
+	 * @throws java.lang.IllegalArgumentException
+	 */
+	public URL getResource(String arg0, BeanContextChild arg1)
+			throws IllegalArgumentException {
+		return support.getResource(arg0, arg1);
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 * @return
+	 * @throws java.lang.IllegalArgumentException
+	 */
+	public InputStream getResourceAsStream(String arg0, BeanContextChild arg1)
+			throws IllegalArgumentException {
+		return support.getResourceAsStream(arg0, arg1);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 * @throws java.io.IOException
+	 * @throws java.lang.ClassNotFoundException
+	 */
+	public Object instantiateChild(String arg0) throws IOException,
+			ClassNotFoundException {
+		return support.instantiateChild(arg0);
+	}
+
+	/**
+	 * @return
+	 */
+	public boolean isDelegated() {
+		return support.isDelegated();
+	}
+
+	/**
+	 * @return
+	 */
+	public boolean isDesignTime() {
+		return support.isDesignTime();
+	}
+
+	/**
+	 * @return
+	 */
+	public boolean isEmpty() {
+		return support.isEmpty();
+	}
+
+	/**
+	 * @return
+	 */
+	public boolean isSerializing() {
+		return support.isSerializing();
+	}
+
+	/**
+	 * @return
+	 */
+	public Iterator iterator() {
+		return support.iterator();
+	}
+
+	/**
+	 * @return
+	 */
+	public boolean needsGui() {
+		return support.needsGui();
+	}
+
+	/**
+	 * 
+	 */
+	public void okToUseGui() {
+		support.okToUseGui();
+	}
+
+	/**
+	 * @param arg0
+	 */
+	public void propertyChange(PropertyChangeEvent arg0) {
+		support.propertyChange(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @throws java.io.IOException
+	 * @throws java.lang.ClassNotFoundException
+	 */
+	public void readChildren(ObjectInputStream arg0) throws IOException,
+			ClassNotFoundException {
+		support.readChildren(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean remove(Object arg0) {
+		return support.remove(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean removeAll(Collection arg0) {
+		return support.removeAll(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 */
+	public void removeBeanContextMembershipListener(
+			BeanContextMembershipListener arg0) {
+		support.removeBeanContextMembershipListener(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 */
+	public void removePropertyChangeListener(String arg0,
+			PropertyChangeListener arg1) {
+		support.removePropertyChangeListener(arg0, arg1);
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 */
+	public void removeVetoableChangeListener(String arg0,
+			VetoableChangeListener arg1) {
+		support.removeVetoableChangeListener(arg0, arg1);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean retainAll(Collection arg0) {
+		return support.retainAll(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 */
+	public void serviceAvailable(BeanContextServiceAvailableEvent arg0) {
+		support.serviceAvailable(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 */
+	public void serviceRevoked(BeanContextServiceRevokedEvent arg0) {
+		support.serviceRevoked(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @throws java.beans.PropertyVetoException
+	 */
+	public void setBeanContext(BeanContext arg0) throws PropertyVetoException {
+		support.setBeanContext(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 */
+	public void setDesignTime(boolean arg0) {
+		support.setDesignTime(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @throws java.beans.PropertyVetoException
+	 */
+	public void setLocale(Locale arg0) throws PropertyVetoException {
+		support.setLocale(arg0);
+	}
+
+	/**
+	 * @return
+	 */
+	public int size() {
+		return support.size();
+	}
+
+	/**
+	 * @return
+	 */
+	public Object[] toArray() {
+		return support.toArray();
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public Object[] toArray(Object[] arg0) {
+		return support.toArray(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean validatePendingSetBeanContext(BeanContext arg0) {
+		return support.validatePendingSetBeanContext(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @throws java.beans.PropertyVetoException
+	 */
+	public void vetoableChange(PropertyChangeEvent arg0)
+			throws PropertyVetoException {
+		support.vetoableChange(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @throws java.io.IOException
+	 */
+	public void writeChildren(ObjectOutputStream arg0) throws IOException {
+		support.writeChildren(arg0);
+	}
+
+	private void writeObject(ObjectOutputStream oos) throws IOException {
+		oos.defaultWriteObject();
+		support.writeChildren(oos);
+	}
+
+	private void readObject(ObjectInputStream ois) throws IOException,
+			ClassNotFoundException {
+		ois.defaultReadObject();
+		support.readChildren(ois);
+	}
+
+}



Mime
View raw message