Esempio n. 1
0
NS_IMETHODIMP 
nsMsgAccount::Init()
{
	NS_ASSERTION(!m_identities, "don't call Init twice!");
	if (m_identities) return NS_ERROR_FAILURE;

	return createIdentities();
}
Esempio n. 2
0
NS_IMETHODIMP
nsMsgAccount::SetKey(const nsACString& accountKey)
{
  m_accountKey = accountKey;
  m_prefs = nullptr;
  m_identities = nullptr;
  return createIdentities();
}
Esempio n. 3
0
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();
}