You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by de...@apache.org on 2007/01/06 22:40:16 UTC
svn commit: r493578 - in /jakarta/commons/sandbox/proxy/trunk:
RELEASE-NOTES.txt file-header.txt
src/test/org/apache/commons/proxy/provider/TestBeanProvider.java
src/test/org/apache/commons/proxy/provider/cache/TestCacheEvictionEvent.java
Author: dennisl
Date: Sat Jan 6 13:40:15 2007
New Revision: 493578
URL: http://svn.apache.org/viewvc?view=rev&rev=493578
Log:
Set EOL-style to native.
Modified:
jakarta/commons/sandbox/proxy/trunk/RELEASE-NOTES.txt (props changed)
jakarta/commons/sandbox/proxy/trunk/file-header.txt (contents, props changed)
jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/TestBeanProvider.java (contents, props changed)
jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/cache/TestCacheEvictionEvent.java (contents, props changed)
Propchange: jakarta/commons/sandbox/proxy/trunk/RELEASE-NOTES.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: jakarta/commons/sandbox/proxy/trunk/file-header.txt
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/proxy/trunk/file-header.txt?view=diff&rev=493578&r1=493577&r2=493578
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/file-header.txt (original)
+++ jakarta/commons/sandbox/proxy/trunk/file-header.txt Sat Jan 6 13:40:15 2007
@@ -1,16 +1,16 @@
-/* $Id$
- *
- * Copyright 2005 The Apache Software Foundation.
- *
- * 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.
+/* $Id$
+ *
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * 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.
*/
Propchange: jakarta/commons/sandbox/proxy/trunk/file-header.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/TestBeanProvider.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/TestBeanProvider.java?view=diff&rev=493578&r1=493577&r2=493578
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/TestBeanProvider.java (original)
+++ jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/TestBeanProvider.java Sat Jan 6 13:40:15 2007
@@ -1,70 +1,70 @@
-/*
- * Copyright 2005 The Apache Software Foundation
- *
- * 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.commons.proxy.provider;
-
-import junit.framework.TestCase;
-import org.apache.commons.proxy.exception.ObjectProviderException;
-
-public class TestBeanProvider extends TestCase
-{
- public void testWithNullBeanClass()
- {
- try
- {
- final BeanProvider p = new BeanProvider();
- p.getObject();
- fail();
- }
- catch( ObjectProviderException e )
- {
- }
- }
- public void testAbstractBeanClass()
- {
- try
- {
- final BeanProvider p = new BeanProvider();
- p.setBeanClass( Number.class );
- p.getObject();
- fail();
- }
- catch( ObjectProviderException e )
- {
-
- }
- }
-
- public void testNonAccessibleConstructor()
- {
- try
- {
- new BeanProvider( MyBean.class ).getObject();
- fail();
- }
- catch( ObjectProviderException e )
- {
-
- }
- }
-
- public static class MyBean
- {
- private MyBean()
- {
-
- }
- }
+/*
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * 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.commons.proxy.provider;
+
+import junit.framework.TestCase;
+import org.apache.commons.proxy.exception.ObjectProviderException;
+
+public class TestBeanProvider extends TestCase
+{
+ public void testWithNullBeanClass()
+ {
+ try
+ {
+ final BeanProvider p = new BeanProvider();
+ p.getObject();
+ fail();
+ }
+ catch( ObjectProviderException e )
+ {
+ }
+ }
+ public void testAbstractBeanClass()
+ {
+ try
+ {
+ final BeanProvider p = new BeanProvider();
+ p.setBeanClass( Number.class );
+ p.getObject();
+ fail();
+ }
+ catch( ObjectProviderException e )
+ {
+
+ }
+ }
+
+ public void testNonAccessibleConstructor()
+ {
+ try
+ {
+ new BeanProvider( MyBean.class ).getObject();
+ fail();
+ }
+ catch( ObjectProviderException e )
+ {
+
+ }
+ }
+
+ public static class MyBean
+ {
+ private MyBean()
+ {
+
+ }
+ }
}
Propchange: jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/TestBeanProvider.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/cache/TestCacheEvictionEvent.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/cache/TestCacheEvictionEvent.java?view=diff&rev=493578&r1=493577&r2=493578
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/cache/TestCacheEvictionEvent.java (original)
+++ jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/cache/TestCacheEvictionEvent.java Sat Jan 6 13:40:15 2007
@@ -1,28 +1,28 @@
-/*
- * Copyright 2005 The Apache Software Foundation
- *
- * 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.commons.proxy.provider.cache;
-import junit.framework.TestCase;
-
-public class TestCacheEvictionEvent extends TestCase
-{
- public void testConstructor()
- {
- final CacheEvictionEvent event = new CacheEvictionEvent( "hello", "world" );
- assertEquals( "world", event.getSource() );
- assertEquals( "hello", event.getCacheKey() );
- assertEquals( "world", event.getEvictedObject() );
- }
+/*
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * 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.commons.proxy.provider.cache;
+import junit.framework.TestCase;
+
+public class TestCacheEvictionEvent extends TestCase
+{
+ public void testConstructor()
+ {
+ final CacheEvictionEvent event = new CacheEvictionEvent( "hello", "world" );
+ assertEquals( "world", event.getSource() );
+ assertEquals( "hello", event.getCacheKey() );
+ assertEquals( "world", event.getEvictedObject() );
+ }
}
Propchange: jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/provider/cache/TestCacheEvictionEvent.java
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org