private static Properties readPropertiesFromDescriptor ( ArquillianDescriptor descriptor ) { for ( ExtensionDef extension : descriptor . getExtensions ( ) ) { if ( CitrusExtensionConstants . CITRUS_EXTENSION_QUALIFIER . equals ( extension . getExtensionName ( ) ) ) { Properties properties = new Properties ( ) ; properties . putAll ( extension . getExtensionProperties ( ) ) ; return properties ; } } return new Properties ( ) ; }
Find Citrus extension configuration in descriptor and read properties .