aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/api/entity_getter_functions.php
AgeCommit message (Collapse)Author
2011-11-18Fixes #4126 fixed test for checking relationship existencecash
2011-11-18Fixes #4125 checking count correctlycash
2011-11-18Fixes #4122, #4123, #4124 testing for empty arrays and added some ↵cash
documentation for the sanity of future developers
2011-10-09Fixes #3948 cleaning up stuff left behind by unit testsCash Costello
2011-09-28Fixes #3713. elgg_get_entities() and friends return false if passed invalid ↵Brett Profitt
options.
2011-04-09Refs #2600. Removed the very special debug vars that I told myself "Make ↵brettp
sure you remove those before you commit or you'll look like an idiot" when I added. *ahem* git-svn-id: http://code.elgg.org/elgg/trunk@8970 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-09Fixes #2600. Applied Hellekin's patch. Props to him for understanding what ↵brettp
was going on because whoa. git-svn-id: http://code.elgg.org/elgg/trunk@8968 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14Updated trunk to use new annotation functions. Added checks for ↵brettp
annotations_* options vs annotation_* options because it's so easy to confuse. git-svn-id: http://code.elgg.org/elgg/trunk@8223 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-11Refs #650. Deprecated get_annotations() for elgg_get_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8109 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-09Refs #1411. Added elgg_get_entities_from_annotation_calculation(). ↵brettp
Deprecated get_entities_from_annotations_count() and get_entities_from_annotation_calculate_x(). elgg_get_entities_from_annotations() now runs through egef_metadata() for backward compatibility support. git-svn-id: http://code.elgg.org/elgg/trunk@7578 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-08Removed the silly things I was doing in the egef_relationship_count() test.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7568 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-08D'oh. Re-enabled the other getter unit tests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7563 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-08Refs #1411: Added elgg_get_entity_from_relationship_count().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7562 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-18Refs #2165 adds elgg_get_entities_from_location()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7336 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-18Refs #2165 added elgg_get_entities_from_private_settings()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7335 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-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-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-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-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