Commit graph

2683 commits

Author SHA1 Message Date
Colin Kuskie
25fb019a18 Prepare a test method for throwing Template exceptions. Add code to handle HTTP 304 for visitors. 2010-08-10 10:27:45 -07:00
Colin Kuskie
08f453475e Add extra tests for denied www methods, checking asset state, add comments to test, and cleanup code. 2010-08-10 10:27:45 -07:00
Colin Kuskie
c987747409 Explicit return of undef in the fall through case. Test for notFound now look for undef. Added POD. 2010-08-10 10:27:45 -07:00
Colin Kuskie
7e96b15141 Check for fragment existance. Clarify a test. 2010-08-10 10:27:44 -07:00
Colin Kuskie
ead0c0d0e9 Fix test setup and lib dirs. 2010-08-10 10:27:44 -07:00
Colin Kuskie
35284c0753 getUrlPermutations, and a stub for Content::Asset::dispatch so the test doesn't die. 2010-08-10 10:27:44 -07:00
Colin Kuskie
32a75ebe38 Use correct path to get to WebGUI::Test 2010-08-10 10:27:44 -07:00
Doug Bell
9d6463f1e7 make sure something is returned 2010-08-10 10:27:44 -07:00
Doug Bell
2ccbdf4e19 fix %INC jiggery-pokery 2010-08-10 10:27:44 -07:00
Doug Bell
00b41fb2a0 add tests for declined behavior 2010-08-10 10:27:44 -07:00
Doug Bell
b5e1db8ff9 test default www_view with unhandled fragment 2010-08-10 10:27:44 -07:00
Doug Bell
b77f98ed6a test ?func= dispatch with unhandled fragment 2010-08-10 10:27:44 -07:00
Doug Bell
7ab4c2d95f test overridden dispatch should trump default 2010-08-10 10:27:44 -07:00
Doug Bell
2d8c354cb3 add tests for new dispatch system 2010-08-10 10:27:43 -07:00
Scott Walters
7eda8f7d46 Numerous corrections to tests.
Currently, "Looks like you failed 62 tests of 3882".
Many transient, non-deterministic failures lurk and specific asset types need special cases added in test subclasses.
2010-08-10 11:24:39 -04:00
Colin Kuskie
b8917d4e57 Make sure that keywords are always returned in alphabetical order in the WikiMaster byKeyword view. 2010-08-09 19:27:45 -07:00
Colin Kuskie
be42b7118c Migrate CartItem from Class::InsideOut to Moose. 2010-08-05 16:24:10 -07:00
Scott Walters
ca5ca46557 Don't call methods on the first story item when there are no story items.
Fixes #11747.
2010-07-28 08:34:39 -04:00
Scott Walters
e033192328 StoryTopic 'Alphabetically' sort order 2010-07-28 08:33:52 -04:00
Colin Kuskie
ca9a3bd6c7 Merge branch 'master' into WebGUI8, up to 7.9.10. Some tests failing due to changes in default content. 2010-07-27 22:55:57 -07:00
Colin Kuskie
49374b43eb Operations should be able to handle UTF-8 urls, too. Fixes bug #11683 2010-07-27 15:37:53 -07:00
Colin Kuskie
bba978f2a1 Use the correct end tag identifier character. 2010-07-27 11:50:27 -07:00
Colin Kuskie
26484f3361 Make the FilePump macro return valid XHTML. Fixes bug #11742. 2010-07-27 11:45:03 -07:00
Colin Kuskie
5bc83c4b17 If the User Function Style template is cut or deleted, use the Fail Safe template instead. Fixes bug #11729 2010-07-26 09:01:21 -07:00
Colin Kuskie
ffe4b8fa2c Better handling of an empty spamStopWords entry in the config file, for WikiPage and Post. 2010-07-23 17:09:18 -07:00
Scott Walters
d17d096380 StoryArchive optional sorting by title.
Fwiw, this code was written a while ago but seems to have gotten
misplaced.
2010-07-23 09:13:55 -04:00
Colin Kuskie
a7cc3696c6 Update Tax.pm for Moose. 2010-07-16 09:01:58 -07:00
Doug Bell
79fa8cafa9 reconcile IOB test with working version in master 2010-07-15 13:02:36 -05:00
Doug Bell
256119575c fix syntax error in InOutBoard test. still fails 2010-07-15 12:55:29 -05:00
Doug Bell
b993e54bff declare variable to fix test 2010-07-15 12:55:10 -05:00
Doug Bell
cbd53b7aa6 fix bad plan in AssetLineage test 2010-07-15 12:54:52 -05:00
Doug Bell
2471517fa7 remove getAdminConsole from Survey 2010-07-15 12:54:31 -05:00
Doug Bell
d34377e45d fix admintoggle tests 2010-07-15 12:52:13 -05:00
Doug Bell
85e218f62f remove bad merge marks 2010-07-15 12:51:45 -05:00
Doug Bell
3934a6704c fix getEditForm 2010-07-15 11:55:25 -05:00
Doug Bell
1caef590cc fix navigation edit form 2010-07-15 11:55:25 -05:00
Doug Bell
eec0780893 more test work 2010-07-15 11:55:24 -05:00
Doug Bell
e891410075 tests and such 2010-07-15 11:55:24 -05:00
Doug Bell
ea1a020ab5 fixes to content wizard 2010-07-15 11:52:04 -05:00
Doug Bell
3ae21d6349 Merge remote branch 'upstream/WebGUI8' into 8-merge 2010-07-14 18:26:42 -05:00
Doug Bell
708b47d73c Merge remote branch 'upstream/WebGUI8' into 8-merge
Conflicts:
	docs/gotcha.txt
	docs/previousVersion.sql
	lib/WebGUI/Asset/Wobject/GalleryAlbum.pm
	lib/WebGUI/Asset/Wobject/Navigation.pm
	lib/WebGUI/AssetLineage.pm
	lib/WebGUI/Config.pm
	lib/WebGUI/Form/Template.pm
	lib/WebGUI/Group.pm
	lib/WebGUI/VersionTag.pm
	lib/WebGUI/Workflow/Activity/TrashExpiredEvents.pm
	t/AdSpace.t
	t/Asset/AssetExportHtml.t
	t/Asset/AssetLineage.t
	t/Asset/Story.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/InOutBoard.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/Group.t
	t/Mail/Send.t
	t/Operation/AdSpace.t
	t/Session/ErrorHandler.t
	t/Session/Scratch.t
	t/Session/Url.t
	t/Shop/Cart.t
	t/Shop/Pay.t
	t/Shop/Ship.t
	t/Shop/ShipDriver.t
	t/Shop/TaxDriver/Generic.t
	t/Shop/Vendor.t
	t/VersionTag.t
	t/lib/WebGUI/Test.pm
2010-07-14 18:20:00 -05:00
Colin Kuskie
934a93a2a8 Fix bugs from the Transaction.pm Moose work. 2010-07-14 15:47:21 -07:00
Doug Bell
cd1e450c32 Merge branch 'master' into 8-merge
Conflicts:
	docs/gotcha.txt
	docs/upgrades/upgrade_7.9.8-7.9.9.pl
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/Wobject/Calendar.pm
	lib/WebGUI/Asset/Wobject/Carousel.pm
	t/Asset/Asset.t
	t/Mail/Send.t
	t/Session/Url.t
	t/lib/WebGUI/Test.pm
2010-07-14 17:06:19 -05:00
Colin Kuskie
04a16ed87c Move Shop/Transaction to Moose. Change core modules to suit. 2010-07-14 14:50:39 -07:00
Doug Bell
129251fd61 fix test to clean up config properly 2010-07-13 13:41:28 -05:00
Colin Kuskie
b24f73fb3d Fix the plan for skipping tests when ideographic search won't work. 2010-07-13 11:39:46 -07:00
Doug Bell
ef319ea2a2 fix cleanup 2010-07-13 13:12:47 -05:00
Doug Bell
ab7e98d08c test changes to updating serialize asset props 2010-07-13 13:12:47 -05:00
Doug Bell
65e9902001 migrate to JsonTable to edit template attachments 2010-07-13 13:12:46 -05:00
Colin Kuskie
fd153b80e9 Always use good macro form when using the Extras macro. Fixes bug #11455. 2010-07-12 17:13:38 -07:00