Doug Bell
677ac978b6
Merge branch 'WebGUI8' of github.com:plainblack/webgui into 8
...
Conflicts:
lib/WebGUI.pm
lib/WebGUI/Auth/WebGUI.pm
sbin/findBrokenAssets.pl
sbin/testEnvironment.pl
2011-05-13 18:20:52 -05:00
Doug Bell
277faae8a1
Merge commit 'v7.10.15' into 8
...
Conflicts:
docs/gotcha.txt
docs/previousVersion.sql
docs/templates.txt
lib/WebGUI.pm
lib/WebGUI/Asset.pm
lib/WebGUI/Asset/Event.pm
lib/WebGUI/Asset/File.pm
lib/WebGUI/Asset/MapPoint.pm
lib/WebGUI/Asset/RichEdit.pm
lib/WebGUI/Asset/Sku/Product.pm
lib/WebGUI/Asset/Snippet.pm
lib/WebGUI/Asset/Story.pm
lib/WebGUI/Asset/Template.pm
lib/WebGUI/Asset/Template/TemplateToolkit.pm
lib/WebGUI/Asset/Wobject/Calendar.pm
lib/WebGUI/Asset/Wobject/Carousel.pm
lib/WebGUI/Asset/Wobject/Collaboration.pm
lib/WebGUI/Asset/Wobject/Dashboard.pm
lib/WebGUI/Asset/Wobject/DataForm.pm
lib/WebGUI/Asset/Wobject/Folder.pm
lib/WebGUI/Asset/Wobject/Map.pm
lib/WebGUI/Asset/Wobject/Search.pm
lib/WebGUI/Asset/Wobject/Shelf.pm
lib/WebGUI/Asset/Wobject/StockData.pm
lib/WebGUI/Asset/Wobject/StoryTopic.pm
lib/WebGUI/Asset/Wobject/SyndicatedContent.pm
lib/WebGUI/Asset/Wobject/Thingy.pm
lib/WebGUI/Asset/Wobject/WeatherData.pm
lib/WebGUI/AssetClipboard.pm
lib/WebGUI/AssetCollateral/DataForm/Entry.pm
lib/WebGUI/AssetExportHtml.pm
lib/WebGUI/AssetLineage.pm
lib/WebGUI/AssetMetaData.pm
lib/WebGUI/AssetTrash.pm
lib/WebGUI/AssetVersioning.pm
lib/WebGUI/Auth.pm
lib/WebGUI/Cache/CHI.pm
lib/WebGUI/Content/AssetManager.pm
lib/WebGUI/Fork/ProgressBar.pm
lib/WebGUI/Form/JsonTable.pm
lib/WebGUI/Form/TimeField.pm
lib/WebGUI/Form/Zipcode.pm
lib/WebGUI/Group.pm
lib/WebGUI/International.pm
lib/WebGUI/Macro/AssetProxy.pm
lib/WebGUI/Macro/FileUrl.pm
lib/WebGUI/Operation/SSO.pm
lib/WebGUI/Operation/User.pm
lib/WebGUI/Role/Asset/Subscribable.pm
lib/WebGUI/Shop/Cart.pm
lib/WebGUI/Shop/Transaction.pm
lib/WebGUI/Shop/TransactionItem.pm
lib/WebGUI/Test.pm
lib/WebGUI/URL/Content.pm
lib/WebGUI/URL/Uploads.pm
lib/WebGUI/User.pm
lib/WebGUI/Workflow/Activity/ExtendCalendarRecurrences.pm
lib/WebGUI/Workflow/Activity/SendNewsletters.pm
lib/WebGUI/i18n/English/Asset.pm
lib/WebGUI/i18n/English/WebGUI.pm
sbin/installClass.pl
sbin/rebuildLineage.pl
sbin/search.pl
sbin/testEnvironment.pl
t/Asset/Asset.t
t/Asset/AssetClipboard.t
t/Asset/AssetLineage.t
t/Asset/AssetMetaData.t
t/Asset/Event.t
t/Asset/File.t
t/Asset/File/Image.t
t/Asset/Post/notification.t
t/Asset/Sku.t
t/Asset/Story.t
t/Asset/Template.t
t/Asset/Wobject/Collaboration/templateVariables.t
t/Asset/Wobject/Collaboration/unarchiveAll.t
t/Asset/Wobject/Shelf.t
t/Auth.t
t/Macro/EditableToggle.t
t/Macro/FilePump.t
t/Shop/Cart.t
t/Shop/Transaction.t
t/Storage.t
t/User.t
t/Workflow.t
2011-05-13 18:15:11 -05:00
Scott Walters
72bac90f93
Rework WebGUI::Test::getPage2 to be a wrapper around WebGUI::Test::Mechanize; this is still just
...
a crutch for converting tests, though really, it's enough shorter that it probably should live on.
getPage should be deprecated and replaced with getPage2 which should then be renamed. Joy.
Anyway, WebGUI::Test::Mechanize had a bit of chicken-and-egg going on with not being able to
modify things in its session until after a request with a valid session cookie was made.
It's now more forgiving.
Reworked t/Asset/AssetExportHtml.t slightly to use getPage2 as it currently stands.
2011-05-11 15:26:32 -04:00
Scott Walters
d2c8670098
Introduce WebGUI::Test::getPage2, similar to WebGUI::Test::getPage, that makes
...
requests using Plack::Test and attempts to maintain getPage's API.
Change three tests in t/Asset/AssetExportHtml.t to use this instead.
Backstory:
Forthcoming WebGUI::Session::HTTP, ::Request, ::Responses mucking abouts broke
some tests that use WebGUI::Test::getPage; in the case of t/Asset/AssetExportHtml.t,
files were written correctly to disc but tests failed because it was comparing them
to undef, which it got back for the page, apparently because getPage bypasses the
logic that traps printing to a filehandle.
2011-05-11 13:58:20 -04:00
Colin Kuskie
1a462d4835
for exportRelatedAssetIds, Don't create a version tag unless it's needed, and then don't restore it unless it exists. Otherwise, the tag leaks and breaks downstream tests.
2011-04-11 09:32:32 -07:00
Paul Driver
1ff9f09e8b
couple more tests for related asset exports
2011-04-06 16:43:23 -05:00
Doug Bell
1866c593ea
almost done fixing addRevision changes
2010-12-03 15:01:31 -06:00
Graham Knop
a95ef168cc
remove use of FindBin in tests
2010-09-01 14:05:53 -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