mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user