[commits] [Wiki] changed: Doc/Dev/TestH5

Michael Slusarz slusarz at horde.org
Tue Nov 13 04:53:27 UTC 2012


slusarz  Mon, 12 Nov 2012 21:53:27 -0700

Modified page: http://wiki.horde.org/Doc/Dev/TestH5
New Revision:  2
Change log:  Fix some markup

@@ -81,15 +81,15 @@
  </code>

  ++++ Autoload mappings for applications

-In case you test a horde application that may have special class name  
mappings when autoloading, you can define this via the  
{{{Horde_Test_Autoload::addPrefix()}}} call:
+In case you test a horde application that may have special class name  
mappings when autoloading, you can define this via the  
{{Horde_Test_Autoload::addPrefix()}} call:

  <code type="php">
  Horde_Test_Autoload::addPrefix('IMP', dirname(__FILE__) . '/../../lib/');
  </code>

-The class {{IMP_Imap}} would be loaded from {{dirname(__FILE__) .  
'/../../lib/Imap.php'}} in the example above.
+The class {{IMP_Imap}} would be loaded from {{dirname(``__FILE__``) .  
'/../../lib/Imap.php'}} in the example above.

  ++ Running the test suite

  The default method for running the test suite of a Horde component  
is to run {{php ``AllTests``.php}} on the command line.



More information about the commits mailing list