-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathchanges.txt
102 lines (87 loc) · 3.43 KB
/
changes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
----------------------
- Version 0.7.0
----------------------
* Updated cglib to 3.1
* Updated objenesis to 2.1
* Updated asm to 5.0.4
----------------------
- Version 0.6.2
----------------------
* Updated gentyref to 1.2.0
* Added an uberjar to the build
* Fixed a bug where observers on method that return collections would fail
* Added a ExactOrderingContext
----------------------
- Version 0.6.1
----------------------
* Stacktrace cleaning can now be disabled.
* Fix bug where some exceptions can't be fake-created.
* Fix equals/hashcode bug for spies.
* Add Alias.difference() and AllAlias.fromMock()
* Fix bug in verifyExactly(n).onAnyMethod()
* Now builds with maven instead of ant
----------------------
- Version 0.6.0
----------------------
* Removed option to add extra interfaces on mocks.
* Added utility method assertThrows. Works on both mocks and regular objects.
* Spy now works automatically on final, anonymous classes and proxy classes
as long as there exists an interface to spy through.
* Added chaining of thenReturn / thenThrows / thenAnswer when stubbing.
* Fixed deep mock concurrency bug.
* Fixed bug with wrong exception being thrown for spies.
----------------------
- Version 0.5.1
----------------------
* Replaced the guice dependency with a much lighter gentyref dependency.
* Added more versatile verification modes.
* Added stubbing of all methods on a mock.
* Implemented support for timeout.
* when ... throws now rejects invalid exceptions.
* when ... throws now creates a new exception instance for each invocation.
* Removed MockContext
----------------------
- Version 0.5.0
----------------------
* Added support for deep mocking with generics.
* Filtering out toString calls in invocations.
* Added implementation of when(mock.foo(...)).thenReturn/Answer/Throw()
----------------------
- Version 0.4.0
----------------------
* Fixed bug with verifying maps
* Added handling of vararg methods
* Fixed bug with using mocks with protected methods
* Added first implementation of Aliases
----------------------
- Version 0.3.2
----------------------
* Added default behaviour of returning collection objects (Iterable, List, Set, Map) when possible.
For the same method parameters, the same object will be returned.
* Moved all stub* methods to Mockachino from MockContext.
* Fixed bug where equals failed when using different number types.
----------------------
- Version 0.3.1
----------------------
* Changed behaviour of deep mock handler to remember arguments
* Added detection of incorrect verification usage on the form: verify().on(mock).foo().bar(); instead of verify().on(mock.foo()).bar();
----------------------
- Version 0.3.0
----------------------
* Mocking now works on classes that has atleast one non-private constructor that doesn't throw an exception
* Added support for @Mock and @Spy annotations
* Included optional support for Objenesis, which means support for mocking concrete classes without calling constructors
----------------------
- Version 0.2.0
----------------------
* Added support for stubbing / verifying: equals, hashCode, toString
* Implemented a default answer for deep mocks
* Added MockPoint and between-operator.
* Implemented quick mocks (does not store stacktrace)
* Added mock settings
* Added support for mocking multiple interfaces on the same mock
* eq-matcher now supports comparing arrays by value (including nested arrays)
----------------------
- Version 0.1.0
----------------------
First release.