mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Relaxed path requirements. foo://figwump/thneedle///wart/ is now seen
as equivalent to foo:/figwump/thneedle/wart. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3392 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -39,6 +39,24 @@ import org.alfresco.service.namespace.QName;
|
||||
*/
|
||||
public class AVMServiceTest extends AVMServiceTestBase
|
||||
{
|
||||
/**
|
||||
* Test goofy paths.
|
||||
*/
|
||||
public void testGoofyPaths()
|
||||
{
|
||||
try
|
||||
{
|
||||
setupBasicTree();
|
||||
fService.getFileInputStream(-1, "main://a/b/c/foo").close();
|
||||
fService.getDirectoryListing(-1, "main:/a/");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace(System.err);
|
||||
fail();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getting deleted names.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user