Colin Kuskie
0302e7b96e
WebGUI Perl::Critic policy. Handle the case when the namespace is
...
variable instead of a literal.
2009-01-27 20:19:39 +00:00
Graham Knop
d6e00cab05
improved performance of file uploads and changed format of created uploads locations, avoiding case sensitivity problems
2008-11-12 01:17:33 +00:00
Graham Knop
336cb209fd
protect against premature test failure corrupting config, remove debug code
2008-09-30 17:07:26 +00:00
Colin Kuskie
7043f5d711
help the test track changes to Config.pm and how it handles paths
2008-09-30 16:11:11 +00:00
Graham Knop
4f0663f199
allow undef to return from macros, fix empty string returns, test a few more cases
2008-09-16 21:34:48 +00:00
Graham Knop
f0e6a30d75
rewrite macro parser, improving speed and making parameter parsing more sane
2008-09-16 02:09:37 +00:00
Colin Kuskie
afff4c4844
Back port Haarg's excellent fix for the lack
...
of query checking in the ErrorHandler test.
2008-09-11 23:16:19 +00:00
Colin Kuskie
5fc629993a
when overriding Log::Log4perl for testing, set the is_debug flag to true
2008-08-21 23:45:00 +00:00
Graham Knop
f082e2d14e
request->body and request->param should be the same in tests
2008-08-07 22:55:35 +00:00
Colin Kuskie
9942f9e70d
remove debug code from the Perl::Critic label scanner
2008-07-28 03:23:20 +00:00
Colin Kuskie
33bcab206e
remove TODO item for calculated keys
2008-07-23 17:03:52 +00:00
Colin Kuskie
8558e5a86f
Handle the case when the i18n key is calculated, rather than
...
being a string.
2008-07-23 17:02:54 +00:00
Colin Kuskie
5e97a877d5
Make the WEBGUI_CONFIG environment variable warning messages more instructive.
2008-07-18 17:28:41 +00:00
Graham Knop
11dfcd6277
fix throws_deeply test exporting
2008-06-20 08:57:29 +00:00
Colin Kuskie
307c1e0e68
document work to be done in POD for the Perl::Critic policy
2008-06-13 05:04:05 +00:00
Colin Kuskie
55237e3e82
fix the label test to handle not explicit i18n namespace in new
2008-06-13 00:05:05 +00:00
Colin Kuskie
9a9e94a0de
replace the old, buggy label.t with the new, slow critic_labels.t. Add Perl::Critic and Test::Perl::Critic as optional requirements to sbin/testEnvironment.pl
2008-06-04 20:09:00 +00:00
Colin Kuskie
1d4810f6b5
migrate some tests from errorHandler to log
2008-05-30 07:03:05 +00:00
JT Smith
5fb4807edc
merging commerce branch back into head
2008-04-20 18:08:26 +00:00
Colin Kuskie
f555408b95
add POD to PseudoRequest. Also, refactor initializing the cached print values
2008-04-10 23:31:12 +00:00
Graham Knop
d2116bf797
fixing tests for new output method
2008-04-10 22:15:15 +00:00
Martin Kamerbeek
1658f3957d
Added WebGUI::TestException and convert Shop/Pay.t to use it.
2008-03-11 22:07:21 +00:00
Colin Kuskie
06f52bae9a
Fix how logging gets intercepted. It used to be on by default, now it must be turned on.
2008-02-29 22:09:32 +00:00
Colin Kuskie
ac28252d53
side porting Windows testing fix
2008-02-22 18:32:56 +00:00
Colin Kuskie
ecfba4699d
forward porting Testing fix
2008-02-22 18:31:05 +00:00
Colin Kuskie
227be31be5
By default, every Session created by WebGUI::Test will have
...
a PseudoRequest object, instead of being blank. Update
Storage.t to test this.
2008-02-09 04:22:39 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Colin Kuskie
3ff2dca9b5
Fix the POD for the file method.
2008-02-05 23:44:37 +00:00
Doug Bell
53ac4be8d1
Added a simple smtpd for testing
...
MERGE: Added ability for WebGUI::Test->getPage to work on Operations
MERGE: Fix for AdSpace and tests for Operation::AdSpace
Fixed Poll's use of JSON
Added tests for emailOverride
2008-02-05 19:34:09 +00:00
Colin Kuskie
ebfc711f65
finish rough POD docs for WebGUI::PseudoRequest
2008-02-02 00:16:42 +00:00
Colin Kuskie
23f86d775e
add POD to PseudoRequest. Needs more
2008-02-01 00:21:24 +00:00
Colin Kuskie
ab476b36e5
POD for WebGUI::Test
2008-01-31 21:04:57 +00:00
Doug Bell
a6c9c2d56c
fixed Test::Maker::HTML Level. added some comments for future generations
2008-01-05 05:10:57 +00:00
Colin Kuskie
ab3ebbeaab
make Maker/Permission.pm handle TODO tests
2008-01-05 05:00:09 +00:00
Colin Kuskie
c8a8af6b4a
add prototype Test code to allow Test::Maker modules to handle TODO
2008-01-05 04:19:00 +00:00
Colin Kuskie
fc6fe216b0
Keep the session tracking, but hide it behind an environment
...
variable to keep the line noise down. Also, add user and
group tracking.
2008-01-05 02:22:05 +00:00
Colin Kuskie
8b71032a98
add more diagnostics to help find the leaking session. These will be removed or hidden behind conditionals later
2008-01-02 21:08:48 +00:00
Colin Kuskie
ea04c9cd8b
Refactor out the duplicated code in ->run into a utility routine.
2007-12-31 03:55:39 +00:00
Colin Kuskie
ed177c614e
WebGUI::Test::Maker::Permission will now use usernames instead of userIds in comments
...
if they are available.
Move the getLanguage test out of the SKIP block dependent on install the PigLatin
language pack.
Update Maker users with usernames in Asset.t
Add tests for assetAddPrivileges. These tests currently cause the Turn On Admin
checks to fail. A bug has been filed for this, and the tests may be rewritten
based on the resolution of the bug.
2007-12-27 06:06:32 +00:00
Colin Kuskie
924f09a09f
Extend WebGUI::Test::Maker::Permission to handle class methods, like Asset->canAdd and Operations.
...
Add canEdit and canAdd tests to Asset.t
2007-12-23 23:30:26 +00:00
Doug Bell
4c70aa4c71
re-integrated photogallery branch
2007-12-18 13:05:41 +00:00
Doug Bell
5222ad6be1
merged with SVN HEAD
2007-12-18 12:22:37 +00:00
Doug Bell
82e9bf8448
Finished? Ready for merge at least.
2007-12-17 22:22:06 +00:00
Colin Kuskie
ac6651cdcd
forward porting fixUrl bugfix and test
2007-12-11 16:40:05 +00:00
Colin Kuskie
a8eb245f2c
Remove debugging code.
...
Only process ->get method calls for existing i18n objects.
Handle the default namespace setup in ->new
Add POD code on how to run this from the command line.
Basically, it's done but needs to be run against more code
to handle variable based i18n calls (which need to be ignored)
and nested scope object creation.
2007-12-06 22:38:33 +00:00
Colin Kuskie
21658d2ffd
Remove debugging code.
...
Add in code to actually check the label in the requested namespace.
Now the problem becomes how to get all the right paths to
the right modules.
2007-12-03 05:47:35 +00:00
Colin Kuskie
1c02551bd6
Perl::Critic module for checking illegal i18n labels
2007-12-01 04:48:55 +00:00
Colin Kuskie
1cf78f5321
Finish up the file upload handling by PseudoRequest. If you
...
call $pseudoRequest->uploadFiles with a list of filenames, it will populate
the upload method with upload objects, so that Storage->getFileFromFormPost
will have an object with all the right methods.
t/Storage.t tests this incidently. It occurs to me that we need tests
for our PseudoRequest module, and it needs POD, and it should probably
be rewritten using Class::InsideOut for good form.
2007-11-10 00:47:17 +00:00
Colin Kuskie
4de53b2de9
enable testing of $session->request->uploads through WebGUI::PseudoRequest. Now we need a good utility method for sending a list of files to a sub and having it return a list of filehandles to those files
2007-11-10 00:02:44 +00:00
Colin Kuskie
5263e69c85
var->end already does a scratch->deleteAll
2007-11-02 04:15:57 +00:00