Class PropertyListUtil
java.lang.Object
net.officefloor.compile.test.properties.PropertyListUtil
Utility class for testing a
PropertyList.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertPropertyValues(PropertyList propertyList, String... propertyNameValues) Validates thePropertyvalues in thePropertyList.static voidvalidatePropertyNameLabels(PropertyList propertyList, String... propertyNameLabels) Validates thePropertyinstances in thePropertyList.
-
Method Details
-
validatePropertyNameLabels
public static void validatePropertyNameLabels(PropertyList propertyList, String... propertyNameLabels) Validates thePropertyinstances in thePropertyList.- Parameters:
propertyList-PropertyListto validate.propertyNameLabels- Name/Label pair listing of expectedPropertyinstances in thePropertyList.
-
assertPropertyValues
Validates thePropertyvalues in thePropertyList.- Parameters:
propertyList-PropertyListto validate.propertyNameValues- Name/value pair listing of expectedPropertyinstances in thePropertyList.
-