Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-24 | #1955 - Make unit test photos unique. | shadlaws | |
- Added test::random_unique_photo and test::random_unique_photo_unsaved to uniquify test photos. - Uniquified the black dot of test.jpg by coloring it with the six-digit hex code already used to name the random photos (e.g. "name_a48801.jpg"). - Modified four tests in Item_Model_Test that check photo file contents to use new functions to guarantee uniqueness. | |||
2013-01-21 | Update copyright to 2013. Fixes #1953. | Bharat Mediratta | |
2013-01-17 | Follow-on to 94b26e506c339f50b8d094057bffc1877a79afa9 - make the new legal_file | Bharat Mediratta | |
functions more robust when passed an unknown extension. Fixes Item_Model_Test. | |||
2012-02-27 | Update copyright to 2012. #1822 | Bharat Mediratta | |
2011-04-25 | Move random::string() to be test::random_string() and have it return a | Bharat Mediratta | |
random string of any length. Also introduce test::lorem_ipsum() and use that in places where we want strings of words. Fixes #1713. | |||
2011-01-21 | Update copyright to 2011. | Bharat Mediratta | |
2010-12-15 | Consolidate all the random code into a random helper that offers: | Bharat Mediratta | |
random::hash() random::string() random::percent() random::int() So that we don't have lots of different ways to get random values all over the code. Follow-on to #1527. | |||
2010-12-15 | Use mt_rand() instead of rand() since it provides better portability. | Bharat Mediratta | |
Fixes #1527. | |||
2010-03-03 | Update the copyright to 2010. It's only 3 months into the year :-) | Bharat Mediratta | |
2010-02-09 | Move diff::compare to be test::diff | Bharat Mediratta | |
2010-01-22 | Reload items after saving so that we convert their members to strings. | Bharat Mediratta | |
2010-01-21 | Add random_group(). | Bharat Mediratta | |
2010-01-20 | improve comment. | Bharat Mediratta | |
2010-01-20 | Add random_tag(). | Bharat Mediratta | |
2010-01-19 | Extend Gallery_Unit_Test_Case instead of Unit_Test_Case. | Bharat Mediratta | |
2010-01-18 | Add starts_with(). | Bharat Mediratta | |
2010-01-18 | Add random_name(). | Bharat Mediratta | |
2010-01-17 | Create xxx_unsaved() versions for the case where you want to tinker with the ↵ | Bharat Mediratta | |
item before it gets saved. | |||
2010-01-17 | Add random_photo() | Bharat Mediratta | |
2010-01-17 | Add album title in random_album(). | Bharat Mediratta | |
2010-01-17 | Helper class for common test methods (like creating albums, photos, | Bharat Mediratta | |
etc). | |||
2009-12-22 | Fix some function definitions (they should be static) | Bharat Mediratta | |
2009-12-21 | Add a helper for doing complex string comparisons | Bharat Mediratta | |
2009-12-21 | Updated for K24 | Bharat Mediratta | |