assertResourceServiceList("/test.txt", "test.txt", true, false);
}
@Test
public void noParent() throws Exception {
ApplicationContext factory = new XmlApplicationContext(new FileSystemResource(new File(srcdir,
"loader/super-loader.xml")));
resourceLoadingService = (ResourceLoadingService) factory.getBean("resourceLoadingService");
assertResourceServiceList("/no_name/webroot/test.txt", "test.txt", false, false);
assertResourceServiceList("/with_name/test.txt", "test.txt", false, false);
resourceLoadingService = (ResourceLoadingService) factory.getBean("sameName");
assertResourceServiceList("/webroot/test.txt", "test.txt", false, false);
resourceLoadingService = (ResourceLoadingService) factory.getBean("defaultName");
assertResourceServiceList("/test.txt", "test.txt", false, false);
resourceLoadingService = (ResourceLoadingService) factory.getBean("defaultName1");
assertResourceServiceList("/test.txt", "test.txt", false, false);
}