aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
AgeCommit message (Collapse)Author
2011-02-13Refs #2907. DRY'd up and abstracted out a lot of metadata / annotation ↵brettp
functions so I can implement #1115 with a clean conscious. git-svn-id: http://code.elgg.org/elgg/trunk@8207 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #650. Replaced calls to get_annotations() by elgg_get_annotations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8182 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-12Refs #2898: Updated docs and test manifest for the xmlns changes.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8171 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
2011-02-08Refs #2543: Core uses the new functions from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Added suggests to the plugins deps system. It parallels the requires system, ↵brettp
but doesn't affect if the plugin can be enabled and only shows up in the deps table on the advanced view. git-svn-id: http://code.elgg.org/elgg/trunk@8070 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-04Renamed 'name' to 'plugin' for priority req. Updated unit tests and docs.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8019 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-03removed one_column_with_sidebar layout - use one_sidebar insteadcash
git-svn-id: http://code.elgg.org/elgg/trunk@8005 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-27removed menu code introduced for elgg.com that did not make it into 1.8cash
git-svn-id: http://code.elgg.org/elgg/trunk@7949 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-13Refs #2757 merged fix into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@7873 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-06Refs #1242, Fixes #2775. Pulled common code between get_data() and ↵brettp
get_data_row() into elgg_query_runner(). Caching is now done in the query runner instead of spread across execute_query() and get_data*(). Namespacing cache for callback and single row request. I'm open to better names for that function. Not closing #1242 because the elgg_get_entities*() functions can still return false. git-svn-id: http://code.elgg.org/elgg/trunk@7849 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-02Fixes #1986, #2170, #2225, #2759. Integrated ElggPluginPackage and ↵brettp
ElggPluginManifest with ElggPlugin. System now uses ElggPlugin objects to determin plugins. Order is stored in private settings. This absolutely requires running upgrade.php. git-svn-id: http://code.elgg.org/elgg/trunk@7817 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-12-06Renamed 'elgg' manifest requirment to 'elgg_version' to be more in line with ↵brettp
the current options. Removed assignments in if statements. 1.7 manifest files properly show elgg_version as a requirement. git-svn-id: http://code.elgg.org/elgg/trunk@7550 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-03Refs #1986 #2170 #2225. Added semantic manifest.xml support and unit tests. ↵brettp
Also added plugin dependencies system. See engine/tests/test_files/plugin_18/manifest.xml for examples. Not closing tickets pending discussion. git-svn-id: http://code.elgg.org/elgg/trunk@7512 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-30Refs #1986 #2170 #2225 Added ElggPluginManifest, ElggPluginManifestParser, ↵brettp
and its parser classes for 1.7 and 1.8 style manifests. Changed load_plugin_manifest() to use new parser. Added initial unit tests. git-svn-id: http://code.elgg.org/elgg/trunk@7481 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Refs #2668 adds getContainerGUID()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7379 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2668 adding getOwnerGUID()cash
git-svn-id: http://code.elgg.org/elgg/trunk@7378 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixed typos in text expectations that were cause elgg_normalize_url unit ↵ewinslow
tests to fial git-svn-id: http://code.elgg.org/elgg/trunk@7377 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2490: attributes initialize to NULL instead of empty string or 0. ↵ewinslow
Updated tests to reflect this git-svn-id: http://code.elgg.org/elgg/trunk@7376 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Fixes #2473: removes initialise_entity_cache()ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7365 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-11-14Refs #1417 Elgg core now passes back useful messages to user when log in ↵cash
fails - uservalidationbyemail is next git-svn-id: http://code.elgg.org/elgg/trunk@7317 36083f99-b078-4883-b0ff-0f9b5a30f544
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