mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added multi-constraint
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@772 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
09b6bddb25
commit
02468ee43a
11 changed files with 251 additions and 102 deletions
|
|
@ -53,7 +53,7 @@ The interesting part is the call to mock::format which enables the whole can-be-
|
|||
|
||||
[section Constraints]
|
||||
|
||||
A constraint provides a means to validate a parameter received in a call to a mock object.
|
||||
Constraint provide a means to validate the parameters received in a call to a mock object.
|
||||
|
||||
The library comes with a set of pre-defined [link turtle.reference.expectation.constraints constraints] matching the most widely used cases, however it is quite common to need to perform a custom validation.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue