Ticket #481 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

FAIL t/82-plugin-manager.t in trunk@6933

Reported by: daxim Owned by: Sewi
Priority: major Milestone:
Component: editor Version: trunk
Keywords: Cc:

Description

18:16 daxim@galahad:~/hack/.eigene/padre/Padre> LANG=en_US.UTF-8 prove -bfv t/82-plugin-manager.t
t/82-plugin-manager.t ..
1..29
ok 1 - The object isa Padre::PluginManager
ok 2 - ->plugin_dir ok
ok 3 - Found no plugins
ok 4 - load_plugins always returns undef
ok 5 - Loaded at least one plugin
ok 6 - No second level plugin
ok 7 - No plugins loaded
ok 8 - Loaded My Plugin
ok 9 - Loaded something
ok 10 - The object isa Padre::PluginHandle
ok 11 - Loaded My Plugin
ok 12 - My Plugin is disabled
ok 13 - ->unload_plugin ok
ok 14 - Plugin no longer loaded
ok 15 - My Plugin was cleaned up
ok 16
ok 17
ok 18 - at least 3 plugins
ok 19 - no second level plugin
ok 20
ok 21 - no second level plugin
ok 22
ok 23 - error in loading A
not ok 24 - text of error message

#   Failed test 'text of error message'
#   at t/82-plugin-manager.t line 96.
#                   'Padre::Plugin::A - Crashed while loading: Global symbol "$syntax_error" requires explicit package name at /home/daxim/hack/.eigene/padre/Padre/t/files/plugins/Padre/Plugin/A.pm line 7.
# Compilation failed in require at (eval 313) line 1.
# BEGIN failed--compilation aborted at (eval 313) line 1.
# '
#     doesn't match '(?-xism:^(?-xism:Padre::Plugin::A - Failed to load module): Global symbol "\$syntax_error" requires explicit package name at)'
ok 25 - error in loading B
not ok 26 - text of error message

#   Failed test 'text of error message'
#   at t/82-plugin-manager.t line 103.
#                   'Padre::Plugin::B - Not a Padre::Plugin subclass'
#     doesn't match '(?-xism:^(?-xism:Padre::Plugin::B - Not compatible with Padre::Plugin API. Need to be subclass of Padre::Plugin))'
ok 27 - disabled in loading C
not ok 28 - text of error message

#   Failed test 'text of error message'
#   at t/82-plugin-manager.t line 110.
#                   ''
#     doesn't match '(?-xism:Padre::Plugin::C - Does not have menus)'
ok 29 - no warnings
# Looks like you failed 3 tests of 29.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/29 subtests

Test Summary Report
-------------------
t/82-plugin-manager.t (Wstat: 768 Tests: 29 Failed: 3)
  Failed tests:  24, 26, 28
  Non-zero exit status: 3
Files=1, Tests=29,  5 wallclock secs ( 0.05 usr  0.00 sys +  2.13 cusr  0.26 csys =  2.44 CPU)
Result: FAIL
18:16 daxim@galahad:~/hack/.eigene/padre/Padre> LANG=de_DE.UTF-8 prove -bfv t/82-plugin-manager.t
t/82-plugin-manager.t ..
1..29
ok 1 - The object isa Padre::PluginManager
ok 2 - ->plugin_dir ok
ok 3 - Found no plugins
ok 4 - load_plugins always returns undef
ok 5 - Loaded at least one plugin
ok 6 - No second level plugin
ok 7 - No plugins loaded
ok 8 - Loaded My Plugin
ok 9 - Loaded something
ok 10 - The object isa Padre::PluginHandle
ok 11 - Loaded My Plugin
ok 12 - My Plugin is disabled
ok 13 - ->unload_plugin ok
ok 14 - Plugin no longer loaded
ok 15 - My Plugin was cleaned up
ok 16
ok 17
ok 18 - at least 3 plugins
ok 19 - no second level plugin
ok 20
ok 21 - no second level plugin
ok 22
ok 23 - error in loading A
not ok 24 - text of error message

#   Failed test 'text of error message'
#   at t/82-plugin-manager.t line 96.
#                   'Padre::Plugin::A ist beim Laden von Global symbol "$syntax_error" requires explicit package name at /home/daxim/hack/.eigene/padre/Padre/t/files/plugins/Padre/Plugin/A.pm line 7.
# Compilation failed in require at (eval 313) line 1.
# BEGIN failed--compilation aborted at (eval 313) line 1.
#  abgest�rzt.'
#     doesn't match '(?-xism:^(?-xism:.*): Global symbol "\$syntax_error" requires explicit package name at)'
ok 25 - error in loading B
ok 26 - text of error message
ok 27 - disabled in loading C
ok 28 - text of error message
ok 29 - no warnings
# Looks like you failed 1 test of 29.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/29 subtests

Test Summary Report
-------------------
t/82-plugin-manager.t (Wstat: 256 Tests: 29 Failed: 1)
  Failed test:  24
  Non-zero exit status: 1
Files=1, Tests=29,  6 wallclock secs ( 0.05 usr  0.01 sys +  2.18 cusr  0.22 csys =  2.46 CPU)
Result: FAIL

Change History

comment:1 Changed 5 years ago by Sewi

  • Owner set to Sewi
  • Status changed from new to assigned

comment:2 Changed 5 years ago by Sewi

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.