Unit test run Summary: 6 expected failures: AccessControlTests::test_login_redirect_preserves_anchor Login did not redirect to a page with the proper anchor: Location: /foswiki/github-a/bin/login/TemporaryAccessControlTestWebAccessControl/TestAnchor?topicName=TestAnchor;webName=TemporaryAccessControlTestWebAccessControl;foswiki_origin=GET%2cview%2c/foswiki/github-a/TemporaryAccessControlTestWebAccessControl/TestAnchor Expected: ^/foswiki/github-a/bin/login/TemporaryAccessControlTestWebAccessControl/TestAnchor.*%23anchor$ at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 352 Unit::TestCase::assert_matches('AccessControlTests=HASH(0x1a0e590)', 'Regexp=REGEXP(0x39bfce0)', '/foswiki/github-a/bin/login/TemporaryAccessControlTestWebAcce...', 'Login did not redirect to a page with the proper anchor:\x{a}Loca...') called at /usr/local/src/github.com/foswiki/core/test/unit/AccessControlTests.pm line 749 AccessControlTests::test_login_redirect_preserves_anchor('AccessControlTests=HASH(0x1a0e590)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x3886260)', 'HASH(0x3abc7b8)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('AccessControlTests=HASH(0x1a0e590)', 'AccessControlTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called at ../bin/TestRunner.pl line 126 at /usr/local/src/github.com/foswiki/core/test/unit/FoswikiTestCase.pm line 40 FoswikiTestCase::__ANON__('\x{a}Login did not redirect to a page with the proper anchor:\x{a}Loc...') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 212 Unit::TestCase::assert('AccessControlTests=HASH(0x1a0e590)', '', 'Login did not redirect to a page with the proper anchor:\x{a}Loca...') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 352 Unit::TestCase::assert_matches('AccessControlTests=HASH(0x1a0e590)', 'Regexp=REGEXP(0x39bfce0)', '/foswiki/github-a/bin/login/TemporaryAccessControlTestWebAcce...', 'Login did not redirect to a page with the proper anchor:\x{a}Loca...') called at /usr/local/src/github.com/foswiki/core/test/unit/AccessControlTests.pm line 749 AccessControlTests::test_login_redirect_preserves_anchor('AccessControlTests=HASH(0x1a0e590)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x3886260)', 'HASH(0x3abc7b8)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('AccessControlTests=HASH(0x1a0e590)', 'AccessControlTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called AdminOnlyAccessControlTests::test_login_redirect_preserves_anchor Login did not redirect to a page with the proper anchor: Location: /foswiki/github-a/bin/login/TemporaryAccessControlTestWebAccessControl/TestAnchor?topicName=TestAnchor;webName=TemporaryAccessControlTestWebAccessControl;foswiki_origin=GET%2cview%2c/foswiki/github-a/TemporaryAccessControlTestWebAccessControl/TestAnchor Expected: ^/foswiki/github-a/bin/login/TemporaryAccessControlTestWebAccessControl/TestAnchor.*%23anchor$ at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 352 Unit::TestCase::assert_matches('AdminOnlyAccessControlTests=HASH(0x457b778)', 'Regexp=REGEXP(0x39bfce0)', '/foswiki/github-a/bin/login/TemporaryAccessControlTestWebAcce...', 'Login did not redirect to a page with the proper anchor:\x{a}Loca...') called at /usr/local/src/github.com/foswiki/core/test/unit/AdminOnlyAccessControlTests.pm line 757 AdminOnlyAccessControlTests::test_login_redirect_preserves_anchor('AdminOnlyAccessControlTests=HASH(0x457b778)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x47ec0e0)', 'HASH(0x48acbd0)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('AdminOnlyAccessControlTests=HASH(0x457b778)', 'AdminOnlyAccessControlTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called at ../bin/TestRunner.pl line 126 at /usr/local/src/github.com/foswiki/core/test/unit/FoswikiTestCase.pm line 40 FoswikiTestCase::__ANON__('\x{a}Login did not redirect to a page with the proper anchor:\x{a}Loc...') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 212 Unit::TestCase::assert('AdminOnlyAccessControlTests=HASH(0x457b778)', '', 'Login did not redirect to a page with the proper anchor:\x{a}Loca...') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 352 Unit::TestCase::assert_matches('AdminOnlyAccessControlTests=HASH(0x457b778)', 'Regexp=REGEXP(0x39bfce0)', '/foswiki/github-a/bin/login/TemporaryAccessControlTestWebAcce...', 'Login did not redirect to a page with the proper anchor:\x{a}Loca...') called at /usr/local/src/github.com/foswiki/core/test/unit/AdminOnlyAccessControlTests.pm line 757 AdminOnlyAccessControlTests::test_login_redirect_preserves_anchor('AdminOnlyAccessControlTests=HASH(0x457b778)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x47ec0e0)', 'HASH(0x48acbd0)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('AdminOnlyAccessControlTests=HASH(0x457b778)', 'AdminOnlyAccessControlTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called QueryTests::test_nomatch_fields_longhand Expected:'' But got:'HitTopic' at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 277 Unit::TestCase::assert_str_equals('QueryTests=HASH(0x19eadff8)', '', 'HitTopic') called at /usr/local/src/github.com/foswiki/core/test/unit/QueryTests.pm line 281 QueryTests::check('QueryTests=HASH(0x19eadff8)', 'fields[name=\'string\' AND value=~\'^qSt.(i|n).*\'].name!=\'\'', 'eval', 0) called at /usr/local/src/github.com/foswiki/core/test/unit/QueryTests.pm line 836 QueryTests::test_nomatch_fields_longhand('QueryTests=HASH(0x19eadff8)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x19fe7430)', 'HASH(0x1a074448)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('QueryTests=HASH(0x19eadff8)', 'QueryTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called QueryTests::verify_versions_on_other_topic_fail_BruteForceQuery Expected ARRAY ARRAY(0x1a1f8ca8), got [[99,String,n n t t s\s q'q o#o h#h X~X \b \a \e \f \r \cX,1,%RED%,Some text (really) we have text,Diesel],[99,String,n n t t s\s q'q o#o h#h X~X \b \a \e \f \r \cX,1,%RED%,Some text (really) we have text,Petroleum],[99,String,n n t t s\s q'q o#o h#h X~X \b \a \e \f \r \cX,1,%RED%,Some text (really) we have text,Petrol]] for 'AnotherTopic'/versions.META:FIELD[name='SillyFuel'].value in QueryTests /usr/local/src/github.com/foswiki/core/test/unit/QueryTests.pm 782 at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 225 Unit::TestCase::assert_equals('QueryTests=HASH(0x19eadff8)', 'Diesel', 'ARRAY(0x8487990)', 'Expected ARRAY ARRAY(0x1a1f8ca8), got [[99,String,n n t t s\s...') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 443 Unit::TestCase::assert_deep_equals('QueryTests=HASH(0x19eadff8)', 'Diesel', 'ARRAY(0x8487990)', 'Expected ARRAY ARRAY(0x1a1f8ca8), got [[99,String,n n t t s\s...', 'HASH(0x1a4045a0)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 420 Unit::TestCase::assert_deep_equals('QueryTests=HASH(0x19eadff8)', 'ARRAY(0x1a1f8ca8)', 'ARRAY(0x1a3becc0)', 'Expected ARRAY ARRAY(0x1a1f8ca8), got [[99,String,n n t t s\s...') called at /usr/local/src/github.com/foswiki/core/test/unit/QueryTests.pm line 232 QueryTests::check('QueryTests=HASH(0x19eadff8)', '\'AnotherTopic\'/versions.META:FIELD[name=\'SillyFuel\'].value', 'eval', 'ARRAY(0x1a1f8ca8)') called at /usr/local/src/github.com/foswiki/core/test/unit/QueryTests.pm line 782 QueryTests::verify_versions_on_other_topic_fail('QueryTests=HASH(0x19eadff8)') called at (eval 1043210) line 4 Unit::TestCase::__ANON__('QueryTests=HASH(0x19eadff8)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x1a28e9d8)', 'HASH(0x1a399e50)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('QueryTests=HASH(0x19eadff8)', 'QueryTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called QueryTests::verify_versions_on_other_topic_fail_MongoDBQuery Expected ARRAY ARRAY(0x1a873a98), got [[99,String,n n t t s\s q'q o#o h#h X~X \b \a \e \f \r \cX,1,%RED%,Some text (really) we have text,Diesel],[99,String,n n t t s\s q'q o#o h#h X~X \b \a \e \f \r \cX,1,%RED%,Some text (really) we have text,Petroleum],[99,String,n n t t s\s q'q o#o h#h X~X \b \a \e \f \r \cX,1,%RED%,Some text (really) we have text,Petrol]] for 'AnotherTopic'/versions.META:FIELD[name='SillyFuel'].value in QueryTests /usr/local/src/github.com/foswiki/core/test/unit/QueryTests.pm 782 at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 225 Unit::TestCase::assert_equals('QueryTests=HASH(0x19eadff8)', 'Diesel', 'ARRAY(0x1a3ab2c0)', 'Expected ARRAY ARRAY(0x1a873a98), got [[99,String,n n t t s\s...') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 443 Unit::TestCase::assert_deep_equals('QueryTests=HASH(0x19eadff8)', 'Diesel', 'ARRAY(0x1a3ab2c0)', 'Expected ARRAY ARRAY(0x1a873a98), got [[99,String,n n t t s\s...', 'HASH(0x1a569a48)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 420 Unit::TestCase::assert_deep_equals('QueryTests=HASH(0x19eadff8)', 'ARRAY(0x1a873a98)', 'ARRAY(0x1a8f41b0)', 'Expected ARRAY ARRAY(0x1a873a98), got [[99,String,n n t t s\s...') called at /usr/local/src/github.com/foswiki/core/test/unit/QueryTests.pm line 232 QueryTests::check('QueryTests=HASH(0x19eadff8)', '\'AnotherTopic\'/versions.META:FIELD[name=\'SillyFuel\'].value', 'eval', 'ARRAY(0x1a873a98)') called at /usr/local/src/github.com/foswiki/core/test/unit/QueryTests.pm line 782 QueryTests::verify_versions_on_other_topic_fail('QueryTests=HASH(0x19eadff8)') called at (eval 1043242) line 4 Unit::TestCase::__ANON__('QueryTests=HASH(0x19eadff8)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x1a84d3b0)', 'HASH(0x1a8ccf18)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('QueryTests=HASH(0x19eadff8)', 'QueryTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called TWikiFuncTests::test_getViewUrl Expected:'(?^:/view/TemporaryFuncUsersWeb/WebHome)' But got:'http://peperomia-bp.nexus.csiro.au/foswiki/github-a/TemporaryFuncUsersWeb/WebHome' at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 352 Unit::TestCase::assert_matches('TWikiFuncTests=HASH(0x2489dd60)', 'Regexp=REGEXP(0x24920dd8)', 'http://peperomia-bp.nexus.csiro.au/foswiki/github-a/Temporary...') called at /usr/local/src/github.com/foswiki/core/test/unit/TWikiCompatibilityPlugin/TWikiFuncTests.pm line 95 TWikiFuncTests::test_getViewUrl('TWikiFuncTests=HASH(0x2489dd60)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x2491e748)', 'HASH(0x249243b8)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('TWikiFuncTests=HASH(0x2489dd60)', 'TWikiFuncTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called 220 failures: Wide character in print at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 190 (#2) [Fri Dec 9 10:55:55 2011] TestRunner.pl: Wide character in print at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 190. AutoAttachTests::test_autoattach Expected not null value at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 247 Unit::TestCase::assert_not_null('AutoAttachTests=HASH(0x4711638)', undef) called at /usr/local/src/github.com/foswiki/core/test/unit/AutoAttachTests.pm line 135 AutoAttachTests::test_autoattach('AutoAttachTests=HASH(0x4711638)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x4e522a0)', 'HASH(0x4e649a0)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('AutoAttachTests=HASH(0x4711638)', 'AutoAttachTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called at ../bin/TestRunner.pl line 126 at /usr/local/src/github.com/foswiki/core/test/unit/FoswikiTestCase.pm line 40 FoswikiTestCase::__ANON__('\x{a}Expected not null value at /usr/local/src/github.com/foswiki...') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 212 Unit::TestCase::assert('AutoAttachTests=HASH(0x4711638)', '', 'Expected not null value') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestCase.pm line 247 Unit::TestCase::assert_not_null('AutoAttachTests=HASH(0x4711638)', undef) called at /usr/local/src/github.com/foswiki/core/test/unit/AutoAttachTests.pm line 135 AutoAttachTests::test_autoattach('AutoAttachTests=HASH(0x4711638)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 456 Unit::TestRunner::__ANON__() called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 379 eval {...} called at /usr/local/src/github.com/foswiki/core/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x4e522a0)', 'HASH(0x4e649a0)') called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 479 Unit::TestRunner::runOne('AutoAttachTests=HASH(0x4711638)', 'AutoAttachTests', undef) called at /usr/local/src/github.com/foswiki/core/lib/Unit/TestRunner.pm line 149 Unit::TestRunner::start('Unit::TestRunner=HASH(0xd662f0)', 'FoswikiSuite.pm') called --------------------------- CacheTests::verify_view_MemoryHash_DBFileMeta_NoCompress /usr/local/src/github.com/foswiki/core/test/unit/CacheTests.pm:164 ######################################## Got as result:
Issue Name * | |
---|---|
Issue Description | |
Issue Type | |
History1 | |
History2 | |
History3 | |
History4 | |
Form definition | TemporaryTestWeb.InitTestForm |
Issue Name * | |
---|---|
Issue Description | |
Issue Type | |
History1 | |
History2 | |
History3 | |
History4 | |
Form definition | TemporaryTestWeb.InitTestForm |
ExtensionName | Example |
TopicClassification | SkinPackage |
TestedOnFoswiki | |
TestedOnTWiki | |
TestedOnOS | AnyOS |
ShouldRunOnOS | AnyOS |
DemoUrl | http:// |
DevelopedInSVN | No |
ModificationPolicy | ContactAuthorFirst |
Toe |
---|
Head |
Body1 |
Bold |
Body3 |
Toe |
---|
Head |
Body1 |
Bold |
Body3 |
- + Toe |
---|
Head |
Body1 |
Bold |
Body3 |