Commit graph

14047 commits

Author SHA1 Message Date
Scott Walters
757eb8d9fa PID files contain the PID so that on next run, we can test to see
if that PID is still alive.  If it isn't, the daemon was kill -9'd,
the system crashed, or similar.  It isn't running any more and it's
safe to start up again.  Don't die on startup unless the PID in the
PID file is valid.
2010-05-19 07:57:18 -04:00
Colin Kuskie
4056d7019e Drop tests for putting an Article below a calendar. This is now permitted. 2010-05-16 20:31:07 -07:00
Colin Kuskie
e69a26db8c Update test to remove use_ok, SKIP. 2010-05-13 21:14:07 -07:00
Colin Kuskie
f3c1c0e4a5 Better handling of calling validParent without an asset, somewhere. 2010-05-13 21:10:44 -07:00
Colin Kuskie
01ba8203c8 Update test for exception handling 2010-05-13 21:05:53 -07:00
Colin Kuskie
d690148c2c Fix a syntax error in the SQL to get shortcuts in the trash. 2010-05-13 21:03:27 -07:00
Colin Kuskie
5140ece731 Large batch of test fixes, most for newByDynamicClass -> newById 2010-05-13 20:02:26 -07:00
Colin Kuskie
c74894321d Update these tests for file locations and better clean-up. 2010-05-13 19:47:08 -07:00
Colin Kuskie
427fd5e53a Removing more dead code. There is no maxImageSize property. 2010-05-13 19:46:47 -07:00
Colin Kuskie
420cc3e843 A bunch of fixed Photo tests. 2010-05-13 15:43:16 -07:00
Colin Kuskie
4fef8cb486 Fix a bad sort. Clarify some POD in the Photo. 2010-05-13 15:41:51 -07:00
Colin Kuskie
7258e11e7e Move Shortcut definition methods to Moose methods. 2010-05-13 15:28:45 -07:00
Colin Kuskie
7db971d274 Better clean-up. 2010-05-13 14:07:27 -07:00
Colin Kuskie
8a9e4c73c1 Remove dead code in the Photo asset. 2010-05-13 14:06:13 -07:00
Colin Kuskie
c892e51c9b Update tests for wg8 and better cleanup. 2010-05-13 13:58:32 -07:00
Colin Kuskie
7f23c286da Change newByDynamicClass to newById. 2010-05-13 13:50:04 -07:00
Colin Kuskie
2a6e50b478 Make this code readable. 2010-05-11 22:13:25 -07:00
Colin Kuskie
78426b7147 Update test assets for export tests. 2010-05-11 22:07:05 -07:00
Colin Kuskie
c2cbec2f18 Attempt to make this test more robust. 2010-05-09 22:31:57 -07:00
Colin Kuskie
7ba305109a Set a trigger for the snippet. Update tests for snippet packing. 2010-05-09 21:44:18 -07:00
Colin Kuskie
50b2b116eb Updated to Moose, and test updates. 2010-05-09 21:04:12 -07:00
Colin Kuskie
ecf1c521f3 Updates for Moose. 2010-05-09 21:03:59 -07:00
Colin Kuskie
a203ab48b6 Use a static time to remove 2 second sleep. Update test for new asset instanciators. 2010-05-09 19:17:05 -07:00
Colin Kuskie
8be35923e4 Drop session from get data generated by exportAssetData 2010-05-09 19:16:40 -07:00
Colin Kuskie
4c3b615f7a Update this test for exception handling. 2010-05-09 19:07:49 -07:00
Colin Kuskie
923e03f048 Add a method for getViewCacheKey. Update number of tests. 2010-05-09 19:03:20 -07:00
Colin Kuskie
95fe1e6d52 Module use, and cache updates. 2010-05-09 18:14:27 -07:00
Colin Kuskie
96108ffc96 Remove an old cache line. 2010-05-09 18:14:17 -07:00
Colin Kuskie
5be85b9bed Cache update for a test 2010-05-09 18:10:21 -07:00
Colin Kuskie
057260f131 fix a ->get conversion typo. 2010-05-09 18:04:19 -07:00
Colin Kuskie
d57ee622ff Fixed this test. 2010-05-09 17:31:42 -07:00
Colin Kuskie
69a1b4e180 Update test for new asset instanciators. 2010-05-09 17:25:27 -07:00
Colin Kuskie
8bbf758f53 Update FlatRate test. 2010-05-09 16:13:28 -07:00
Colin Kuskie
97d5caab17 Exception handling for Thumbnail macro. 2010-05-09 15:37:13 -07:00
Colin Kuskie
a2feddc3b5 Exception handling. 2010-05-09 15:35:07 -07:00
Colin Kuskie
4ecc8dce2a AssetLineage should throw exceptions. 2010-05-09 15:27:39 -07:00
Colin Kuskie
ab6476012a Add missing module use line to Group.pm 2010-05-09 15:08:18 -07:00
Colin Kuskie
2c80c501c6 Test assets for valid methods before calling them. 2010-05-09 15:05:41 -07:00
Colin Kuskie
10d96d3816 Update help for new operational code. 2010-05-09 15:01:22 -07:00
Colin Kuskie
c471cd145b Fix a test I broke. 2010-05-09 14:59:30 -07:00
Colin Kuskie
8272c2b087 Do not intstall a wrapper around new in Asset.pm 2010-05-09 14:51:20 -07:00
Colin Kuskie
0bef2b2839 Change the core to use newById instead of new. 2010-05-09 14:30:47 -07:00
Colin Kuskie
04ee8f0949 Fix the Group tests. 2010-05-07 18:34:55 -07:00
Colin Kuskie
1450d1361d Fix POD problems 2010-05-07 18:27:39 -07:00
Colin Kuskie
3d34cf3323 Fix typos in VersionTag.t 2010-05-07 18:18:11 -07:00
Colin Kuskie
361299e293 Use the right location for the WebGUI.pm fake file in Storage testing. 2010-05-07 18:13:31 -07:00
Colin Kuskie
2fad20dcd0 Exception handling when trying to get assets for their content. 2010-05-07 18:02:17 -07:00
Colin Kuskie
855b59f61d Similar changes as to Definition::Meta::Class in --::Asset 2010-05-07 17:58:00 -07:00
Colin Kuskie
6154044719 when using goto on objects, must restore $self into @_... 2010-05-07 17:56:30 -07:00
Colin Kuskie
9162bd68c9 Return the correct path for the WebGUI lib directory in WebGUI::Test. Should probably just use WebGUI::Path instead. 2010-05-07 17:53:17 -07:00