| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Mock4JS 0.2 | 2 * Mock4JS 0.2 |
| 3 * http://mock4js.sourceforge.net/ | 3 * http://mock4js.sourceforge.net/ |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 Mock4JS = { | 6 Mock4JS = { |
| 7 _mocksToVerify: [], | 7 _mocksToVerify: [], |
| 8 _convertToConstraint: function(constraintOrValue) { | 8 _convertToConstraint: function(constraintOrValue) { |
| 9 if(constraintOrValue.argumentMatches) { | 9 if(constraintOrValue.argumentMatches) { |
| 10 return constraintOrValue; // it's already an ArgumentMat
cher | 10 return constraintOrValue; // it's already an ArgumentMat
cher |
| (...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 | 616 |
| 617 _describeMockSetup: function() { | 617 _describeMockSetup: function() { |
| 618 var msg = "\nAllowed:"; | 618 var msg = "\nAllowed:"; |
| 619 for(var i=0; i<this._expectedInvocations.length; i++) { | 619 for(var i=0; i<this._expectedInvocations.length; i++) { |
| 620 var expectedInvocation = this._expectedInvocations[i]; | 620 var expectedInvocation = this._expectedInvocations[i]; |
| 621 msg += "\n" + expectedInvocation.describe(); | 621 msg += "\n" + expectedInvocation.describe(); |
| 622 } | 622 } |
| 623 return msg; | 623 return msg; |
| 624 } | 624 } |
| 625 } | 625 } |
| OLD | NEW |