aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
AgeCommit message (Collapse)Author
2010-11-14Added some more unit tests for elgg_normalize_urlewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7310 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-13Cleaning up database after new ElggEntity unit test.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@7302 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-12Updating ElggEntity::clearMetaData() to fail when passed a non-existent ↵nickw
metadata name. Fixes #2273 git-svn-id: http://code.elgg.org/elgg/trunk@7301 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-11Fixes #2640 - elgg_view_layout now uses a parameter array like all the other ↵cash
elgg_view* functions git-svn-id: http://code.elgg.org/elgg/trunk@7288 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-10Fixes #2367: With fear and trepidation, converting events/plugin hooks to ↵ewinslow
use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-04Fixes #2463: Added support for forwarding to root-level files, e.g. ↵ewinslow
forward('install.php') git-svn-id: http://code.elgg.org/elgg/trunk@7238 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-04Fixes #2463: Added ^ to beginning of normalize_url regex to prevent matching ↵ewinslow
on urls like mod/plugin/page.php. Added unit tests to verify functionality. git-svn-id: http://code.elgg.org/elgg/trunk@7236 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-04Removed requirement that object container be a groupewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7234 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2128 - replaces all uses of set_context() and get_context() in core ↵cash
and plugins git-svn-id: http://code.elgg.org/elgg/trunk@7215 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Fixes #2360: page_draw => elgg_view_page in core + bundled pluginsewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7210 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Added url normalization support to elgg_register_js and elgg_register_cssewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7207 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Removed some more instances of $CONFIG->url. Added support for ↵ewinslow
elgg_normalize_url to elgg_add_action_tokens_to_url git-svn-id: http://code.elgg.org/elgg/trunk@7200 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31added unit test for previous commitcash
git-svn-id: http://code.elgg.org/elgg/trunk@7170 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Fixed bug in regression test for upscaling turned offcash
git-svn-id: http://code.elgg.org/elgg/trunk@7168 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Fixes for [7165] - entity variable changedcash
git-svn-id: http://code.elgg.org/elgg/trunk@7167 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31updated unit test for file matrix to reflect updates in directory structure ↵cash
and class method names git-svn-id: http://code.elgg.org/elgg/trunk@7166 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Refs #2597 - fixes some unit tests broken in the reorg of the data modelscash
git-svn-id: http://code.elgg.org/elgg/trunk@7165 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-31Unit tests with the system log turned on are too slowcash
git-svn-id: http://code.elgg.org/elgg/trunk@7164 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30finished the conversion to initializeAttributes()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7145 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6701:6756 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6849 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged [6600],[6601],[6605],[6606],[6607],[6608],[6611] from 1.7 branch into ↵cash
trunk git-svn-id: http://code.elgg.org/elgg/trunk@6843 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-21Merged r6534-6559 from 1.7 branch to trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6840 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-21Merging r6517:6520 from 1.7 branchcash
git-svn-id: http://code.elgg.org/elgg/trunk@6839 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-02Requesting annotations from a non-existent subtype will now return nothing ↵nickw
instead of everything. This functionality is required to preserve context. git-svn-id: http://code.elgg.org/elgg/trunk@6331 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-20Fixes #2159: Updated entity getter test to order by guid instead of ↵brettp
time_created. git-svn-id: http://code.elgg.org/elgg/trunk@6119 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-20Update unit tests for last_action column.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-10Admin area now uses standard submenu tools.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5992 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-08Added new submenu system.brettp
Added elgg_http_url_is_identical(). Moved canvas_header/submenu* to navigation/submenu*. Added UI test for submenu. git-svn-id: http://code.elgg.org/elgg/trunk@5982 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5530:5604 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5622 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-10Added elgg_instanceof().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5353 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-03Removing unneeded svn:executable properties on files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5264 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-01Fixes #1558: Applied Cash's patch. Added unit tests to test for regressions ↵brettp
for any bugs fixed in trac. git-svn-id: http://code.elgg.org/elgg/trunk@3979 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-01Fixed unit tests for exportable values after [3977].brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3978 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-24Fixes #1542: Pulled in Kevin's patch to add ability to sort by metadata. ↵brettp
Added unit tests for this. git-svn-id: http://code.elgg.org/elgg/trunk@3970 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-23Refs #1543: Added support to have pass an array as a value in the ↵brettp
metadata_name_value_pair option of elgg_get_entities_from_metadata(). Added unit tests for elgg_get_entities_from_metadata(). Cleaned up some documentation for elgg_get_entities_from_metadata(). git-svn-id: http://code.elgg.org/elgg/trunk@3969 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-18Getter API test: Moved the setup and tear down into the construct and ↵brettp
destruct methods. Fixed a few new tests that were failing because of sorting by time. git-svn-id: http://code.elgg.org/elgg/trunk@3948 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Refs #1523: elgg_get_entities() uses the constants for defaults and ↵brettp
conditionals. Added some tests to check for no subtypes. Updated the documentation. git-svn-id: http://code.elgg.org/elgg/trunk@3946 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Fixes #1526: Big honking warning added to unit tests. Getter test also ↵brettp
deletes its subtypes now. git-svn-id: http://code.elgg.org/elgg/trunk@3945 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-08Fixes #1496: delete_access_collection() invalidates the access collection ↵brettp
cache before attempting to delete. Removed a misplaced unset() in a unit test that was causing test objects not to be properly deleted. git-svn-id: http://code.elgg.org/elgg/trunk@3922 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-06Refs #1200: Added tests to test for false being returned with ↵brettp
elgg_get_entities(). Disabled execution time during unit tests. git-svn-id: http://code.elgg.org/elgg/trunk@3914 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-04Refs #1200: Changed logic in elgg_get_entity_type_subtype_where_sql() to ↵brettp
return FALSE if there are no valid subtypes passed. Ignores all invalid subtypes. Added (partial) tests for elgg_get_entities() types and subtypes. git-svn-id: http://code.elgg.org/elgg/trunk@3901 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-12closes #1145 - deprecated current "copy constructor" for all entities and ↵cash
implemented a clone method. The clone copies over all metadata but not annotations and private settings. It sets the guid to 0 so saving the cloned entity creates a new database record. The ownership/access of metadata is set during the save and will be the same as that of the entity. git-svn-id: http://code.elgg.org/elgg/trunk@3802 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-14fixed line endings on services api unit testscash
git-svn-id: http://code.elgg.org/elgg/trunk@3754 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-08fixes #1305 - user and entity cache now cleared on deletecash
git-svn-id: http://code.elgg.org/elgg/trunk@3743 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-04fixes #1397 and updates unit tests - comma was missingcash
git-svn-id: http://code.elgg.org/elgg/trunk@3724 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-24Adding documentation to the unit test skeleton file.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3706 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-23Deleting a user will remove all user files.nickw
Fixes #607 git-svn-id: http://code.elgg.org/elgg/trunk@3700 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-13more test cases related to #1364.cash
git-svn-id: http://code.elgg.org/elgg/trunk@3677 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-13should fix #1364 and added relevant unit test cases for this bug (yeah for ↵cash
unit tests) git-svn-id: http://code.elgg.org/elgg/trunk@3676 36083f99-b078-4883-b0ff-0f9b5a30f544