Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * This software is licensed under the Apache License, Version 2.0
  * (the "License") agreement; 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.force66.beantester;
Default configuration for the BeanTester product.

Default field exclusions

  • class -- Object.class isn't a property that should be tested.
  • Default Bean Tests

  • IdentityEqualsTest -- See org.force66.beantester.tests.IdentityEqualsTest.
  • ClonableTest -- See org.force66.beantester.tests.ClonableTest.
  • ComparableTest -- See org.force66.beantester.tests.ComparableTest.
  • ToStringTest -- See org.force66.beantester.tests.ToStringTest.
  • HashcodeTest -- See org.force66.beantester.tests.HashcodeTest.
  • HashcodeEqualsTest -- See org.force66.beantester.tests.HashcodeEqualsTest.
  • SerializableTest -- See org.force66.beantester.tests.SerializableTest.
  • AccessorMutatorTest -- See org.force66.beantester.tests.AccessorMutatorTest.
  • Author(s):
    D. Ashmore
    	private Set<StringfieldExclusionSet = new HashSet<String>();
    	private List<BeanTestbeanTestList = new ArrayList<BeanTest>();
    		 .add("class"); // Object.class shouldn't be tested.
    		 
    		 
    	     .add(new ClonableTest());
    	     .add(new ComparableTest());
    	     .add(new HashcodeTest());
    	}
    	/* (non-Javadoc)
    	 * @see org.force66.beantester.BeanTesterConfiguration#getFieldExclusionSet()
    	 */
    	}
    	/* (non-Javadoc)
    	 * @see org.force66.beantester.BeanTesterConfiguration#getBeanTestList()
    	 */
    		return ;
    	}
    	/* (non-Javadoc)
    	 * @see org.force66.beantester.BeanTesterConfiguration#getValueGeneratorFactory()
    	 */
    	}
    New to GrepCode? Check out our FAQ X