Home | History | Annotate | Download | only in ocmock
      1 Chronological listing of changes. More detail is usually found in the Git commit messages
      2 and/or the pull requests.
      3 
      4 
      5 2012-01-23
      6 
      7 * Avoiding deprecated method to convert to a C string (thanks to Kushal Pisavadia)
      8 
      9 
     10 2011-11-03
     11 
     12 * Recreated project from scratch with new conventions in Xcode 4.2 (thanks to Matt Di Pasquale)
     13 
     14 
     15 2011-09-26 
     16 
     17 * Arguments only need to be equal, don't have to have same class
     18 
     19 
     20 
     21 Chronological listing of changes in the original Subversion code repository. If a particular 
     22 SVN revision has no entry, that check-in did not involve any code or feature changes.
     23             
     24 2011-02-15 (r74)
     25 
     26 * Added feature to explicitly disable a partial mock
     27 			
     28 			
     29 2011-01-28 (r71)
     30 
     31 * Updated example to work with iOS 4.2.
     32 
     33 
     34 2010-08-21 (r69)
     35 
     36 * Added feature to explicitly reject methods on nice mocks (thanks to Heath Borders)
     37  
     38 
     39 2010-08-20 (r68)
     40 
     41 * Added feature to forward method to real object from partial mock (thanks to Marco Sandrini)
     42 
     43 
     44 2010-08-02 (r67)
     45 
     46 * Fix to allow block arguments (thanks to Justin DeWind)
     47 
     48 
     49 2010-07-28 (r62-r65)
     50 
     51 * Now building OCMock library for simulator (i386) and device (armv7)
     52 * Updated example to run tests on device                    
     53 * Changed OCMOCK_VALUE macro to be iOS compatible (thanks to Derek Clarkson)
     54 
     55 
     56 2010-07-21 (r61)
     57 
     58 * Added a new target to build a static library for iOS use
     59 * Created an example showing how to use OCMock in an iOS project
     60 
     61 
     62 2010-05-19 (r57)
     63 
     64 * Various small clean-ups; no change in functionality (thanks to Jonah Williams)
     65 
     66 
     67 2010-04-18 (r56)
     68 
     69 * Added block constraints and invocation handler (thanks to Justin DeWind)
     70 
     71 
     72 2009-10-16 (r55)
     73 
     74 * Fixed broken test for array argument descciptions (Craig Beck)
     75 * Disambiguated mock table method name to avoid compiler warning
     76 * Renamed some variables to avoid warnings when using -Wshadow
     77 * Partial mocks are now deallocated as they should
     78 * Fixed problems that occured when using mocks as arguments
     79 
     80 
     81 2009-08-18 (r54)
     82 
     83 * OnCall methods now have same signature as replaced ones.
     84 
     85 
     86 2009-08-14 (r53)
     87 
     88 * Fixed possible retain bug (Daniel Eggert)
     89 
     90 
     91 2009-08-14 (r52)
     92 
     93 * Added feature that allows to verify expectations are called in sequence.
     94 * Improved detection of unqualified method return type.
     95 
     96 
     97 2009-08-13 (r51)
     98 
     99 * Fixed bug that caused crash when using method swizzling with void return type.
    100 
    101 
    102 2009-07-14 (r49)
    103 
    104 * Added support for calling arbitrary methods when stubbed methods are invoked.
    105 
    106 
    107 2009-07-14 (r48)
    108 
    109 * Added support for posting notifications (based on Jean-Francois Dontigny's code)
    110 
    111 
    112 2009-07-14 (r46)
    113 
    114 * Fixed bug around complex type encodings (Jean-Francois Dontigny)
    115 
    116 
    117 2009-05-26 (r45)
    118 
    119 * Partial mocks now work on object reference and self (thanks to Mike Mangino)
    120 
    121 
    122 2009-04-24 (r43)
    123 
    124 * Added partial mocks (calls to the original object reference cannot be mocked)
    125 
    126 
    127 2009-04-17 (r42)
    128 
    129 * Mock observers now handle user infos on notifications.
    130 
    131 
    132 2009-04-09 (r39)
    133 
    134 * Added inital support for mock observers (loosely based on Dave Dribbin's idea)
    135 
    136 
    137 2009-04-08 (r38)
    138 
    139 * Moved factory methods from OCMConstraint to OCMArg
    140 
    141 
    142 2009-03-13 (r37)
    143 
    144 * Added pass by ref argument setters
    145 
    146 
    147 2009-03-11 (r34)
    148 
    149 * Linked install name now uses @rpath (Dave Dribbin)
    150 
    151 
    152 2009-02-22 (r32)
    153 
    154 * Added support for respondsToSelector (Dave Dribin)
    155 * Added constraint for any pointer 
    156 * Now comparing selectors as strings (Dado Colussi)
    157 
    158 
    159 2008-07-07 (r28)
    160 
    161 * Resetting invocation target in recorder to avoid retain cycles.
    162 
    163 
    164 2008-06-19 (r27)
    165 
    166 * Added optional integration with hamcrest for constraints
    167 
    168 
    169 2008-05-08 (r24)
    170 
    171 * Now building quad-fat; the 64-bit versions are somewhat experimental though
    172 
    173 
    174 2008-02-28 (r22)
    175 
    176 * Using new functions to deal with protocols (Evan Doll)
    177 
    178 
    179 2007-11-22 (r20)
    180 
    181 * Added support for void* parameters (Tuukka Norri)
    182 * Fixed a bug that could caused crashes when non-char const pointers were described
    183  
    184 
    185 2007-11-22 (r19)
    186 
    187 * Fixed bug to allow mocking of methods with type qualifieres (Nikita Zhuk)
    188 
    189 
    190 2007-10-22 (r18)
    191 
    192 * Added a simple constraint implementation.
    193 
    194 
    195 2007-06-04 (r15)
    196 
    197 * Now re-throwing fail-fast exceptions, for unexpected invocations for example, when
    198   verify is called; in case the first throw is ignored by a framework.
    199 
    200 
    201 2007-04-23 (r14)
    202 
    203 * Added nice mocks, i.e. mocks that don't raise on unknown methods (Mark Thomas)
    204 
    205 * Fixed bug that prevented expectations after invocations (M. Scott Ford)
    206 
    207 
    208 2006-06-11 (r12)
    209 
    210 * Added possibility to throw an exception, based on code by Justin DeWind
    211 
    212 * Added Evan Doll's bugfix, which forwards conformsToProtocol: methods when necessary
    213 
    214 * Added the ability to match struct arguments, based on code contributed by Daniel Eggert
    215 
    216 * Better description of arguments, based on code contributed by Jeremy Higgs
    217 
    218 * Added the ability to create multiple identical expectations on the mock object (Jeremy Higgs)
    219 
    220 * Added the ability to mock out nil arguments (Jeremy Higgs)
    221 
    222 
    223 2005-12-11 (r11)
    224 
    225 * Added slightly modified version of Jon Reid's contribution, which adds the possibility to stub 
    226   primitive return values.
    227 
    228 * Added Jon Reid's bugfix that prevents a crash when trying to stub an unknown method on a 
    229   protocol.
    230 
    231 
    232 2005-10-03 (r10)
    233 
    234 * Upgraded to build and run tests using the OCUnit that is now part of XCode.
    235 
    236 
    237 2005-10-03 (r9)
    238 
    239 * Added XCdoe 2.1 project
    240 
    241 
    242 2005-02-16 (r8)
    243 
    244 * Added Richard Clark's contribution, which provides support for scalar arguments.
    245 
    246 
    247 2005-02-13 (r7)
    248 
    249 * Added support for mocking formal protocols
    250 
    251 
    252 2004-08-26 (r6)
    253 
    254 * MockObject and Recorder now inherit from NSProxy.
    255 
    256