Commit graph

46 commits

Author SHA1 Message Date
Colin Kuskie
04da356822 take more advantage of getTestCollateralPath file concat 2008-02-09 04:44:15 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Doug Bell
ec3bc19d77 Added i18n for Gallery (Search) template
Fix: Album description showing up in Photos when photo has no synopsis
fix: Photo now shows correct confirmation screen
fix: Photo now gets auto-committed according to Gallery approval workflow
fix: Formatting problems in Album view
fix: Photo and Album assets now retain their Owner after other users edit them.
fix: Gallery::Utility migration now retains createdBy, creationDate, and ownerUserId.
Testing Gallery::Utility a bit more thoroughly.
fix: Photo EXIF data now gets cached correctly and sanitized for references (since JSON won't store them and they're of no use to us anyway).
2008-01-25 22:34:37 +00:00
Doug Bell
6fcfa3f80d fixes for Gallery and Gallery Utility 2008-01-09 04:23:52 +00:00
Doug Bell
f56c0873d8 Added userDefined fields to GalleryAlbum assets. Modified Gallery::Utility to migrate userDefined fields from Threads to GalleryAlbums. Added tests for the previous. 2008-01-07 22:38:59 +00:00
Doug Bell
0e55ec42cd Added migration utility for Gallery 2008-01-04 06:23:38 +00:00
Colin Kuskie
01577051cd re test #6. Making the hash ref a bag causes an automatic mismatch and interferes with
test diagnostics.
Test fails due to a mismatch in the assetSize param in the first (and probably further)
entry of the loop.  Marked as TODO.
2007-12-31 21:25:35 +00:00
Doug Bell
af271b9f26 fixed a bunch of GalleryAlbum/Photo tests 2007-12-26 00:39:08 +00:00
Colin Kuskie
7be4f8ea82 Remove all tests with no internal tests, or that are exact copies of GalleryAlbum tests.
Update 00base.t to test the Gallery instead of the GalleryAlbum.
2007-12-21 21:47:15 +00:00
Colin Kuskie
4a95c73cc8 fix use lib paths 2007-12-21 19:24:50 +00:00
Colin Kuskie
ead0016496 Added skipAutoCommitWorkflow, committed the versionTag.
addArchive seems to create a new revision, so stuff it inside the existing versionTag
2007-12-21 19:21:18 +00:00
Colin Kuskie
9044285f33 Commit the version tag, add skipAutoCommitWorkflow. Fix syntax errors. Set the plan. Half the tests are failing 2007-12-21 19:06:49 +00:00
Colin Kuskie
0ba62f6824 Commit the version tag, add skipAutoCommitWorkflow. Add a TODO test as a placeholder. 2007-12-21 19:03:28 +00:00
Colin Kuskie
ea011d3751 Commit the version tag, add skipAutoCommitWorkflow. Add a TODO test as a placeholder. 2007-12-21 19:01:54 +00:00
Colin Kuskie
4a68ac8c4a fix all the FindBin paths 2007-12-21 18:56:52 +00:00
Colin Kuskie
303d0b2d0f Commit the version tag, add skipAutoCommitWorkflow. Update the use lib path. Skip test_permission tests. All tests are skipped. 2007-12-21 18:55:26 +00:00
Colin Kuskie
368f5294a3 Commit the version tag, add skipAutoCommitWorkflow. Update the use lib path. Skip test_permission tests. Most tests are failing. 2007-12-21 18:48:47 +00:00
Colin Kuskie
1f2c890cfe Commit the version tag, add skipAutoCommitWorkflow. This test runs, but is failing all tests 2007-12-21 18:39:57 +00:00
Colin Kuskie
cf00f5bb5b Commit the workflow.
Use the skipAutoCommitWorkflow switch.
AssetTrash->purge does not set the invocant to be undef, only its copy.
2007-12-21 17:51:24 +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
Chris Nehren
9db0430032 Fix the groupToEditPost field defaulting to the groupIdEdit field. Make sure
that the added collab system in the test has a parent asset as well, to ensure
that the inheritance works properly.
2007-11-07 22:29:21 +00:00
Chris Nehren
e20e6061f2 Don't delete the groups used in the Post test, they're needed. May want to make
mock groups in the future. Also clean up some commented out things from
Collaboration.t.
2007-11-06 23:06:09 +00:00
Chris Nehren
0d689afa4c Add the groupToEditPost field to the Collaboration system. This allows users
to specify a group of users that will always be able to do edits on posts,
regardless of whether they own those posts and independent of the editTimeout
field.
2007-11-06 22:58:22 +00:00
Doug Bell
32b27d0954 more tests, started Photo development, changed some naming 2007-10-25 06:20:20 +00:00
Diona Kidd
5efea40a96 Adding SQLForm test 2007-08-23 02:30:22 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
Colin Kuskie
c615268d94 fix a bug with the new assetDbProperties method. It used the wrong class 2007-07-01 05:15:53 +00:00
Colin Kuskie
0a7e06edca Remove extra arguments to rollback. Not sure how those got added
in the first place.
Fix the WikiPage, which was not cleaning up after itself.
2007-05-29 22:52:52 +00:00
Roy Johnson
1a95b94598 Fixed failing calendar test
7.3.3 beta release
2007-01-04 00:50:41 +00:00
Colin Kuskie
5a26e4f2d8 Assets need to be committed before adding children to them. This should really be done in addChild to prevent it since it was manually hacked into the CS. 2006-12-22 18:10:27 +00:00
Roy Johnson
e92871629c Added a the beginnings of a test suite for the wiki. Fixed privilege check in the media folder. 2006-12-21 16:19:37 +00:00
Colin Kuskie
9d0894b674 Add a new method to t/lib/WebGUI/Test.pm to return the path to the test
collateral.
Update all tests to use the new method.
Change testCodebase.pl to run long tests by default.  To disable the
long tests, use the --noLongTests switch.
2006-12-15 23:17:22 +00:00
Roy Johnson
b5aea5a60b fixed some broken tests 2006-12-13 14:20:06 +00:00
Roy Johnson
39a992e0a7 Added the beginnings of a test suite for the Calendar wobject 2006-12-10 23:22:04 +00:00
Roy Johnson
e058215bf7 Merging Search test into head 2006-11-30 01:05:21 +00:00
Colin Kuskie
fdffd2a5e3 more diagnostics for remotely failing test 2006-11-20 17:17:47 +00:00
Roy Johnson
153b13207f merging tests and bug fixes from 7.1 branch
- fix Asset.t cache test
- fix Asset.t purgeCache test
- add Session.t test suite
2006-10-26 19:14:45 +00:00
Roy Johnson
e4d3e5839f Added 3 new tests to article for the view method, caching of the view method, and the purgeCache method. They aren't quite working right yet though... 2006-10-18 22:42:58 +00:00
Colin Kuskie
d6a62df50c This test is failing in the smoke-tests, but manual runs by two different
people on different OS'es are passing.  I've added some diagnostic tests
to help us figure out what's going on.
2006-10-15 01:16:57 +00:00
Roy Johnson
a085db64df Added new directory in t/ for collateral tests.
fix - article.t false failure on collateral copy.

Added new test to article.t for purge method.
2006-10-11 22:51:44 +00:00
Roy Johnson
518c76c6f1 A new test. It's currently failing but I'm not really sure why. It could be a bug but I think I'm testing this wrong. 2006-10-04 19:04:28 +00:00
JT Smith
f8d22359d5 Images now create revisions as you resize them, so you can roll back to a
previous size.
adjusted roy's test because it's not accurate
2006-09-27 21:19:19 +00:00
Roy Johnson
41bd19736c New test for Article Wobject 2006-09-26 18:38:31 +00:00
Colin Kuskie
04911c04e9 removing diag output 2006-04-19 16:07:46 +00:00
Colin Kuskie
4e9eb32635 Added a new set of tests for checking the integrity of the WebGUI database.
The first tests, Asset_diagnose.t checks that assetIds match in tables
asset, assetData and each Asset's default table.

Asset/Wobject/DataForm_diagnose.t adds tests for verifying DataForm
collateral tables, DataForm_field and DataForm_tab.  With a few
small changes, the test could also cover the DataForm data tables,
DataForm_entry and DataForm_entryData.

The tests are optimized to do a quick preliminary test, and if this
test fails, then an in-depth test is run.  This second test will
run a VERY VERY VERY long time, but will tell you exactly what's
missing from your tables.

The new tests require the module Test::Deep, for comparing data structures.
2006-02-26 04:03:10 +00:00