NS_IMETHODIMP nsMsgAccount::Init() { NS_ASSERTION(!m_identities, "don't call Init twice!"); if (m_identities) return NS_ERROR_FAILURE; return createIdentities(); }
NS_IMETHODIMP nsMsgAccount::SetKey(const nsACString& accountKey) { m_accountKey = accountKey; m_prefs = nullptr; m_identities = nullptr; return createIdentities(); }
void TestACLsInfer::doTest() { mSession = MVTApp::startSession(); MVTApp::mapURIs(mSession, "TestACLsInfer.prop.", sNumProps, mPropIDs); createIdentities(); createMeta(); createPINs(); // Test for STORE_OWNER First testACLs(mSession); testJoinACLs(mSession); mSession->terminate(); // Test for other identities testIdentities(); }