use of com.zimbra.cs.account.soap.SoapProvisioning.VerifyIndexResult in project zm-mailbox by Zimbra.
the class TestJaxbProvisioning method testIndex.
@Test
public void testIndex() throws Exception {
ZimbraLog.test.debug("Starting testIndex");
Account acct = ensureMailboxExists(testAcctEmail);
ReIndexInfo info = prov.reIndex(acct, "start", null, null);
assertNotNull("ReIndexInfo", info);
assertNotNull("getStatus result", info.getStatus());
// Progress can be null.
// Progress prog = info.getProgress();
VerifyIndexResult ndxRes = prov.verifyIndex(acct);
assertNotNull("VerifyIndexResult", ndxRes);
prov.deleteMailbox(acct.getId());
}
Aggregations