aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
AgeCommit message (Collapse)Author
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
2009-11-07combined the two different pams into one and fixed an issue with hmac ↵cash
authentication git-svn-id: http://code.elgg.org/elgg/trunk@3635 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-30Deprecating get_entities_from_access_id().nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3610 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-30Namespaced metadata keys for elgg_get_entities_from_metadata() so no clashes ↵brettp
will happen with annotations. git-svn-id: http://code.elgg.org/elgg/trunk@3607 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-29Fully deprecating file matrix use with username.nickw
Plugins building the file matrix with the username will still work, but a warning is logged. git-svn-id: http://code.elgg.org/elgg/trunk@3602 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-29Updating unit test to reflect deprecated functions.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3601 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Removing local debug info from filestore unit test.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3591 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-27Modifying user file locations to be based on guid.nickw
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
2009-10-27Fixed caching issue that caused metadata test for ↵brettp
get_entities_from_metadata() to fail. git-svn-id: http://code.elgg.org/elgg/trunk@3588 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-25cleaned up the web services unit testscash
git-svn-id: http://code.elgg.org/elgg/trunk@3581 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-23Creating a unit test for ElggUsernickw
git-svn-id: http://code.elgg.org/elgg/trunk@3576 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-22more unit tests for REST apicash
git-svn-id: http://code.elgg.org/elgg/trunk@3569 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-21Allowing entities to be retrieved by case-insensitive search.nickw
Adding a new unit test for ElggMetadata. git-svn-id: http://code.elgg.org/elgg/trunk@3568 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-21Reducing the output level of log messages set to "DEBUG".nickw
Debug level messages will be logged at the same level as warnings. Additionally, users will be notified when attempting to run the test suite without first placing the site in debug mode. git-svn-id: http://code.elgg.org/elgg/trunk@3567 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-20more unit tests for REST apicash
git-svn-id: http://code.elgg.org/elgg/trunk@3566 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-19first version of new REST apicash
git-svn-id: http://code.elgg.org/elgg/trunk@3562 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Standardized filesbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@3553 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Swallowing all Elgg notices within unit tests.nickw
By default, SimpleTest converts PHP errors into exceptions. This is restricted by adding a call to swallowErrors() within the tearDown() methods. This has also been noted within the unit test skeleton. git-svn-id: http://code.elgg.org/elgg/trunk@3535 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Creating a generic ElggSite unit test.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3534 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Test suite now requires admin for web-based tests.brettp
Uses access overrides for cli-based tests. git-svn-id: http://code.elgg.org/elgg/trunk@3531 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-12Adding unit tests for the ElggObject class.nickw
Restricting testing suite to only be run as a logged-in user. This will not allow the tests to be run from the command line, but this is already the case due to debug static. git-svn-id: http://code.elgg.org/elgg/trunk@3527 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-09Creating an ElggObject unit test.nickw
Fixing issues with the unit test plugin hooks, as well as infinite looping bugs introduced by the unit test skeleton. git-svn-id: http://code.elgg.org/elgg/trunk@3519 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-08Adding unit test for ElggEntity annotations.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3518 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-08Adding generic unit tests for ElggEntity.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3516 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-06Adding unit test methods to the new Entities test.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3512 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-03Moved core tests into tests/core.brettp
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
2009-10-02Added more info to the test.brettp
Added a test skeleton. git-svn-id: http://code.elgg.org/elgg/trunk@3506 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-02Added unit tests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3504 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-02Added simpletest and start of unit tests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3503 36083f99-b078-4883-b0ff-0f9b5a30f544