Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 42658 invoked from network); 6 Jan 2007 21:41:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jan 2007 21:41:17 -0000 Received: (qmail 46754 invoked by uid 500); 6 Jan 2007 21:41:22 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 46655 invoked by uid 500); 6 Jan 2007 21:41:22 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 46644 invoked by uid 500); 6 Jan 2007 21:41:22 -0000 Received: (qmail 46641 invoked by uid 99); 6 Jan 2007 21:41:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jan 2007 13:41:22 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jan 2007 13:41:14 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 6E7F41A981A; Sat, 6 Jan 2007 13:40:16 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: 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 Date: Sat, 06 Jan 2007 21:40:16 -0000 To: commons-cvs@jakarta.apache.org From: dennisl@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070106214016.6E7F41A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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