summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test
AgeCommit message (Collapse)Author
2010-08-08Add in the missing 'error' count.Bharat 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-02-09Move diff::compare to be test::diffBharat 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-22Reload items after saving so that we convert their members to strings.Bharat Mediratta
2010-01-21Add random_group().Bharat Mediratta
2010-01-20improve comment.Bharat Mediratta
2010-01-20Use the exception itself to print out a nice text message.Bharat Mediratta
2010-01-20Guard against missing/empty $description.Bharat Mediratta
2010-01-20Move the error page to the expected location for K24.Bharat Mediratta
2010-01-20Add random_tag().Bharat Mediratta
2010-01-20Add assert_array_equal_to_json().Bharat Mediratta
2010-01-19Extend Gallery_Unit_Test_Case instead of Unit_Test_Case.Bharat Mediratta
2010-01-19Our own version of Unit_Test_Case that adds useful functions likeBharat Mediratta
assert_equal_array().
2010-01-18Add starts_with().Bharat Mediratta
2010-01-18Add random_name().Bharat Mediratta
2010-01-17Create xxx_unsaved() versions for the case where you want to tinker with the ↵Bharat Mediratta
item before it gets saved.
2010-01-17Add random_photo()Bharat Mediratta
2010-01-17Add album title in random_album().Bharat Mediratta
2010-01-17Helper class for common test methods (like creating albums, photos,Bharat Mediratta
etc).
2010-01-17Add special output support for ORM_Validation_ExceptionBharat Mediratta
2010-01-17Special case output for ORM_Validation_ExceptionsBharat Mediratta
2009-12-22Fix some function definitions (they should be static)Bharat Mediratta
2009-12-21Add a helper for doing complex string comparisonsBharat Mediratta
2009-12-21Stop using Kohana::lang.Bharat 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-18Fix security preamblesBharat Mediratta
2009-05-18There's a new view for CLI unit test output in the Unit_Test libraryBharat Mediratta
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")
2009-01-01Change the preamble for views in two ways:Bharat Mediratta
1) drop unnecessary semicolon 2) start with <?php for extra security in the case that the server itself doesn't have short_tags enabled (the app won't work, but we need to make sure that we're still secure)
2008-12-22Remove module.info from infrastructure modules that are effectivelyBharat Mediratta
libraries that would ship with the core. Refactor welcome.php to use the newly refactored module::available()
2008-12-22Change the way that we track modules.Bharat Mediratta
Each module now has a "module.info" file that has information about the module, including the core. We can display the installed version, and the version in the code. Also take a first shot at a modules admin page.
2008-12-20Fix a problem with magentaBharat Mediratta