* is in place now. But, please we don't trigger the autoregistration in * this test program, so make sure you first run an autoreg app (like
* is in place now. But, as we don't trigger the autoregistration in * this test program, you make sure you first run an autoreg app (like
nsresult setupRegistry(){  /**    * Ok, here's where we used to register the components needed to run the    * tests. This is not necessary anymore, as the auto-registration stuff   * is in place now. But, please we don't trigger the autoregistration in    * this test program, so make sure you first run an autoreg app (like    * viewer). Included is an example of the old code, in case we'll need it.   *   * nsresult res = nsComponentManager::RegisterComponent(   * kCharsetConverterManagerCID, NULL, NULL, UCONV_DLL, PR_FALSE, PR_FALSE);   * if (NS_FAILED(res) && (NS_ERROR_FACTORY_EXISTS != res)) return res;   */  return NS_OK;}