/** * Override the location of the Jetspeed Spring assemblies files by pulling in all xml files found in the assembly package. * Make sure to have your unit test copy assemblies into the class path assembly directory like: <blockquote><pre> <resource> <path>assembly</path> <include>*.xml,boot/*.xml</include> <destination>assembly</destination> </resource> </pre></blockquote> */ @Override protected String[] getConfigurations() { return getResourcesFromClasspath("assembly"); }
/** * Helper to either use a list of categories, comma separated, with <code>getBeanDefinitionFilterCategories</code> or * use a single category key with <code>getBeanDefinitionFilterCategoryKey</code> combined with <code>getFilterFile</code> */ @Override protected JetspeedBeanDefinitionFilter getBeanDefinitionFilter() throws IOException { String categories = getBeanDefinitionFilterCategories(); if (categories == null) return new JetspeedBeanDefinitionFilter(getFilterFile(), getBeanDefinitionFilterCategoryKey()); else return new JetspeedBeanDefinitionFilter(categories); }