[gallery/gallery3] 3c68b7: Overload Unittest_TestCase to make sure that we on...
GitHub <noreply-9UaJU3cA/F/[email protected]> Mon, 06 May 2013 11:36:17 -0700
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <5187f821356d9_1dc3102de14747f6@hookshot-fe4-pe1-prd.aws.github.net.mail> |
Branch: refs/heads/kohana_3
Home: https://github.com/gallery/gallery3
Commit: 3c68b79cbe856a47b51716a07b07c3de2ddbd544
https://github.com/gallery/gallery3/commit/3c68b79cbe856a47b51716a07b07c3de2ddbd544
Author: Bharat Mediratta <[email protected]>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
A modules/gallery_unittest/classes/GalleryUnittest/Unittest/TestCase.php
A modules/gallery_unittest/classes/Unittest/TestCase.php
Log Message:
-----------
Overload Unittest_TestCase to make sure that we only call teardown
when setup was called - this should catch cases where we forget to
call parent::setup in our tests's setup. It doesn't (yet) catch the
case where we forget to call teardown.
Commit: 2de6f3e9818ae6bfdb63b7989f1c33b1fd1c9dcb
https://github.com/gallery/gallery3/commit/2de6f3e9818ae6bfdb63b7989f1c33b1fd1c9dcb
Author: Bharat Mediratta <[email protected]>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M modules/gallery/tests/Access_Test.php
M modules/gallery/tests/Albums_Controller_Test.php
M modules/gallery/tests/Data_Rest_Test.php
M modules/gallery/tests/Formo_Test.php
M modules/gallery/tests/Gallery_Graphics_Helper_Test.php
M modules/gallery/tests/Legal_File_Helper_Test.php
M modules/gallery/tests/Movie_Helper_Test.php
M modules/gallery/tests/ORM_MPTT_Test.php
M modules/gallery/tests/Photo_Helper_Test.php
M modules/gallery/tests/Photos_Controller_Test.php
M modules/rest/tests/Rest_Controller_Test.php
M modules/tag/tests/Tag_Item_Rest_Helper_Test.php
M modules/tag/tests/Tag_Rest_Helper_Test.php
M modules/tag/tests/Tags_Rest_Helper_Test.php
Log Message:
-----------
Switch over to using @expectedException annotations on tests that we
expect to throw an exception, and then delete a bunch of boilerplate
code. Not all exception-throwing tests are applicable for this since
in some cases we expect to throw multiple exceptions or take special
action on the exception.
Commit: 2bee1c202ce59ddc3a342490ba0d584c424b7b9b
https://github.com/gallery/gallery3/commit/2bee1c202ce59ddc3a342490ba0d584c424b7b9b
Author: Bharat Mediratta <[email protected]>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
A modules/gallery/orphans/Albums_Controller_Test.php
A modules/gallery/orphans/Photos_Controller_Test.php
R modules/gallery/tests/Albums_Controller_Test.php
R modules/gallery/tests/Photos_Controller_Test.php
Log Message:
-----------
Orphan Albums_Controller_Test and Photos_Controller_Test since their corresponding
controllers went away. We'll need to rescue the tests out of here and put them
in the right place.
Compare: https://github.com/gallery/gallery3/compare/fc18b0c80365...2bee1c202ce5
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
__[ g a l l e r y - c h e c k i n s ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]