Commit graph

14 commits

Author SHA1 Message Date
Colin Kuskie
d995ff09fe Fixed a bug with WebGUI::Session::Url::page where, if preventProxyCache
was enabled a noCache param was always added to the URL.  In some
cases it would add 2 noCache params.

To fix this, I added a skipPreventProxyCache param to the gateway method,
and page just passes $pairs and $skipPreventProxyCache to gateway.

Added tests to Url.t to test gateway, page, makeAbsolute and urlize
to bring its coverage up to 100%.

Added tests to Stow.t to bring it's coverage up to 100% as well.
2006-09-30 17:23:44 +00:00
Colin Kuskie
b1a5c46fcb add 6 more tests for page and clean up the POD 2006-09-29 22:51:18 +00:00
Colin Kuskie
2d2b780ed6 More comments and POD for Session/Url.pm.
Tests for escape, unescape, extras methods.  Test code is big enough 
that I've added section delimiting comments.  This has helped make
the code a lot more readable.
2006-09-29 03:32:24 +00:00
Colin Kuskie
8174f9d2b4 More tests for WebGUI::Session::Url::getSiteUrl, which now has 100% test coverage.
Refactored getSiteUrl so it is very obvious as to how it works, replacing
code that was hard to cover.
2006-09-29 02:30:54 +00:00
Colin Kuskie
71b7032545 more Session::Url tests 2006-09-28 23:41:26 +00:00
Colin Kuskie
86a5cb9128 Fix the same problem with form params in getRequestedUrl as in
getRefererUrl and add tests to detect it.
2006-09-25 04:47:05 +00:00
Colin Kuskie
eea7b941c9 A few more tests to kick coverage up to 100 on WebGUI::Session::Setting
Convert it to use placeholders as well.
More WebGUI::Session::Url tests, and some bug fixes:
	getRefererUrl returned parameters and accepted weird methods that
	looked like http but weren't.
2006-09-25 03:49:25 +00:00
Colin Kuskie
499981d092 removing diag to clean up smoke test output 2006-04-20 18:43:20 +00:00
Colin Kuskie
d0e7c5bb06 fix failing noCache test because separator changed 2006-04-17 03:06:20 +00:00
Colin Kuskie
4260ecd7ce fixing tests broken during 6.9 upgrade cycle 2006-02-18 22:08:33 +00:00
Colin Kuskie
f68c1ace5d Some content for Paginator stub. Not very much at all.
Session/Url.t fixed up.
2006-01-20 23:12:54 +00:00
Colin Kuskie
e1b42d2970 Added Test::MockObject tests to Session/Url to bypass request requirements.
Added stub for Paginator.t
2006-01-20 18:53:47 +00:00
Colin Kuskie
77df67e7c2 additional tests for Session::Url 2006-01-20 00:11:53 +00:00
Colin Kuskie
1ab3df1f30 beginnings of Session::Url testing 2006-01-19 00:19:49 +00:00