diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-03 02:02:10 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-03 02:02:10 +0000 |
commit | 34be1e3da604974659a9128f9d1901bd663930a1 (patch) | |
tree | 7442be662983ae6007dc098491e5d38605417402 /engine/tests/core | |
parent | 51e6efeecb3122e46793a703104ff9b4ec8c4ab8 (diff) | |
download | elgg-34be1e3da604974659a9128f9d1901bd663930a1.tar.gz elgg-34be1e3da604974659a9128f9d1901bd663930a1.tar.bz2 |
Moved core tests into tests/core.
Fixed typo in skeleton and entities tests.
Only run tests in debug mode.
git-svn-id: http://code.elgg.org/elgg/trunk@3507 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/core')
-rw-r--r-- | engine/tests/core/entities.php | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/engine/tests/core/entities.php b/engine/tests/core/entities.php new file mode 100644 index 000000000..e8013b1fc --- /dev/null +++ b/engine/tests/core/entities.php @@ -0,0 +1,52 @@ +<?php +/** + * Elgg Test ElggEntities + * + * @package Elgg + * @subpackage Test + * @author Curverider Ltd + * @link http://elgg.org/ + */ +class ElggCoreEntityTest extends ElggCoreUnitTest { + + /** + * Called before each test object. + */ + public function __construct() { + + } + + /** + * Called before each test method. + */ + public function setUp() { + + + } + + /** + * Called after each test method. + */ + public function tearDown() { + + + } + + /** + * Called after each test object. + */ + public function __destruct() { + + + } + + /** + * A basic test that will be called and fail. + */ + public function testElggEntityConstructor() { + $this->assertTrue(FALSE); + } +} + +// ElggEntity is an abstract class with no abstact methods. +class ElggEntityTest extends ElggEntity { } |