Created
April 14, 2016 17:00
-
-
Save zoffixznet/3df481ea398ccde52a88639fdbdde0c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t/spec/S06-advanced/wrap.t .. | |
1..85 | |
ok 1 - one event logged | |
ok 2 - it's foo | |
ok 3 - cannot upwrap a never-wrapped sub. | |
ok 4 - two events logged | |
ok 5 - wrapper before | |
ok 6 - wrapper after | |
ok 7 - logged the correct events | |
ok 8 - four events | |
ok 9 - additional wrapping takes effect | |
ok 10 - ... on top of initial wrapping | |
ok 11 - old wrapped sub was not destroyed | |
ok 12 - the original wrapper is still in effect | |
ok 13 - one events for unwrapped (should be back to original now) | |
ok 14 - got execpted value | |
ok 15 - out of order unwrapping gave right number of results | |
ok 16 - got execpted value from remaining wrapper | |
ok 17 - got execpted value from original sub | |
ok 18 - can't re-unwrap an already unwrapped sub | |
ok 19 - Basic sub. | |
ok 20 - Basic wrapping works | |
ok 21 - Recieved handle for unwrapping. | |
ok 22 - Function produces expected output after wrapping | |
ok 23 - unwrap the function | |
ok 24 - Function is no longer wrapped. | |
ok 25 - Sanity test. | |
ok 26 - Sanity test. | |
not ok 27 - Check that functions have a 'callwith' that works. | |
# Failed test 'Check that functions have a 'callwith' that works. ' | |
# at t/spec/S06-advanced/wrap.t line 118 | |
# Method 'callwith' not found for invocant of class 'Sub+{SoftRoutine}' | |
ok 28 - wrapping 1 | |
ok 29 - Checking 1 level wrapping | |
ok 30 - wrapping 2 | |
ok 31 - Checking 2 level wrapping | |
ok 32 - wrapping 3 | |
ok 33 - Checking 3 level wrapping | |
ok 34 - wrapping 4 | |
ok 35 - Checking 4 level wrapping | |
ok 36 - wrapping 5 | |
ok 37 - Checking 5 level wrapping | |
ok 38 - wrapping 6 | |
ok 39 - Checking 6 level wrapping | |
ok 40 - wrapping 7 | |
ok 41 - Checking 7 level wrapping | |
ok 42 - wrapping 8 | |
ok 43 - Checking 8 level wrapping | |
ok 44 - wrapping 9 | |
ok 45 - Checking 9 level wrapping | |
ok 46 - wrapping 10 | |
ok 47 - Checking 10 level wrapping | |
ok 48 - Sanity. | |
ok 49 - First wrapping lived | |
ok 50 - Middle wrapper sanity. | |
ok 51 - Second wraping lived | |
ok 52 - three wrappers sanity. | |
ok 53 - unwrap the middle wrapper. | |
ok 54 - First wrapper and final function only, middle removed. | |
ok 55 - Sanity | |
ok 56 - Check that function is wrapped. | |
not ok 57 - Wrap is now out of scope, should be back to normal. | |
# Failed test 'Wrap is now out of scope, should be back to normal.' | |
# at t/spec/S06-advanced/wrap.t line 162 | |
# expected: 'xxx' | |
# got: 'yyy' | |
not ok 58 - Wrap is now out of scope, should be back to normal. | |
# Failed test 'Wrap is now out of scope, should be back to normal.' | |
# at t/spec/S06-advanced/wrap.t line 165 | |
# expected: 'xxx' | |
# got: 'yyy' | |
1..2 | |
ok 1 - '{nextsame}()' died | |
ok 2 - right exception type (X::NoDispatcher) | |
ok 59 - {nextsame}() dies properly | |
ok 60 - wrapper test variable is undefined | |
ok 61 - wrapped greet() works | |
ok 62 - wrapper sees lexical from time of wrap (greet) | |
ok 63 - wrapper test variable is undefined | |
ok 64 - wrapped meet() works | |
ok 65 - wrapper sees lexical from time of wrap (meet) | |
ok 66 - wrap worked (sanity) | |
ok 67 - could unwrap by calling .restore on the handle | |
ok 68 - multiple wrappings in a loop | |
ok 69 - can wrap a multi | |
ok 70 - Did foo, capture return | |
ok 71 - default works with wrapped accessor, capture return | |
ok 72 - BUILD binding works with wrapped accessor, capture return | |
ok 73 - assignment works with wrapped accessor, capture return | |
ok 74 - Did foo, return callsame | |
ok 75 - default works with wrapped accessor, return callsame | |
ok 76 - BUILD binding works with wrapped accessor, return callsame | |
ok 77 - assignment works with wrapped accessor, return callsame | |
ok 78 - Did foo, callsame | |
ok 79 - default works with wrapped accessor, callsame | |
ok 80 - BUILD binding works with wrapped accessor, callsame | |
ok 81 - assignment works with wrapped accessor, callsame | |
ok 82 - Did foo, nextsame | |
ok 83 - default works with wrapped accessor, nextsame | |
ok 84 - BUILD binding works with wrapped accessor, nextsame | |
ok 85 - assignment works with wrapped accessor, nextsame | |
# Looks like you failed 3 tests of 85 | |
Dubious, test returned 3 (wstat 768, 0x300) | |
Failed 3/85 subtests | |
Test Summary Report | |
------------------- | |
t/spec/S06-advanced/wrap.t (Wstat: 768 Tests: 85 Failed: 3) | |
Failed tests: 27, 57-58 | |
Non-zero exit status: 3 | |
Files=1, Tests=85, 4 wallclock secs ( 0.03 usr 0.01 sys + 3.51 cusr 0.26 csys = 3.81 CPU) | |
Result: FAIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment