This gets virtualization partially working using the AVM remote interface.

Courtesy of Jon and Britt.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-08-15 23:25:40 +00:00
parent b42bda5b59
commit 9aed179e4d
2 changed files with 27 additions and 2 deletions

View File

@@ -103,4 +103,28 @@ public class AVMTestRemote extends TestCase
fail();
}
}
/**
* Test a call that should throw an exception.
*/
public void testErrorState()
{
try
{
try
{
fAVMRemote.lookup(-1, "main:/fizz/fazz");
fail();
}
catch (AVMException e)
{
e.printStackTrace(System.out);
}
}
catch (Exception e)
{
e.printStackTrace(System.err);
fail();
}
}
}