summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/controllers
AgeCommit message (Collapse)Author
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-12-15Move the test time limit code into Unit_Test since some parts of theBharat Mediratta
code (like ORM_MPTT) mess with the time limit which interferes with the overall time limit set in Gallery_Unit_Test_Controller.
2010-10-25Set the unit test timeout to 5 minutesBharat Mediratta
2010-06-07Improve a comment.Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-01-31Fix lots of warnings that pop up when we're in E_STRICT mode. They'reBharat Mediratta
mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class.
2010-01-17Special case output for ORM_Validation_ExceptionsBharat Mediratta
2009-12-21Updated for K24Bharat Mediratta
2009-11-25Kohana::show_404() -> throw new Kohana_404_Exception()Bharat Mediratta
2009-10-28Only install and activate modules that have tests to run.Tim Almdal
2009-10-23Only look for tests that are in the active modules. Update the controller ↵Tim Almdal
golden file to reflect the current location of files.
2009-10-23Change the gallery_unit test to only intall into the test environment, ↵Tim Almdal
modules that are active in the non-test environment.
2009-09-02Run 'graphics::choose_default_toolkit();' to pick a toolkit, which weBharat Mediratta
normally do as part of a regular install.
2009-06-10Update test code to match the change made in ↵Bharat Mediratta
47810c9aec1e6b190a1a90505899669a2c89b770 where we adjust the site_domain in config.php
2009-05-28Reset the cascading file path properly before reinstalling.Bharat Mediratta
2009-05-28Print out exception traces for most errorsBharat Mediratta
2009-05-27Convert a few more references of APPPATH to MODPATH/galleryBharat Mediratta
2009-05-27Update all references to the core application to now point to theBharat Mediratta
gallery module. This type of mass update is prone to some small bugs.
2009-05-26Restructure the module lifecycle.Bharat Mediratta
Install: <module>_installer::install() is called, any necessary tables are created. Activate: <module>_installer::activate() is called. Module controllers are routable, helpers are accessible, etc. The module is in use. Deactivate: <module>_installer::deactivate() is called. Module code is not accessible or routable. Module is *not* in use, but its tables are still around. Uninstall: <module>_installer::uninstall() is called. Module is completely removed from the database. Admin > Modules will install and activate modules, but will only deactivate (will NOT uninstall modules).
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-03-19Rejigger the way we do reinstalls while Kohana is running.Bharat Mediratta
core_installer::install() now takes an $initial_install param that allows us to enforce that we're doing a clean install. Use this in both the scaffolding and the unit test code. Greatly simplify the scaffolding uninstall/reinstall code.
2009-03-17Fix correctness issue if there are no tables (list_tables will return null)Bharat Mediratta
Clean out the module caches directly now that the module loading robustness code is gone.
2009-02-24Fix bootstrap / installation issue for unit test framework:Andy Staudacher
Install user module before installing other modules. E.g. local_import's installation routine depends on the user module to be installed.
2009-01-20Use xxx_test as the default database name. This means that we noBharat Mediratta
longer have to manually tweak database.php, yay!
2009-01-08Windows fixes: Use mkdir($path, 0777, true) instead of the unportable ↵Andy Staudacher
system("mkdir -p $path")
2008-12-16TEST_MODE always exists now, so check its value, don't rely on its existence ↵Bharat Mediratta
to know that we're in test mode.
2008-12-13Reload modules *after* we blow away the database to flush out cachesBharat Mediratta
2008-12-12Refaactor module::install() and module::uninstall() out of theBharat Mediratta
scaffolding and unit test code so that we can use it consistently. This fixes an issue where adding a module was not refreshing the statically cached module list causing the test framework to break.
2008-12-12Pass list of test dirs into Unit_Test::_constructor() as an argumentBharat Mediratta
instead of modifying the config.
2008-12-04Fix up the test framework to work now that we're only loading installed modulesBharat Mediratta
via the autoloader.
2008-12-03Make sure that the dev is not using the same db for tests as they are for ↵Bharat Mediratta
production (this one's for you, valiant!)
2008-12-03Drop the database and rm -rf test/var instead of calling uninstall onBharat Mediratta
all modules. This guarantees a clean start w/out worrying about weirdness in the uninstaller code.
2008-12-03Rename generic test.php to gallery_unit_test.php to make navigation to this ↵Bharat Mediratta
file a little easier
2008-11-28Rename module::get_list() to module::installed()Bharat Mediratta
2008-11-26Clean tag creationTim Almdal
2008-11-26Actually call uninstall!Bharat Mediratta
2008-11-25Correct call to undefined uninstall_modules method. Should have been ↵Tim Almdal
_uninstall_modules
2008-11-25Dynamically locate modules to install for testTim Almdal
2008-11-25Modify the test controller to call tag_installer::install and uninstallTim Almdal
Created the first tag unit test
2008-11-10Remove the complexity of a interface driven user management moduleTim Almdal
2008-11-10Early look at the User/Auth module refactoring. It will look for a driver ↵Tim Almdal
based on the contents of the user/config/user.php file. And load that driver based on the User_Driver interface. There is a default User_Gallery_Driver class that will provide the actual interface implementation. Replacing this driver will allow a completely different user and authentication implementation to be used... hopefully will reduce issues with embedding and other user management systems. Removed from unit tests so they will still run.
2008-11-10Remove Auth moduleTim Almdal
2008-11-10uninstall and reinstall the comment module, tooBharat Mediratta
2008-11-08The start of an authentication module. This provides the installation and a ↵Tim Almdal
basic install test. There is no interface at the moment to do authentication. It is dependent on the install of the user module.
2008-11-06Uninstall/reinstall modules in the right order and catch exceptions (fixes ↵Bharat Mediratta
test failures)
2008-11-05add installation unit tests and corrected a problem where the groups_users ↵Tim Almdal
pivot table was not populated.
2008-11-05better instructions/error handlingChris Kelly
2008-11-04Add a test to detect tabs in our code, and convert all tabs to spacesBharat Mediratta
so that the test passes.