cout << "nsComponentManager failed\n";
printf("nsComponentManager failed\n");
int main(int argc, char** argv) {      nsresult rv = NS_InitXPCOM2(nsnull, nsnull, nsnull);   if (NS_FAILED(rv)) {      printf("NS_InitXPCOM2 failed\n");      return 1;   }   // --------------------------------------------   TestCaseConversion();   // --------------------------------------------   TestEntityConversion(nsIEntityConverter::html40);   // --------------------------------------------   TestSaveAsCharset();   // --------------------------------------------   TestNormalization();   // --------------------------------------------   cout << "Finish All The Test Cases\n";   nsresult res = NS_OK;   res = nsComponentManager::FreeLibraries();   if(NS_FAILED(res))      cout << "nsComponentManager failed\n";   else      cout << "nsComponentManager FreeLibraries Done\n";   return 0;}