nsresult rv = GetPath(path);
nsresult rv = GetPath("news:
nsresult newsTestDriver::GetDatabase(){    if (m_newsDB == nsnull) {        nsNativeFileSpec path;		nsresult rv = GetPath(path);		if (NS_FAILED(rv)) return rv;        nsresult newsDBOpen = NS_OK;        nsIMsgDatabase *newsDBFactory = nsnull;        rv = nsComponentManager::CreateInstance(kCNewsDB, nsnull, nsIMsgDatabase::GetIID(), (void **) &newsDBFactory);        if (NS_SUCCEEDED(rv) && newsDBFactory) {                newsDBOpen = newsDBFactory->Open(path, PR_TRUE, (nsIMsgDatabase **) &m_newsDB, PR_FALSE);#ifdef DEBUG                if (NS_SUCCEEDED(newsDBOpen)) {                    printf ("newsDBFactory->Open() succeeded\n");                }                else {                    printf ("newsDBFactory->Open() failed\n");                }#endif                NS_RELEASE(newsDBFactory);                newsDBFactory = nsnull;                return rv;        }#ifdef DEBUG        else {            printf("nsComponentManager::CreateInstance(kCNewsDB,...) failed\n");        }#endif    }        return NS_OK;}