Colin Kuskie
1cd0b0be34
Adding a basic AssetTrash test to quickly check the purge method.
2007-12-21 17:49:52 +00:00
Colin Kuskie
0846b4fa8f
END at the end
2007-12-21 17:40:29 +00:00
Colin Kuskie
91eaa6e046
commit the version tag
2007-12-21 17:26:05 +00:00
Colin Kuskie
4140d217e6
commit the version tag
2007-12-21 17:25:10 +00:00
Colin Kuskie
99acfb2088
Fixed a typo (Photo wants to be a child of Album, not Gallery).
...
Added commit and skipAutoCommitWorkflows.
No tests in here.
2007-12-21 17:20:39 +00:00
Colin Kuskie
b3789d2a0f
Added commits and skipAutoCommitWorkflow. Test can be run multiple times.
...
First test is failing.
2007-12-21 17:02:00 +00:00
Colin Kuskie
08989cd567
Added commit and rollback.
...
Skip'ed two tests, one which uses test_permissions and another which uses a Shortcut
method which does not exist.
2007-12-21 16:57:27 +00:00
Colin Kuskie
1a87456ecd
add version tags and commits to makeResolutions. Most tests fail anyway
2007-12-21 16:47:11 +00:00
Doug Bell
ae6fd2c702
fix: these tests pass now
2007-12-21 00:26:28 +00:00
Colin Kuskie
08641182ba
Added versionTags and commits. Still having some problems, though.
2007-12-20 23:22:05 +00:00
Colin Kuskie
4cc0edc749
add version tags and commits. Also add 1 dummy test to make the plan happy
2007-12-20 16:40:32 +00:00
Colin Kuskie
b542bf1cfd
Added version tag with commits and rollback.
...
Changed SKIP and TODOs to isolate some more tests.
WebGUI::International->get is not a class method.
2007-12-20 04:51:16 +00:00
Colin Kuskie
15c3c2e8f6
adding version tag commits. all tests pass
2007-12-20 00:24:38 +00:00
Colin Kuskie
c839ab3c0a
Make sure that all Assets are created inside of capturable version tags so they
...
can be cleaned up at the end of the test.
2007-12-19 20:51:56 +00:00
Colin Kuskie
8d1e47a6ce
Storage/Image: resize works with ImageMagick again. Add diagnostics to tests for easy debug
2007-12-19 18:04:50 +00:00
Colin Kuskie
182f3ecfae
increment plan for TODO test
2007-12-19 17:00:05 +00:00
Doug Bell
01c6379224
fixed some Gallery tests failing. removed some unnecessary ones. still bunch more to go...
2007-12-19 16:41:39 +00:00
Colin Kuskie
17e815281f
Comment out a test that will always fail, and cannot be trapped.
...
Add assetId and userId to the setComment call that is supposed to succeed.
2007-12-19 00:11:13 +00:00
Colin Kuskie
936e258bcd
Fix class names in tests.
...
Give each test at least 1 test in the plan, otherwise Test::Harness barfs.
2007-12-18 22:20:13 +00:00
Doug Bell
f8901ffe34
added TODO test to ensure that working with WebGUI::Storage doesnt chdir away
2007-12-18 21:26:14 +00:00
Doug Bell
53a1cbc7c2
fixes to the Gallery
2007-12-18 21:17:44 +00:00
Doug Bell
4c70aa4c71
re-integrated photogallery branch
2007-12-18 13:05:41 +00:00
Doug Bell
5222ad6be1
merged with SVN HEAD
2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448
Finished? Ready for merge at least.
2007-12-17 22:22:06 +00:00
Colin Kuskie
58dd3e075a
Add fixUrl tests for duplicate assets and generated urls.
2007-12-17 03:10:54 +00:00
Colin Kuskie
8e52096a0a
Re-indent some fixUrl code and realign comments.
...
Add more fixUrl tests for coverage. Leading zeroes are
handled strangely.
2007-12-16 22:59:00 +00:00
Colin Kuskie
de912cf977
testing a different special state
2007-12-16 22:00:36 +00:00
JT Smith
1ce61982ed
some bug fixing
...
added some tests
2007-12-16 18:56:36 +00:00
Colin Kuskie
b70ef9d23a
Add tests to cover the removal of extensions in the "directory"
...
parts of the path. Refactor out the while loop with match and
nested s/// into a single regexp.
2007-12-16 04:13:53 +00:00
Colin Kuskie
2de8dbfc9e
remove test for passthruUrls, since they are now handled by pluggable ops
2007-12-16 00:25:00 +00:00
Colin Kuskie
c5c24852ca
skipping wrong number of tests
2007-12-13 17:54:26 +00:00
Doug Bell
ac1a7dc3a3
fix: CS posts get re-ordered when copy/paste
2007-12-13 17:26:28 +00:00
Colin Kuskie
33ba29b338
add support for writing URL extension tests later
2007-12-13 00:29:25 +00:00
Colin Kuskie
afcc90b130
Documented a regexp in Session/Url.pm
...
Add passthruUrls to the list of URLs that are changed by fixUrl.
Wrote a bunch of POD for fixUrl
Changed the regular expressions related to badUrl so they don't need to copy the data. This
will speed them up.
Fixed a bug where trailing slashes would defeat the badUrl check.
Re-indented according to WGBP.
Added tests to cover all of the changes.
2007-12-11 22:51:31 +00:00
Colin Kuskie
ac6651cdcd
forward porting fixUrl bugfix and test
2007-12-11 16:40:05 +00:00
Colin Kuskie
a8eb245f2c
Remove debugging code.
...
Only process ->get method calls for existing i18n objects.
Handle the default namespace setup in ->new
Add POD code on how to run this from the command line.
Basically, it's done but needs to be run against more code
to handle variable based i18n calls (which need to be ignored)
and nested scope object creation.
2007-12-06 22:38:33 +00:00
Colin Kuskie
75041656ee
adding more debug statements to Storage/Image.t
2007-12-04 21:31:30 +00:00
Colin Kuskie
72906e27fb
fixing handling of http:// calls in the Extras URL
2007-12-04 21:25:32 +00:00
Colin Kuskie
21658d2ffd
Remove debugging code.
...
Add in code to actually check the label in the requested namespace.
Now the problem becomes how to get all the right paths to
the right modules.
2007-12-03 05:47:35 +00:00
Colin Kuskie
ad661f2a70
Rewrite the adjustMaxFilesize test to be data driven.
...
Check the original sizes, and resized sizes exactly.
Hoping that this fixes last night's Image.t test failure.
2007-12-02 04:01:07 +00:00
Colin Kuskie
225590fa33
Add tests for the tempspace node.
2007-12-01 05:24:30 +00:00
Colin Kuskie
1c02551bd6
Perl::Critic module for checking illegal i18n labels
2007-12-01 04:48:55 +00:00
Colin Kuskie
d40ea62894
avoid running this test unless we have WRE installed
2007-12-01 00:12:10 +00:00
Colin Kuskie
241bb7ebac
Storage/Image.t tests failing due to being run as root user. Add SKIP to enable test for non-users only
2007-11-30 16:26:22 +00:00
Colin Kuskie
350d698441
forward porting another batch of Event getTemplateVar tests
2007-11-28 05:45:11 +00:00
Colin Kuskie
0a1974ba4c
forward porting Event dateSpan display fix and Event.t test
2007-11-28 04:47:30 +00:00
Colin Kuskie
92c3652406
Adding previously forgotten testing collateral
2007-11-28 04:35:01 +00:00
Colin Kuskie
8b84ae3e76
Up coverage of addGroups to 100%.
...
Change tabs to spaces in group diagrams.
Optimize the addGroups membership check so the expensive getGroupsIn
doesn't have to take place.
Add a label to the foreach.
2007-11-26 05:13:32 +00:00
Colin Kuskie
1b3d7f0c2b
Refactor out the copied code to resize images based on the max file
...
size from the Admin Settings and create a new method in
Storage::Image.
Build a test to verify that it works correctly.
2007-11-24 05:30:15 +00:00
Colin Kuskie
41a8524daf
remove mocking, since we new use PseudoRequest
2007-11-22 20:52:26 +00:00