Rat (Release Audit Tool) resultsThe following document contains the results of Rat (Release Audit Tool). ***************************************************** Summary ------- Generated at: 2014-03-08T13:34:48+01:00 Notes: 3 Binaries: 0 Archives: 0 Standards: 100 Apache Licensed: 98 Generated Documents: 0 JavaDocs are generated and so license header is optional Generated files do not required license headers 2 Unknown Licenses ******************************* Unapproved licenses: config/HEADER.txt src/test/java/org/apache/commons/beanutils2/SetMappedPropertyTestCase.java ******************************* Archives: ***************************************************** Files with Apache License headers will be marked AL Binary files (which do not require AL headers) will be marked B Compressed archives will be marked A Notices, licenses etc will be marked N AL config/checkstyle-suppressions.xml AL config/checkstyle.xml !????? config/HEADER.txt AL doap_beanutils2.rdf N LICENSE.txt N NOTICE.txt AL pom.xml N RELEASE-NOTES.txt AL src/changes/changes.xml AL src/main/assembly/bin.xml AL src/main/assembly/src.xml AL src/main/java/org/apache/commons/beanutils2/AccessibleObjectsRegistry.java AL src/main/java/org/apache/commons/beanutils2/Argument.java AL src/main/java/org/apache/commons/beanutils2/ArgumentsAccessor.java AL src/main/java/org/apache/commons/beanutils2/Assertions.java AL src/main/java/org/apache/commons/beanutils2/BeanAccessor.java AL src/main/java/org/apache/commons/beanutils2/BeanClassNotFoundException.java AL src/main/java/org/apache/commons/beanutils2/BeanInstantiationException.java AL src/main/java/org/apache/commons/beanutils2/BeanProperties.java AL src/main/java/org/apache/commons/beanutils2/BeanPropertySetter.java AL src/main/java/org/apache/commons/beanutils2/BeanReflectionException.java AL src/main/java/org/apache/commons/beanutils2/BeanUtils.java AL src/main/java/org/apache/commons/beanutils2/ClassAccessor.java AL src/main/java/org/apache/commons/beanutils2/ClassLoaderBuilder.java AL src/main/java/org/apache/commons/beanutils2/ConstructorInvocationException.java AL src/main/java/org/apache/commons/beanutils2/ConstructorNotAccessibleException.java AL src/main/java/org/apache/commons/beanutils2/DefaultArgumentsAccessor.java AL src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java AL src/main/java/org/apache/commons/beanutils2/DefaultBeanProperties.java AL src/main/java/org/apache/commons/beanutils2/DefaultBeanPropertySetter.java AL src/main/java/org/apache/commons/beanutils2/DefaultClassAccessor.java AL src/main/java/org/apache/commons/beanutils2/DefaultClassLoaderBuilder.java AL src/main/java/org/apache/commons/beanutils2/DefaultIndexedPropertyGetterAccessor.java AL src/main/java/org/apache/commons/beanutils2/DefaultIndexedPropertySetter.java AL src/main/java/org/apache/commons/beanutils2/DefaultIndexedPropertySetterAccessor.java AL src/main/java/org/apache/commons/beanutils2/DefaultMappedPropertyGetterAccessor.java AL src/main/java/org/apache/commons/beanutils2/DefaultMappedPropertySetter.java AL src/main/java/org/apache/commons/beanutils2/DefaultMappedPropertySetterAccessor.java AL src/main/java/org/apache/commons/beanutils2/IndexedPropertyGetterAccessor.java AL src/main/java/org/apache/commons/beanutils2/IndexedPropertySetterAccessor.java AL src/main/java/org/apache/commons/beanutils2/MappedPropertyDescriptor.java AL src/main/java/org/apache/commons/beanutils2/MappedPropertyGetterAccessor.java AL src/main/java/org/apache/commons/beanutils2/MappedPropertySetterAccessor.java AL src/main/java/org/apache/commons/beanutils2/MethodInvocationException.java AL src/main/java/org/apache/commons/beanutils2/MethodNotAccessibleException.java AL src/main/java/org/apache/commons/beanutils2/MethodUtils.java AL src/main/java/org/apache/commons/beanutils2/NoSuchBeanMethodException.java AL src/main/java/org/apache/commons/beanutils2/NoSuchConstructorException.java AL src/main/java/org/apache/commons/beanutils2/NoSuchPropertyException.java AL src/main/java/org/apache/commons/beanutils2/NullBeanAccessor.java AL src/main/java/org/apache/commons/beanutils2/package-info.java AL src/main/java/org/apache/commons/beanutils2/PropertyDescriptorsRegistry.java AL src/main/java/org/apache/commons/beanutils2/PropertyGetterInvocationException.java AL src/main/java/org/apache/commons/beanutils2/PropertyGetterNotAccessibleException.java AL src/main/java/org/apache/commons/beanutils2/PropertyNotReadableException.java AL src/main/java/org/apache/commons/beanutils2/PropertyNotWritableException.java AL src/main/java/org/apache/commons/beanutils2/PropertySetterInvocationException.java AL src/main/java/org/apache/commons/beanutils2/PropertySetterNotAccessibleException.java AL src/main/java/org/apache/commons/beanutils2/Transformer.java AL src/main/java/org/apache/commons/beanutils2/transformers/AbstractTransformer.java AL src/main/java/org/apache/commons/beanutils2/transformers/package-info.java AL src/main/java/org/apache/commons/beanutils2/TypeUtils.java AL src/site/site.xml AL src/site/xdoc/building.xml AL src/site/xdoc/index.xml AL src/site/xdoc/issue-tracking.xml AL src/site/xdoc/mail-lists.xml AL src/test/java/org/apache/commons/beanutils2/ArgumentTest.java AL src/test/java/org/apache/commons/beanutils2/AssertionsTest.java AL src/test/java/org/apache/commons/beanutils2/BeanUtilsTest.java AL src/test/java/org/apache/commons/beanutils2/CastTestCase.java AL src/test/java/org/apache/commons/beanutils2/CloneTestCase.java AL src/test/java/org/apache/commons/beanutils2/ConstructorRegistryTestCase.java AL src/test/java/org/apache/commons/beanutils2/ConstructorsTestCase.java AL src/test/java/org/apache/commons/beanutils2/CopyPropertiesTestCase.java AL src/test/java/org/apache/commons/beanutils2/DescribeTestCase.java AL src/test/java/org/apache/commons/beanutils2/GetIndexedPropertyTestCase.java AL src/test/java/org/apache/commons/beanutils2/GetMappedPropertyTestCase.java AL src/test/java/org/apache/commons/beanutils2/GetPropertyTestCase.java AL src/test/java/org/apache/commons/beanutils2/HasPropertyTestCase.java AL src/test/java/org/apache/commons/beanutils2/IsReadableTestCase.java AL src/test/java/org/apache/commons/beanutils2/issues/JiraSandbox433TestCase.java AL src/test/java/org/apache/commons/beanutils2/IsWritableTestCase.java AL src/test/java/org/apache/commons/beanutils2/MappedPropertyTestCase.java AL src/test/java/org/apache/commons/beanutils2/MethodsRegistryTestCase.java AL src/test/java/org/apache/commons/beanutils2/MethodsTestCase.java AL src/test/java/org/apache/commons/beanutils2/MethodUtilsTest.java AL src/test/java/org/apache/commons/beanutils2/OnClassNameTestCase.java AL src/test/java/org/apache/commons/beanutils2/PopulateTestCase.java AL src/test/java/org/apache/commons/beanutils2/SetIndexedPropertyTestCase.java !????? src/test/java/org/apache/commons/beanutils2/SetMappedPropertyTestCase.java AL src/test/java/org/apache/commons/beanutils2/SetPropertyTestCase.java AL src/test/java/org/apache/commons/beanutils2/StaticMethodsTestCase.java AL src/test/java/org/apache/commons/beanutils2/testbeans/AbstractTestBean.java AL src/test/java/org/apache/commons/beanutils2/testbeans/MappedPropertyChildBean.java AL src/test/java/org/apache/commons/beanutils2/testbeans/MappedPropertyChildInterface.java AL src/test/java/org/apache/commons/beanutils2/testbeans/MappedPropertyTestBean.java AL src/test/java/org/apache/commons/beanutils2/testbeans/MappedPropertyTestInterface.java AL src/test/java/org/apache/commons/beanutils2/testbeans/TestBean.java AL src/test/java/org/apache/commons/beanutils2/testbeans/TestBeanUtils.java AL src/test/java/org/apache/commons/beanutils2/testbeans/ThrowingExceptionBean.java AL src/test/java/org/apache/commons/beanutils2/TypeUtilsTest.java AL src/test/java/org/apache/commons/beanutils2/VoidMethodsTestCase.java ***************************************************** Printing headers for files without AL header... ======================================================================= ==config/HEADER.txt ======================================================================= ^package ^\s*$ ^/\*\s*$ ^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$ ^ \* or more contributor license agreements. See the NOTICE file\s*$ ^ \* distributed with this work for additional information\s*$ ^ \* regarding copyright ownership. The ASF licenses this file\s*$ ^ \* to you under the Apache License, Version 2.0 \(the\s*$ ^ \* "License"\)\; you may not use this file except in compliance\s*$ ^ \* with the License. You may obtain a copy of the License at\s*$ ^ \*\s*$ ^ \*\s+http://www\.apache\.org/licenses/LICENSE-2\.0\s*$ ^ \*\s*$ ^ \* Unless required by applicable law or agreed to in writing,\s*$ ^ \* software distributed under the License is distributed on an\s*$ ^ \* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\s*$ ^ \* KIND, either express or implied. See the License for the\s*$ ^ \* specific language governing permissions and limitations\s*$ ^ \* under the License.\s*$ ^ \*/\s*$ ^\s*$ ======================================================================= ==src/test/java/org/apache/commons/beanutils2/SetMappedPropertyTestCase.java ======================================================================= package org.apache.commons.beanutils2; import static org.apache.commons.beanutils2.BeanUtils.on; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import org.apache.commons.beanutils2.testbeans.TestBean; import org.apache.commons.beanutils2.testbeans.ThrowingExceptionBean; import org.junit.Before; import org.junit.Test; public class SetMappedPropertyTestCase { private TestBean testBean; private ThrowingExceptionBean exceptionBean; @Before public void setUp() { testBean = new TestBean(); exceptionBean = new ThrowingExceptionBean(); } @Test( expected = NullPointerException.class ) public void setMappedNull() { on( testBean ).setMapped( null ); } @Test( expected = NoSuchPropertyException.class ) public void setMappedUnknown() { on( testBean ).setMapped( "unknown" ); } @Test( expected = IllegalArgumentException.class ) public void getMappedNotMappedProperty() throws Exception { on( testBean ).getMapped( "intProperty" ); } @Test( expected = NullPointerException.class ) public void getMappedIntNullKey() throws Exception { on( testBean ).getMapped( "mappedIntProperty" ).of( null ); } |