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:
Britt Park
2006-07-24 16:14:14 +00:00
parent e5214a5d42
commit c50a4aa669
2 changed files with 26 additions and 5 deletions

View File

@@ -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.
*/