Debian Codegraph @

Changes

raw
1 Revision history for Perl extension Test::MockObject.
2
3 1.20200122 2020-01-22 10:47:03-08:00 America/Los_Angeles
4 - allow mock() to mock multiple methods at once (GH PR #19, Felipe Gaspar)
5 - tidy up dist metadata (GH PR #18, Mohammad S. Anwar)
6
7 1.20191002 2019-10-02 09:32:54-07:00 America/Los_Angeles
8 - replace non-core CGI dependency with core CPAN dependency
9 (Yanick Champoux, GH PR #16)
10
11 1.20180705 2018-07-05 16:47:18-07:00 America/Los_Angeles
12 - added destructor to clear counters (choroboa PR #15, RT #71831)
13
14 1.20161202 2016-12-02 15:12:41-08:00 America/Los_Angeles
15 - renamed README.pod to README (RT #118831)
16
17 1.20150527 2015-05-27 08:33:52-07:00 America/Los_Angeles
18 - improved dependencies (build/run/requires), (Olivier Mengué, GH PR #10)
19 - improved runtime loading (Olivier Mengué, GH PR #11)
20
21 1.20150521 2015-05-21 09:09:19-07:00 America/Los_Angeles
22 - updated CGI dependency
23 - improved README for GitHub (Rob Van Dam, GH PR #9)
24
25 1.20140408 2014-04-07 17:38:44-07:00 America/Los_Angeles
26 - enabled Travis CI (no user-visible changes)
27 - improved fields-based object support (Olivier Mengué, Maxime Soulé)
28
29 1.20140328 2014-03-28 16:17:59-07:00 America/Los_Angeles
30 - support added for fields-based objects (Gavin Mogan, RT #84535)
31
32 1.20120301 2012-03-01 13:17:20 America/Los_Angeles
33 - updated dependencies to latest versions of UNIVERSAL::isa and UNIVERSAL::can
34
35 1.20110612 2011-06-11 23:53:50 America/Los_Angeles
36 - removed Module::Build detritus
37 - improved Test::Warn testing dependency
38 - Added -debug flag to load UNIVERSAL::isa and UNIVERSAL::can on demand,
39 rather than in all situations.
40
41 1.20110606
42 Sun Jun 04 2011
43 - converted to Dist::Zilla
44 - posted to GitHub
45
46 1.09
47 Tue May 27 06:11:24 UTC 2008
48 - removed a buggy workaround for C<no warnings 'redefine';>, now that 5.6.2
49 is the baseline
50
51 1.08
52 Fri Jun 29 01:36:24 UTC 2007 (chromatic)
53 - removed noisy diag() calls from successful tests (RT #19444, Adam Kennedy)
54 - removed some magic from the @ISA assignment to work with 5.9.5 (Andreas Koenig)
55
56 1.07
57 Thu Oct 5 05:46:04 UTC 2006 (chromatic)
58 - clarified class mocking documentation (reported by Praveen Ray)
59
60 - T::MO::E should die when called with an unhandleable method (Paul the
61 Nomad)
62
63 Sat Sep 30 04:18:23 UTC 2006 (chromatic)
64 - fixed incorrect version request for Scalar::Util (alexchorny, RT #21773)
65
66 Sat Sep 9 21:19:35 UTC 2006 (chromatic)
67 - fixed a logging documentation error (Nicholas Clark)
68 - made fake_module() croak when mocking a loaded module but not mocking
69 subs (RT #21049, reported by Mutant)
70 - tested check_class_loaded() more carefully (fixes RT #19448, reported by
71 Adam Kennedy)
72
73 1.06
74 Fri Apr 21 01:03:27 UTC 2006 (chromatic)
75 - added __get_parents() to list wrapped object's parents in T::M::O::E
76
77 1.05
78 Sun Apr 9 05:58:52 UTC 2006 (chromatic)
79 - fixed anonymous subroutine name interaction with the debugger
80
81 1.04
82 Sat Mar 18 21:52:52 UTC 2006 (chromatic)
83 - made all T::MO::E mocking methods return the invocant (bugfix)
84 - moved developer tests under t/developer/ to avoid running by default
85
86 1.03
87 Sun Mar 5 01:43:20 UTC 2006 (chromatic)
88 - removed test dependency on Test::Warn
89 - improved signature test
90 - improved mock package loading in T::MO::E (RT #17692 from Badgersrc)
91 - clarified T::MO::E object wrapping behavior (RT #17929 from Larry Clapp)
92 - named generated can() and isa() methods in T::MO::E
93 - cleaned up some extraneous whitespace
94 - allowed isa() to check reference type of mocked object once again (RT
95 #15446 from PM)
96 - avoid circular references preventing mock destruction (RT #17941 from
97 David Pisoni)
98 - fixed inherited AUTOLOAD() calls from T::MO::E (RT #14445 from Adam
99 Kennedy)
100
101 1.02
102 Sat Dec 24 08:36:07 UTC 2005 (chromatic)
103 - avoid warnings in UNIVERSAL::isa and UNIVERSAL::can by always calling
104 both as methods (oops)
105 - mark dependency on Perl 5.6.0
106 - skip signature check without SIGNATURE file
107 - remove chdir/library logic from tests and add warnings
108 - clean up warnings in t/bugs.t
109 - made Test::MockObject::Extends warnings clean
110
111 1.01
112 Sat Aug 27 03:36:39 UTC 2005 (chromatic)
113 - set $AUTOLOAD in parent AUTOLOAD(), if delegating (RT #14251)
114 - don't require parent module if it has a new() method
115 - use UNIVERSAL::isa and UNIVERSAL::can modules
116 - give the installed isa() and can() methods the appropriate names in T::MO
117
118 1.00
119 Tue Jul 12 01:49:06 UTC 2005 (chromatic)
120 - removed deprecated Test::MockObject::add()
121 - fixed stringification-finding bug (reported by water on Perl Monks)
122 - bumped up version numbers
123 - added POD and POD coverage tests
124 - added some documentation
125 - allow catchable warnings in fake_module()
126 - modify delegation approach (reported by Adam Kennedy in RT #13200)
127
128 0.20
129 Wed Dec 15 02:57:48 UTC 2004 (chromatic)
130 - added set_isas() to Test::MockObject (Stevan Little)
131 - fixed typo in T::MO::E documentation (Stevan Little)
132 - added SIGNATURE and t/0-signature.t
133
134 0.15
135 Sun Nov 14 04:53:01 UTC 2004
136 - allow skipping logging of certain methods (with tests and documentation)
137 - avoid subroutine redefinition warnings in T::MO::E
138
139 Sat Nov 13 05:32:29 UTC 2004
140 - fix Win32 test bug by not canonicalizing %INC paths (CPAN tester rrwo)
141
142 0.14
143 Fri Mar 26 03:58:12 UTC 2004
144 - updated version number for new release
145 - improved documentation formatting in Test::MockObject
146 - added documentation for dispatch_mocked_method() in T::MO
147
148 Fri Mar 19 07:34:55 UTC 2004
149 - added log_call() to Test::MockObject
150
151 Sat Mar 13 05:49:39 UTC 2004
152 - added Test::MockObject::Extends and t/extends.t
153
154 0.13 Sat Dec 20 00:16:36 UTC 2003
155 - new release 'cuz I accidentally deleted 0.12 from the CPAN (Chris Winters
156 reported it)
157 - make set_true() and set_false() work on lists of method names
158 - marked fake_module() and fake_new() as potentially deprecated
159
160 0.12 Wed Feb 5 17:42:15 GMT 2003
161 - fix false positives in called_ok() (Jay Bonci found it)
162 - clarify documentation for clear() (Jay Bonci)
163
164 0.11 Sat Jan 11 08:03:35 GMT 2003
165 - fix list context bug at end of series in set_series()
166
167 0.10 Sun Jan 5 06:27:49 GMT 2003
168 - use flyweight objects (store state outside mocked objects)
169 - allow array, scalar, sub, and glob references as objects
170 - minor typo fixes and brace placement fixings
171
172 0.09 Sun Jun 30 21:14:29 PDT 2002
173 - made most mocking methods return $self (Piers Cawley's suggestion)
174 - add $VERSION when mocking a module (ensure package is not empty)
175
176 0.08 Wed Jun 26 03:38:45 UTC 2002
177 - pass $self to added add() methods (Ilya Martynov)
178 - test for same (Ilya again)
179 - localize $1 in AUTOLOAD() to prevent its clobbering (bugfix, tested)
180
181 0.07 Sat Jun 22 06:43:47 UTC 2002
182 - deprecated add()
183 - added mock()
184 - expanded and reorganized documentation somewhat()
185 - added next_call()
186 - added carp() for unknown mocked method call attempt
187 (what a description!)
188
189 0.06 Thu Jun 20 05:37:32 UTC 2002
190 - added t/bugs.t to catch regressions
191 - fixed several warnings:
192 - uninitialized values in called_pos_ok()
193 - improved diagnostics in called_pos_ok()
194 - avoid redefined subroutine warnings in fake_module()
195 - fixed behavior of called_pos_ok() -- avoid incorrect successes
196 - prevented called() from dying if $pos is out of range
197 - prevented _call() from autovivifying stack entries
198 - made fake_new() a wrapper around fake_module()
199
200 0.05 Sun Jun 9 21:16:41 PDT 2002
201 - fixed tests for object passing
202 - added set_bound()
203 - removed fake_import() (retcon!) and modified fake_module() to be general
204 enough to do the same sort of thing
205
206 Fri Jun 7 23:15:41 PDT 2002
207 - fix typo in documentation
208 - pass along object to method calls (bugfix)
209
210 Mon May 27 20:31:35 UTC 2002
211 - fix fake_module(), which never worked. Oops, bug in both test and module!
212 - added fake_import() and its tests
213
214 0.04 Mon Apr 29 01:03:36 UTC 2002
215 - pass tests in 5.005_03 (Tatsuhiko Miyagawa)
216 - can() should return subref instead of just 1 (also Tatsuhiko)
217 - added test for can() buglet (me)
218 - added test numbers (hey, it's CPAN time!)
219
220 0.03 Sat Apr 27 11:12:39 2002
221 - first released version, initially created with:
222 h2xs -A -X -n Test::MockObject