Thanks for the hint. I didn't know about Apache::Test. It seems to be a quite big testing framework.
I use Apache::FakeRequest for debugging (while developing) rather than for testing. The advantage is that it's very simple/small/handy and does exactly what I need: a fake Apache object replacement. -- Thomas Um Wed, 01 Sep 2004 13:45:27 -0400 schrieb Geoffrey Young <[EMAIL PROTECTED]>: > > > Thomas Lochmatter wrote: > > You're right: both methods (content_languages() and > > content_language()) work on the Apache object, although > > only content_languages() is documented (perldoc > Apache)! > > > > Since Apache::FakeRequest wants to be a complete fake > > object, it should implement both methods as well, I > think. > > Hence, the patch would be to add content_languages() > > instead of replacing content_language(). > > FakeRequest is really kinda painful. is there any reason > why you aren't > using Apache-Test to create a live testing environment > instead? > > http://search.cpan.org/dist/Apache-Test/ > > --Geoff > > -- > Report problems: http://perl.apache.org/bugs/ > Mail list info: > http://perl.apache.org/maillist/modperl.html > List etiquette: > http://perl.apache.org/maillist/email-etiquette.html > -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html