ElggCoreSkeletonTest.php 1016 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * Elgg Test Skeleton
  4. *
  5. * Plugin authors: copy this file to your plugin's test directory. Register an Elgg
  6. * plugin hook and function similar to:
  7. *
  8. * elgg_register_plugin_hook_handler('unit_test', 'system', 'my_new_unit_test');
  9. *
  10. * function my_new_unit_test($hook, $type, $value, $params) {
  11. * $value[] = "path/to/my/unit_test.php";
  12. * return $value;
  13. * }
  14. *
  15. * @package Elgg
  16. * @subpackage Test
  17. */
  18. class ElggCoreSkeletonTest extends \ElggCoreUnitTest {
  19. /**
  20. * Called before each test object.
  21. */
  22. public function __construct() {
  23. parent::__construct();
  24. // all __construct() code should come after here
  25. }
  26. /**
  27. * Called before each test method.
  28. */
  29. public function setUp() {
  30. }
  31. /**
  32. * Called after each test method.
  33. */
  34. public function tearDown() {
  35. }
  36. /**
  37. * Called after each test object.
  38. */
  39. public function __destruct() {
  40. // all __destruct() code should go above here
  41. parent::__destruct();
  42. }
  43. public function testFailure() {
  44. $this->assertTrue(false);
  45. }
  46. }