Colin Kuskie
7b218942b3
Merge commit ' 63865eb39f' into WebGUI8. up to 7.9.11
2010-08-13 11:52:08 -07:00
Scott Walters
2d1dcf202a
Default postProcessMergedProperties in case our child class doesn't have one. Oops.
2010-08-11 23:52:31 -04:00
Scott Walters
773fadcffc
Pass empty JSON for icalFeeds field in Calendar until I can get good sample data; makes Calendar Test::Asset tests pass.
2010-08-11 23:24:28 -04:00
Scott Walters
5d50866461
Add support for additional, required per-package constructor args.
...
Give better diagnostics on which properties don't appear in forms and vice versa so I can hopefully figure out the rhyme and reason to those that don't match.
When an edit form takes attachmentsJson, stick some in there so it doesn't get upset and to give it a workout.
2010-08-11 19:36:48 -04:00
Scott Walters
48f239a178
Requires extra arguments to Asset constructor; list them in the package so Test::Asset can query and use them.
2010-08-11 19:29:17 -04:00
Colin Kuskie
d06b7b547d
Fix a test with random false fails.
2010-08-10 21:24:21 -07:00
Colin Kuskie
38788f156c
Use a safe file for doing upload and addFile tests.
2010-08-10 21:10:46 -07:00
Colin Kuskie
19199cac9a
Fix bugs in AssetReport code, and test.
2010-08-10 20:57:31 -07:00
Colin Kuskie
6eba088fe9
Update test to accomodate new restriction on uploading .pm files.
2010-08-10 20:50:00 -07:00
Doug Bell
50d81eb007
use Test::Exception instead
2010-08-10 21:25:18 -05:00
Doug Bell
7861679aee
add a test for ::::
2010-08-10 21:23:12 -05:00
Doug Bell
bb2e32141d
fix 11773 Pluggable allows arbitrary module load
2010-08-10 21:17:20 -05:00
khenn
22da7c4114
initial release of Asset Report asset allowing reports to be created using asset properties.
2010-08-10 18:53:22 -05:00
Colin Kuskie
cb2bb75d23
Remove notes and diags
2010-08-10 16:32:10 -07:00
Doug Bell
bd4e7a2ec0
fix 11768 Edit Branch does not update wgaccess
...
I can't seem to reproduce this problem in the tests...
2010-08-10 18:21:16 -05:00
Doug Bell
731ae3801a
add webgui to strftime conversion sub
2010-08-10 13:51:20 -05:00
Colin Kuskie
711f8d6bfa
Update Keyword test for new default content.
2010-08-10 10:40:26 -07:00
Colin Kuskie
3e95468254
Update this test for the new default content. Fix a duplicated test description.
2010-08-10 10:37:06 -07:00
Colin Kuskie
ea1bb5f714
No more dash escaping for the Matrix.
2010-08-10 10:27:46 -07:00
Colin Kuskie
98d3ecc16f
Set the session asset, added tests.
2010-08-10 10:27:45 -07:00
Colin Kuskie
8a448e8f96
Tests for methods that die. Strange tom-foolery to get $@ into the logged message...
2010-08-10 10:27:45 -07:00
Colin Kuskie
3a9a3dd8e9
Add retry in case of problems in dispatch. Add tests for logging errors for bad templates.
2010-08-10 10:27:45 -07:00
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