test.de.smartics.properties.spi.core.metadata
Class AbstractPropertyMetaDataParserTestBase

Package class diagram package AbstractPropertyMetaDataParserTestBase
java.lang.Object
  extended by test.de.smartics.properties.spi.core.metadata.AbstractPropertyMetaDataParserTestBase
Direct Known Subclasses:
PropertyMetaDataParserConstraintsTest, PropertyMetaDataParserDocumentAnnotationsTest, PropertyMetaDataParserListElementsWithConstraintsTest, PropertyMetaDataParserListTest, PropertyMetaDataParserMandatoryTest, PropertyMetaDataParserMetaDataTest, PropertyMetaDataParserNoAnnotationsTest, PropertyMetaDataParserPropertyExpressionAnnotationsTest, PropertyMetaDataParserPropertyKeyAnnotationsTest, PropertyMetaDataParserPropertySetAnnotationsTest, PropertyMetaDataParserSecuredTest

@Uut(type=de.smartics.properties.spi.core.metadata.PropertyMetaDataParser.class)
public abstract class AbstractPropertyMetaDataParserTestBase
     
     
extends Object

Base implementation for tests on PropertyMetaDataParser.


Field Summary
protected  PropertyMetaDataParser uut
           
 
Constructor Summary
AbstractPropertyMetaDataParserTestBase()
           
 
Method Summary
protected static void checkThat(PropertyDescriptor descriptor, PropertyKey expectedKey, PropertyType expectedType, boolean mandatory, PropertyExpression expectedExpression, PropertyValueRange expectedRange, List expectedConstraints)
           
protected static void checkThat(PropertyDescriptor descriptor, PropertyKey expectedKey, PropertyType expectedType, PropertyExpression expectedExpression, PropertyValueRange expectedRange, List expectedConstraints)
           
protected static Method fetchMethod(Class<?> type, String methodName)
           
 void setUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uut

protected PropertyMetaDataParser uut
Constructor Detail

AbstractPropertyMetaDataParserTestBase

public AbstractPropertyMetaDataParserTestBase()
Method Detail

setUp

public void setUp()

fetchMethod

protected static final Method fetchMethod(Class<?> type,
                                          String methodName)

checkThat

protected static final void checkThat(PropertyDescriptor descriptor,
                                      PropertyKey expectedKey,
                                      PropertyType expectedType,
                                      PropertyExpression expectedExpression,
                                      PropertyValueRange expectedRange,
                                      List expectedConstraints)

checkThat

protected static final void checkThat(PropertyDescriptor descriptor,
                                      PropertyKey expectedKey,
                                      PropertyType expectedType,
                                      boolean mandatory,
                                      PropertyExpression expectedExpression,
                                      PropertyValueRange expectedRange,
                                      List expectedConstraints)


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.