Commit graph

1446 commits

Author SHA1 Message Date
Colin Kuskie
409e3a3f6c Automatically cleanup storage created for export collateral tests. 2009-04-24 22:41:39 +00:00
Colin Kuskie
6e574a9e6b RssFeed aspect tests, more to follow. 2009-04-24 22:08:25 +00:00
Colin Kuskie
1b8ad91605 Add in StoryManager, 3 assets for managing news content in WebGUI.
Several small API changes to Keyword and AssetExportHtml to support StoryManager functionality.
2009-04-24 18:31:06 +00:00
Colin Kuskie
19f703dc9b Merge with HEAD, 10472 2009-04-24 17:12:17 +00:00
Colin Kuskie
32ef0d5068 getKeywordStaticURL function, with tests. 2009-04-24 16:53:53 +00:00
Colin Kuskie
f9e3c0c99c Check what happens with URLS with an initial dot in them 2009-04-24 16:53:35 +00:00
Colin Kuskie
a75cd108b1 Add back code for throwing exceptions when session is not passed
to class methods.
2009-04-24 03:47:40 +00:00
Patrick Donelan
5e9db959ad Added another Survey ResponseJSON test 2009-04-24 03:43:40 +00:00
Colin Kuskie
90f4abfac1 remove tests for the old, removed, getTaxRate method which was
moved into Shop/TaxDriver
2009-04-24 03:40:42 +00:00
Colin Kuskie
6137a06bb9 Handle automatically cleaning up users at the end of a test. 2009-04-24 03:40:16 +00:00
Colin Kuskie
09ad8d2a11 Remove subclass exportHtml_view in favor of a session scratch variable for telling
when the asset is being exported.  Keyword files are exported into a private directory
to prevent filename collisions.
2009-04-24 00:05:09 +00:00
Graham Knop
f10da67dae fix Post test cleaning up core groups 2009-04-23 16:46:01 +00:00
Graham Knop
f1759f5cd5 fixing lib paths on some tests 2009-04-23 16:22:17 +00:00
Martin Kamerbeek
c851465bd1 More Tax tests 2009-04-23 10:40:01 +00:00
Patrick Donelan
6c58e1de81 Added Survey meta-targets NEXT_SECTION and END_SURVEY to allow for more
convenient jumping
Improved processGotoExpression tests
2009-04-22 07:19:23 +00:00
Patrick Donelan
99855719d0 Survey bug fixes: Verbatim responses now properly recorded
Added useText option to responseValuesByVariableName so that it can be
used for both branch expressions and [[var]] text substitution correctly
Added extra verbatim handling to [[var]] text substitution
All survey test now pass, except for one involving True/False
multi-chocie bundle, soon to be fixed by updating bundle
2009-04-22 05:16:29 +00:00
Colin Kuskie
f2451e2f7e Add feed support to StoryTopic. 2009-04-22 04:59:23 +00:00
Colin Kuskie
070df97708 tag cloud urls in export mode 2009-04-22 01:20:55 +00:00
Patrick Donelan
c3ea6d4683 Added Survey back button, with option to turn it on/off, tests, and i18n
Noticed that some Survey tests are broken, will fix tomorrow
2009-04-21 07:12:07 +00:00
Colin Kuskie
54aaa673cf exported keyword file tests 2009-04-20 23:09:55 +00:00
Colin Kuskie
d1db12d1e4 Finish export code.
Make the list of assets templatable, since the user can see it.
Beginnings of export collateral tests.
2009-04-20 21:18:24 +00:00
Martin Kamerbeek
fea09cb7bd Fixed Tax.t tests. The file that contains them should be renamed to TaxDriver/Generic.t. Will do so when I add the tests for the other taxing
components.
2009-04-18 07:35:14 +00:00
Colin Kuskie
7b3ab664fe test for getStaticKeywordUrl 2009-04-17 17:20:12 +00:00
Colin Kuskie
08c033b2c5 Document how template variables work in export mode.
Change how pagination works when exporting.
Early code for exporting keyword pages.
2009-04-17 17:11:07 +00:00
Colin Kuskie
c439453784 Make rssUrl and atomUrl variables respond to exportMode. 2009-04-16 21:19:17 +00:00
Colin Kuskie
1ddf1b50a4 add export mode for StoryArchive.
Turn off search variables when in export mode.
2009-04-16 19:21:28 +00:00
Colin Kuskie
fbbd63eaa5 Static export for the topic is done. 2009-04-16 17:09:48 +00:00
Colin Kuskie
9b41c21407 Add more tests to reveal Form/Integer behavior. 2009-04-16 04:33:51 +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
c28c7771c3 Top story photo template variables, with i18n, help and tests. 2009-04-13 23:16:53 +00:00
Colin Kuskie
4768a8687e Add storage locations to package data for a Story. With tests. 2009-04-13 17:56:44 +00:00
Colin Kuskie
decde00451 Forward port auto storage deletion code for WebGUI::Test. 2009-04-13 17:36:23 +00:00
Colin Kuskie
314a12def2 Add an autoclean-up method to WebGUI::Test, and convert the Story test
to use it.
2009-04-13 17:33:42 +00:00
Colin Kuskie
1edaca4ed2 Merge up to 10305 2009-04-13 17:04:23 +00:00
Colin Kuskie
fa2e5c2c90 Add valid storageId checks for duplication, since '' ne storageId. 2009-04-13 16:38:26 +00:00
Colin Kuskie
5729a40ab2 Add tests that _really_ check for duplicated storage locations. 2009-04-13 16:36:37 +00:00
Colin Kuskie
ec4713855a Convert Story asset to use Class::C3 properly.
Add a method to duplicate the photo collateral JSON data, with tests.
Make addRevision and duplicate use that method.
2009-04-13 16:33:24 +00:00
Colin Kuskie
ddd06c2ede Provide a way for WebGUI::Test to register groups to clean up at
the end of a test.
Convert several tests to use that, including Post.t, which leaked Groups.
2009-04-13 02:45:03 +00:00
Colin Kuskie
75ad1c14ff Only clone the data from Setting. This prevents trying to close the
session dbh twice and getting odd warning messages.
2009-04-10 16:27:31 +00:00
Graham Knop
17cd847378 adjusting tests for new behavior 2009-04-10 00:51:49 +00:00
Graham Knop
edca468d50 prevent test from leaking users and surveys 2009-04-10 00:51:44 +00:00
Colin Kuskie
9ccdd08a01 Add tests for title vs headline in RSS. 2009-04-09 14:52:54 +00:00
Patrick Donelan
546d48f68b Updated Survey tests to not leave behind versionTag 2009-04-09 04:17:23 +00:00
Patrick Donelan
aa8379188a Survey branch expressions can now resolve score()s and value()s from
other survey instances.
2009-04-09 04:04:39 +00:00
Colin Kuskie
efef611b03 getRssFeedItems for StoryArchive, with tests.
A couple of quick rss/atom url tests.
2009-04-08 22:46:42 +00:00
Colin Kuskie
3853e4dd02 Add a method to return RSS data for a Story, with tests. 2009-04-08 22:28:59 +00:00
Colin Kuskie
0f73a20a03 add tests for RSS feeds for the Collaboration 2009-04-08 21:05:07 +00:00
Yung Han Khoe
4f5963757d added tests for Carousel wobject 2009-04-08 17:17:01 +00:00
Colin Kuskie
5e1cf93394 Update StoryTopic tests for CSV Keywords 2009-04-08 16:59:58 +00:00
Colin Kuskie
db0d709b92 Update StoryArchive test for new Keywords CSV. 2009-04-08 16:58:08 +00:00