webgui/t
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
..
Account migrate Account Friends sentFriendRequest to FB 2011-01-04 18:01:23 -06:00
AdSpace Cleanup the AdSpace created for testing. 2010-11-03 11:30:02 -07:00
Asset Introduce WebGUI::Test::getPage2, similar to WebGUI::Test::getPage, that makes 2011-05-11 13:58:20 -04:00
AssetAspect remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
AssetHelper move export product tests and fix the export product helper 2011-05-05 19:27:22 -05:00
Auth almost done fixing addRevision tests 2010-12-03 15:01:31 -06:00
Content we now cache the requested URL inside the session, fix it for tests 2011-05-05 19:35:49 -05:00
Crud Fix WebGUI::Crud to autowrite objects when created. 2010-11-28 22:01:26 -08:00
Definition remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Exception Fix session leak from this test. 2010-11-19 11:51:09 -08:00
FilePump almost done fixing addRevision tests 2010-12-03 15:01:31 -06:00
Form all tests run individually 2010-12-03 15:01:31 -06:00
FormBuilder Update test since names are now required. 2010-09-22 11:58:04 -07:00
Group almost done fixing addRevision tests 2010-12-03 15:01:31 -06:00
Help remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
HTML remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
i18n Fix syntax error from WebGUI::Paths cleanup 2010-09-22 21:31:09 -07:00
Inbox remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
lib Merge branch 'Crud' into WebGUI8 2010-11-11 14:23:11 -08:00
Macro admin mode is always on for admins 2011-05-05 19:36:55 -05:00
Mail remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Operation migrate Activity getEditForm to FormBuilder 2011-02-25 15:45:41 -06:00
PSGI PSGI entry points (#11632) -- add a plackMiddleware section to the config file; modify share/site.psgi to load from it. 2011-05-10 14:40:06 -04:00
Role/Asset almost done fixing addRevision tests 2010-12-03 15:01:31 -06:00
Search almost done fixing addRevision tests 2010-12-03 15:01:31 -06:00
Session Don't look in the config file to get the gateway, look in the request object. Maybe someday we'll be able to use URI. 2011-01-13 13:33:31 -08:00
Shop getEditForm is a FormBuilder and doesnt include csrfToken (added by www_edit) 2011-05-05 19:45:50 -05:00
Spectre remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Storage i'm not testing that imagemagick does it correctly... 2011-05-05 20:01:03 -05:00
supporting_collateral migrate Thingy import from csv to FormBuilder 2011-02-10 16:34:03 -06:00
Template Only run HTML::Template::Expr tests if the module is available. Temporarily place it into the config file so that it can be tested. 2010-09-07 21:14:12 -07:00
tests add wg-form-TYPE class to all form control wrappers 2011-04-11 16:57:21 -05:00
Workflow make RemoveOldCarts test more robust 2011-05-06 13:20:02 -05:00
00_compile.t fix upgrade script compile checks 2011-04-06 10:02:19 -05:00
_test.skeleton remove END section from test skeleton 2010-04-02 18:32:25 -05:00
_test.skeleton.mech rfe: VIM perl mode for skeletons 2008-09-16 22:28:17 +00:00
Account.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Admin.t cope with extra fields returned and fix apparent errors in the t/Admin.t tests to make them pass 2011-05-03 18:15:09 -04:00
AdSpace.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Asset.t almost done fixing addRevision changes 2010-12-03 15:01:31 -06:00
Auth.t Remove getRedirectLocation and setRedirectLocation from Session::Http 2010-11-22 09:28:14 -08:00
badExtrasMacros.t Prune dead code out that uses WebGUI::Test->lib. 2010-09-22 13:51:20 -07:00
badGatewayMacros.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Config.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Crud.t Fix WebGUI::Crud to autowrite objects when created. 2010-11-28 22:01:26 -08:00
DatabaseLink.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
DateTime.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Definition.t allow getFormProperties to be called as a class method 2011-01-31 20:35:25 -06:00
Fork.t no zombie forks as a test criteria 2011-05-03 18:16:41 -04:00
Form.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
FormBuilder.t fix formbuilder tests for new flags 2011-04-13 17:53:06 -05:00
Group.t Fix a smart match/! binding problem 2010-09-22 11:59:06 -07:00
hardcodedExtras.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
HTML.t Merge branch 'master' into WebGUI8. Merged up to 7.10.4 2010-11-03 09:47:36 -07:00
Inbox.t Merge commit 'bfe9780ce0' into WebGUI8. Merged up to 7.10.3 2010-11-02 14:49:33 -07:00
International.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Keyword.t Do checks for keywords without order. 2011-01-04 11:36:06 -08:00
LDAPLink.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Macro.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
mandatory_template_vars.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Paginator.t remove WebGUI::Utility 2010-09-07 13:18:49 -05:00
PassiveProfiling.t almost done fixing addRevision tests 2010-12-03 15:01:31 -06:00
Paths.t fix WebGUI::Paths test 2010-07-12 14:25:59 -05:00
Pluggable.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
POD.t Check all the module namespaces for POD. 2010-09-22 13:53:44 -07:00
PodChecker.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
ProfileCategory.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
ProfileField.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
ProgressBar.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
rawHrefUrls.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
run_account.t initial base of Account test classes 2011-01-04 19:54:09 -06:00
run_assets.t make run_assets.t work 2010-11-09 16:51:42 -06:00
run_forms.t Test cleanup after merge to 7.10.2 2010-10-27 18:42:43 -07:00
Search.t Another leaky test fixed. 2011-01-13 13:33:32 -08:00
Session.t switchAdminOn/Off no longer exists 2011-05-04 12:51:48 -05:00
SQL.t Fix number of tests in SQL.t 2010-11-03 13:24:58 -07:00
Storage.t i'm not testing that imagemagick does it correctly... 2011-05-05 20:01:03 -05:00
templateSyntax.t Prune dead code out that uses WebGUI::Test->lib. 2010-09-22 13:51:20 -07:00
Text.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Upgrade.t all tests run individually 2010-12-03 15:01:31 -06:00
User.t move core profile fields into users table 2010-12-03 22:36:30 -06:00
VersionTag.t No more session->var. 2011-01-04 11:24:23 -08:00
WebGUI.t allow templates to be returned from content handlers 2011-04-08 15:44:28 -05:00
WebGUI_conf.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Whitespace.t remove use of FindBin in tests 2010-09-01 14:05:53 -05:00
Wizard.t migrate Wizard getForm to FormBuilder 2011-02-25 15:45:40 -06:00
Workflow.t remove WebGUI::Utility::isIn 2010-09-07 12:33:15 -05:00