Commit graph

42 commits

Author SHA1 Message Date
Doug Bell
babfa74209 Merge branch 'master' into 8-merge
Conflicts:
	docs/gotcha.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/File/GalleryFile/Photo.pm
	lib/WebGUI/Asset/Post.pm
	lib/WebGUI/Asset/Story.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/Navigation.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/AssetTrash.pm
	lib/WebGUI/Config.pm
	lib/WebGUI/Form/Template.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/Inbox.pm
	lib/WebGUI/Workflow/Activity/DeleteExpiredSessions.pm
	lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
	sbin/testEnvironment.pl
	t/AdSpace.t
	t/AdSpace/Ad.t
	t/Asset/Asset.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/EMSSubmissionForm.t
	t/Asset/Event.t
	t/Asset/File/GalleryFile/Photo/00base.t
	t/Asset/File/GalleryFile/Photo/comment.t
	t/Asset/File/GalleryFile/Photo/download.t
	t/Asset/File/GalleryFile/Photo/edit.t
	t/Asset/File/GalleryFile/Photo/exif.t
	t/Asset/File/GalleryFile/Photo/makeResolutions.t
	t/Asset/File/GalleryFile/Photo/makeShortcut.t
	t/Asset/File/Image/setfile.t
	t/Asset/File/setfile.t
	t/Asset/Post.t
	t/Asset/Post/Thread/getAdjacentThread.t
	t/Asset/Sku.t
	t/Asset/Sku/ProductCollateral.t
	t/Asset/Story.t
	t/Asset/Template.t
	t/Asset/Template/HTMLTemplateExpr.t
	t/Asset/Wobject/Gallery/00base.t
	t/Asset/Wobject/GalleryAlbum/00base.t
	t/Asset/Wobject/GalleryAlbum/ajax.t
	t/Asset/Wobject/GalleryAlbum/delete.t
	t/Asset/Wobject/Matrix.t
	t/Asset/Wobject/StoryArchive.t
	t/Asset/Wobject/Survey/ExpressionEngine.t
	t/Asset/Wobject/Survey/Reports.t
	t/AssetAspect/RssFeed.t
	t/Auth/mech.t
	t/Config.t
	t/Group.t
	t/Help/isa.t
	t/International.t
	t/Mail/Send.t
	t/Operation/AdSpace.t
	t/Operation/Auth.t
	t/Pluggable.t
	t/Session.t
	t/Session/DateTime.t
	t/Session/ErrorHandler.t
	t/Session/Scratch.t
	t/Session/Stow.t
	t/Shop/Cart.t
	t/Shop/Pay.t
	t/Shop/PayDriver/ITransact.t
	t/Shop/PayDriver/PayPalStd.t
	t/Shop/Ship.t
	t/Shop/ShipDriver.t
	t/Shop/TaxDriver/EU.t
	t/Shop/TaxDriver/Generic.t
	t/Shop/Transaction.t
	t/Shop/Vendor.t
	t/VersionTag.t
	t/Workflow/Activity/ArchiveOldStories.t
	t/Workflow/Activity/ExpireIncompleteSurveyResponses.t
	t/lib/WebGUI/Test.pm
2010-07-09 11:48:30 -05:00
Colin Kuskie
6c3369d0cb Revert "use temp config file for testing"
This reverts commit 9b725c6d42.
2010-06-14 15:19:54 -07:00
Colin Kuskie
416c3737c6 Fix cleaning up some files. Asset->new is not to be used unless you know what you're doing. 2010-06-11 19:45:31 -07:00
Colin Kuskie
33640e6e05 Fix a storage clean-up. 2010-06-11 09:19:00 -07:00
Graham Knop
6f102973dd use temp config file for testing 2010-06-10 18:58:25 -05:00
Graham Knop
4c18ba3563 convert all test cleanup to addToCleanup 2010-06-10 18:47:54 -05:00
Graham Knop
9b725c6d42 use temp config file for testing 2010-06-10 10:09:54 -05:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Colin Kuskie
78426b7147 Update test assets for export tests. 2010-05-11 22:07:05 -07:00
Graham Knop
a3a8081ec7 add test some extra diag info to export test 2009-10-05 21:37:24 -05:00
Graham Knop
b6c1837756 fix and clean up export test 2009-09-24 18:55:23 -05:00
Colin Kuskie
c2ffca0845 Remove debug Test module. 2009-07-17 04:15:02 +00:00
Colin Kuskie
713c43976b fix this piece of crap test, again. 2009-07-17 01:45:50 +00:00
Colin Kuskie
b74761619e More SKIP number fixes. 2009-05-28 23:03:19 +00:00
Colin Kuskie
d3a874dd36 Update AssetExportHtml test to match new API for 7.7 2009-05-21 16:02:37 +00:00
Graham Knop
1f3ab6a419 export cleanups and mobile style 2009-05-15 09:30:20 +00:00
Graham Knop
51ce57d7fc fix export test 2009-04-30 20:06:26 +00:00
Colin Kuskie
1a9da53abf Modify tests to use the automatic storage cleanup provided by WebGUI::Test.
Several tests previously leaked storage locations.
2009-04-14 01:54:28 +00:00
Colin Kuskie
77252517a0 Account for asset collateral in generated files for the AssetExportHtml test. 2009-04-02 16:46:07 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
d4fb48f77d Fix a bad test that will fail when we upgrade to mysql 5.1 2009-02-19 16:35:46 +00:00
Colin Kuskie
a17e4288ba Remove tests for file content that do not work because files stream.
Update error message in test to match how the code works.
2009-02-03 20:27:36 +00:00
Graham Knop
5319953a0a restore old export path even if empty 2008-10-14 15:25:31 +00:00
Colin Kuskie
75b39feb08 final fixes for AssetExportHtml test 2008-10-08 16:52:52 +00:00
Colin Kuskie
076694eff3 More guardbanding tests for root.
No more dumping files into /
2008-10-08 04:06:09 +00:00
Colin Kuskie
a167731a93 begin guardbanding the test to survive being run by root 2008-10-07 23:21:35 +00:00
Colin Kuskie
8e6c3297bb forward port i18n AssetExportHtml error messages 2008-10-04 07:47:58 +00:00
Colin Kuskie
5ab09308af forward port test fixes for AssetExportHtml 2008-10-04 07:33:01 +00:00
Colin Kuskie
7d59a4d7c7 Fix a bug where GUID style userIds were rejected by AssetExportHtml. 2008-09-14 02:39:32 +00:00
Graham Knop
edebe7e2b9 revert oops 2008-08-19 20:48:47 +00:00
Doug Bell
57b8cc4bae fixed: loginBox macro can no longer return the user to the logout page, logging them out 2008-08-19 20:39:43 +00:00
Colin Kuskie
3f8c483293 Update this test for new content.
Change arguments in cmp_* to references instead of arrays.
Check number of files dynamically, rather than hardcoded.
2008-08-02 17:09:21 +00:00
Colin Kuskie
6fbee7bc3c refactor out configPath storage duplication 2008-04-21 20:16:08 +00:00
Colin Kuskie
404258f7c6 All test sessions are automatically outfitted with a PseudoRequest object.
Check to see if there is an exportPath defined in the config file, if
not, safely skip all of the tests.
2008-04-21 19:10:19 +00:00
Chris Nehren
29b31b74b9 change some exportPath munging so we're not deleting the default export path
(PoLA)
2008-04-21 01:06:27 +00:00
Chris Nehren
a62990b03c make the tests more friendly to those not running the WRE. 2008-04-21 00:26:28 +00:00
Chris Nehren
9e8ecd20d7 fix for a test to reflect that exportGetUrlAsPath now calls exportCheckPath 2008-04-20 23:14:28 +00:00
Chris Nehren
684ce5a7ca The export system has been completely rewritten to be less monolithic and
easier to understand. It's also got a fully rewritten test suite (145 and
counting). It uses Path::Class for much of its work, which is now a requirement
for wG.
2008-04-16 22:16:11 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
Doug Bell
af66fa585c Updated AssetExportHtml and tests. Now to re-order the export. 2007-02-01 16:57:05 +00:00
Roy Johnson
19bf1f4e8a fix - export fails with strange urls. Factored url to path translation out into a seperate method. Added beginnings of a smoke test for AssetExportHtml.pm. 2007-01-30 15:34:43 +00:00