aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/elgg_unit_test.php
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-27 21:58:25 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-27 21:58:25 +0000
commitbd2d492f2616489a40a0f3ed90ea5e6558117fc8 (patch)
tree6099c607cad11874ab57518deb26d3b812abe3dc /engine/tests/elgg_unit_test.php
parentafa0511a08cf4e53e3e0d6ab5562add2eb8d06b8 (diff)
downloadelgg-bd2d492f2616489a40a0f3ed90ea5e6558117fc8.tar.gz
elgg-bd2d492f2616489a40a0f3ed90ea5e6558117fc8.tar.bz2
Modifying user file locations to be based on guid.
Previous implementations utilized the owner's username to determine a file path matrix based on (up to) the first five letters. To eliminate language and filesystem inconsistencies, the matrix is now created from the entity's creation date and guid. This has the added benefit of (potentially) allowing users to update their usernames. git-svn-id: http://code.elgg.org/elgg/trunk@3590 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/elgg_unit_test.php')
-rwxr-xr-xengine/tests/elgg_unit_test.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/engine/tests/elgg_unit_test.php b/engine/tests/elgg_unit_test.php
index d9841099b..70f8788a0 100755
--- a/engine/tests/elgg_unit_test.php
+++ b/engine/tests/elgg_unit_test.php
@@ -1,12 +1,28 @@
<?php
+/**
+ * Elgg Core Unit Tester
+ *
+ * This class is to be extended by all Elgg unit tests. As such, any method here
+ * will be available to the tests.
+ */
abstract class ElggCoreUnitTest extends UnitTestCase
{
+ /**
+ * Class constructor.
+ *
+ * A simple wrapper to call the parent constructor.
+ */
public function __construct()
{
parent::__construct();
}
+ /**
+ * Class destructor.
+ *
+ * The parent does not provide a destructor, so including an explicit one here.
+ */
public function __destruct()
{
}