Running CommentPluginTests
CommentPluginTests::test_comment_encoding_guest
***
Expected:'(?^:Status: 302)'
But got:'Content-Type: text/html; charset=ISO-8859-1
Status: 200
Set-Cookie: FOSWIKISID=f9135d26348964760bc76ce56c9b96ec; path=/; HttpOnly
'
at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 366.
Unit::TestCase::assert_matches(CommentPluginTests=HASH(0x1819de8), qr(Status: 302), "Content-Type: text/html; charset=ISO-8859-1\x{d}\x{a}Status: 200\x{d}\x{a}Set"...) called at CommentPlugin/CommentPluginTests.pm line 1032
CommentPluginTests::test_comment_encoding_guest(CommentPluginTests=HASH(0x1819de8)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 567
Unit::TestRunner::__ANON__() called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 379
eval {...} called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 371
Error::subs::try(CODE(0x308eca0), HASH(0x338dd60)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 594
Unit::TestRunner::runOne(Unit::TestRunner=HASH(0x17c56d0), CommentPluginTests=HASH(0x1819de8), "CommentPluginTests", undef) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 157
Unit::TestRunner::start(Unit::TestRunner=HASH(0x17c56d0), "CommentPlugin") called at ../bin/TestRunner.pl line 132
at /var/www/foswiki/distro/core/test/unit/FoswikiTestCase.pm line 45.
FoswikiTestCase::__ANON__("\x{a}Expected:'(?^:Status: 302)'\x{a} But got:'Content-Type: text/htm"...) called at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 226
Unit::TestCase::assert(CommentPluginTests=HASH(0x1819de8), "", "Expected:'(?^:Status: 302)'\x{a} But got:'Content-Type: text/html"...) called at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 366
Unit::TestCase::assert_matches(CommentPluginTests=HASH(0x1819de8), qr(Status: 302), "Content-Type: text/html; charset=ISO-8859-1\x{d}\x{a}Status: 200\x{d}\x{a}Set"...) called at CommentPlugin/CommentPluginTests.pm line 1032
CommentPluginTests::test_comment_encoding_guest(CommentPluginTests=HASH(0x1819de8)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 567
Unit::TestRunner::__ANON__() called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 379
eval {...} called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 371
Error::subs::try(CODE(0x308eca0), HASH(0x338dd60)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 594
Unit::TestRunner::runOne(Unit::TestRunner=HASH(0x17c56d0), CommentPluginTests=HASH(0x1819de8), "CommentPluginTests", undef) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 157
Unit::TestRunner::start(Unit::TestRunner=HASH(0x17c56d0), "CommentPlugin") called
CommentPluginTests::test_reverseCompat
CommentPluginTests::test_comment_encoding_notguest
***
Expected:'(?^:Status: 302)'
But got:'Content-Type: text/html; charset=ISO-8859-1
Status: 200
Set-Cookie: FOSWIKISID=328f0f81838ff1fa78c3de9ad4225a21; path=/; HttpOnly
'
at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 366.
Unit::TestCase::assert_matches(CommentPluginTests=HASH(0x1819de8), qr(Status: 302), "Content-Type: text/html; charset=ISO-8859-1\x{d}\x{a}Status: 200\x{d}\x{a}Set"...) called at CommentPlugin/CommentPluginTests.pm line 971
CommentPluginTests::test_comment_encoding_notguest(CommentPluginTests=HASH(0x1819de8)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 567
Unit::TestRunner::__ANON__() called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 379
eval {...} called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 371
Error::subs::try(CODE(0x183f4e0), HASH(0x3667de0)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 594
Unit::TestRunner::runOne(Unit::TestRunner=HASH(0x17c56d0), CommentPluginTests=HASH(0x1819de8), "CommentPluginTests", undef) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 157
Unit::TestRunner::start(Unit::TestRunner=HASH(0x17c56d0), "CommentPlugin") called at ../bin/TestRunner.pl line 132
at /var/www/foswiki/distro/core/test/unit/FoswikiTestCase.pm line 45.
FoswikiTestCase::__ANON__("\x{a}Expected:'(?^:Status: 302)'\x{a} But got:'Content-Type: text/htm"...) called at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 226
Unit::TestCase::assert(CommentPluginTests=HASH(0x1819de8), "", "Expected:'(?^:Status: 302)'\x{a} But got:'Content-Type: text/html"...) called at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 366
Unit::TestCase::assert_matches(CommentPluginTests=HASH(0x1819de8), qr(Status: 302), "Content-Type: text/html; charset=ISO-8859-1\x{d}\x{a}Status: 200\x{d}\x{a}Set"...) called at CommentPlugin/CommentPluginTests.pm line 971
CommentPluginTests::test_comment_encoding_notguest(CommentPluginTests=HASH(0x1819de8)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 567
Unit::TestRunner::__ANON__() called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 379
eval {...} called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 371
Error::subs::try(CODE(0x183f4e0), HASH(0x3667de0)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 594
Unit::TestRunner::runOne(Unit::TestRunner=HASH(0x17c56d0), CommentPluginTests=HASH(0x1819de8), "CommentPluginTests", undef) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 157
Unit::TestRunner::start(Unit::TestRunner=HASH(0x17c56d0), "CommentPlugin") called
CommentPluginTests::verify_targetWebTopicAboveAnchor_Missing_Item727_viewContext
CommentPluginTests::verify_acl_COMMENT_viewContext
*** AccessControlException: Access to CHANGE TemporaryCommentPluginTestsTestWebCommentPluginTests.TestTopicCommentPluginTests for ScumBag is denied. Comment on topic not permitted
CommentPluginTests::verify_location_viewContext
CommentPluginTests::verify_LocationRE_viewContext
CommentPluginTests::verify_remove_viewContext
CommentPluginTests::verify_nopost_viewContext
CommentPluginTests::verify_rev1_template_redirectto_viewContext
***
Expected:'(?^ms:^Location:.*/TemporaryCommentPluginTestsTestWebCommentPluginTests/TestTopicCommentPluginTests\?tab=discuss)'
But got:'Set-Cookie: FOSWIKISID=72434400fec7d23aaee966a0649bd0be; path=/; HttpOnly
Content-Type: text/html; charset=ISO-8859-1
Status: 200
'
at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 366.
Unit::TestCase::assert_matches(CommentPluginTests=HASH(0x1819de8), qr(^Location:.*/TemporaryCommentPluginTestsTestWebCommentPluginT)...ms, "Set-Cookie: FOSWIKISID=72434400fec7d23aaee966a0649bd0be; path"...) called at CommentPlugin/CommentPluginTests.pm line 920
CommentPluginTests::verify_rev1_template_redirectto(CommentPluginTests=HASH(0x1819de8)) called at (eval 50) line 4
Unit::TestCase::__ANON__(CommentPluginTests=HASH(0x1819de8)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 567
Unit::TestRunner::__ANON__() called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 379
eval {...} called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 371
Error::subs::try(CODE(0x369aad0), HASH(0x377ca20)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 594
Unit::TestRunner::runOne(Unit::TestRunner=HASH(0x17c56d0), CommentPluginTests=HASH(0x1819de8), "CommentPluginTests", undef) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 157
Unit::TestRunner::start(Unit::TestRunner=HASH(0x17c56d0), "CommentPlugin") called at ../bin/TestRunner.pl line 132
at /var/www/foswiki/distro/core/test/unit/FoswikiTestCase.pm line 45.
FoswikiTestCase::__ANON__("\x{a}Expected:'(?^ms:^Location:.*/TemporaryCommentPluginTestsTest"...) called at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 226
Unit::TestCase::assert(CommentPluginTests=HASH(0x1819de8), "", "Expected:'(?^ms:^Location:.*/TemporaryCommentPluginTestsTestW"...) called at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 366
Unit::TestCase::assert_matches(CommentPluginTests=HASH(0x1819de8), qr(^Location:.*/TemporaryCommentPluginTestsTestWebCommentPluginT)...ms, "Set-Cookie: FOSWIKISID=72434400fec7d23aaee966a0649bd0be; path"...) called at CommentPlugin/CommentPluginTests.pm line 920
CommentPluginTests::verify_rev1_template_redirectto(CommentPluginTests=HASH(0x1819de8)) called at (eval 50) line 4
Unit::TestCase::__ANON__(CommentPluginTests=HASH(0x1819de8)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 567
Unit::TestRunner::__ANON__() called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 379
eval {...} called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 371
Error::subs::try(CODE(0x369aad0), HASH(0x377ca20)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 594
Unit::TestRunner::runOne(Unit::TestRunner=HASH(0x17c56d0), CommentPluginTests=HASH(0x1819de8), "CommentPluginTests", undef) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 157
Unit::TestRunner::start(Unit::TestRunner=HASH(0x17c56d0), "CommentPlugin") called
CommentPluginTests::verify_targetWebTopic_viewContext
CommentPluginTests::verify_targetWebTopicAnchorBottom_viewContext
CommentPluginTests::verify_above_viewContext
CommentPluginTests::verify_rest_control_modes_viewContext
CommentPluginTests::verify_targetTopic_viewContext
CommentPluginTests::verify_targetWebTopicBelowAnchor_Missing_Item727_viewContext
CommentPluginTests::verify_redirectto_redirects_viewContext
CommentPluginTests::verify_below_viewContext
CommentPluginTests::verify_targetWebTopicAnchorTop_viewContext
CommentPluginTests::verify_default_viewContext
CommentPluginTests::verify_locationOverridesAnchor_viewContext
CommentPluginTests::verify_targetWebTopicAboveAnchor_Missing_Item727_staticContext
CommentPluginTests::verify_acl_COMMENT_staticContext
*** AccessControlException: Access to CHANGE TemporaryCommentPluginTestsTestWebCommentPluginTests.TestTopicCommentPluginTests for ScumBag is denied. Comment on topic not permitted
CommentPluginTests::verify_location_staticContext
CommentPluginTests::verify_LocationRE_staticContext
CommentPluginTests::verify_remove_staticContext
CommentPluginTests::verify_nopost_staticContext
CommentPluginTests::verify_rev1_template_redirectto_staticContext
***
Expected:'(?^ms:^Location:.*/TemporaryCommentPluginTestsTestWebCommentPluginTests/TestTopicCommentPluginTests\?tab=discuss)'
But got:'Set-Cookie: FOSWIKISID=d58232076154bdad748aa8b218b7e27e; path=/; HttpOnly
Status: 200
Content-Type: text/html; charset=ISO-8859-1
'
at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 366.
Unit::TestCase::assert_matches(CommentPluginTests=HASH(0x1819de8), qr(^Location:.*/TemporaryCommentPluginTestsTestWebCommentPluginT)...ms, "Set-Cookie: FOSWIKISID=d58232076154bdad748aa8b218b7e27e; path"...) called at CommentPlugin/CommentPluginTests.pm line 920
CommentPluginTests::verify_rev1_template_redirectto(CommentPluginTests=HASH(0x1819de8)) called at (eval 68) line 4
Unit::TestCase::__ANON__(CommentPluginTests=HASH(0x1819de8)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 567
Unit::TestRunner::__ANON__() called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 379
eval {...} called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 371
Error::subs::try(CODE(0x39cddc8), HASH(0x3a10ef0)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 594
Unit::TestRunner::runOne(Unit::TestRunner=HASH(0x17c56d0), CommentPluginTests=HASH(0x1819de8), "CommentPluginTests", undef) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 157
Unit::TestRunner::start(Unit::TestRunner=HASH(0x17c56d0), "CommentPlugin") called at ../bin/TestRunner.pl line 132
at /var/www/foswiki/distro/core/test/unit/FoswikiTestCase.pm line 45.
FoswikiTestCase::__ANON__("\x{a}Expected:'(?^ms:^Location:.*/TemporaryCommentPluginTestsTest"...) called at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 226
Unit::TestCase::assert(CommentPluginTests=HASH(0x1819de8), "", "Expected:'(?^ms:^Location:.*/TemporaryCommentPluginTestsTestW"...) called at /var/www/foswiki/distro/core/lib/Unit/TestCase.pm line 366
Unit::TestCase::assert_matches(CommentPluginTests=HASH(0x1819de8), qr(^Location:.*/TemporaryCommentPluginTestsTestWebCommentPluginT)...ms, "Set-Cookie: FOSWIKISID=d58232076154bdad748aa8b218b7e27e; path"...) called at CommentPlugin/CommentPluginTests.pm line 920
CommentPluginTests::verify_rev1_template_redirectto(CommentPluginTests=HASH(0x1819de8)) called at (eval 68) line 4
Unit::TestCase::__ANON__(CommentPluginTests=HASH(0x1819de8)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 567
Unit::TestRunner::__ANON__() called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 379
eval {...} called at /var/www/foswiki/distro/core/lib/CPAN/lib/Error.pm line 371
Error::subs::try(CODE(0x39cddc8), HASH(0x3a10ef0)) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 594
Unit::TestRunner::runOne(Unit::TestRunner=HASH(0x17c56d0), CommentPluginTests=HASH(0x1819de8), "CommentPluginTests", undef) called at /var/www/foswiki/distro/core/lib/Unit/TestRunner.pm line 157
Unit::TestRunner::start(Unit::TestRunner=HASH(0x17c56d0), "CommentPlugin") called
CommentPluginTests::verify_targetWebTopic_staticContext
CommentPluginTests::verify_targetWebTopicAnchorBottom_staticContext
CommentPluginTests::verify_above_staticContext
CommentPluginTests::verify_rest_control_modes_staticContext
CommentPluginTests::verify_targetTopic_staticContext
CommentPluginTests::verify_targetWebTopicBelowAnchor_Missing_Item727_staticContext
CommentPluginTests::verify_redirectto_redirects_staticContext
CommentPluginTests::verify_below_staticContext
CommentPluginTests::verify_targetWebTopicAnchorTop_staticContext
CommentPluginTests::verify_default_staticContext
CommentPluginTests::verify_locationOverridesAnchor_staticContext