Codebase list python-mockito / 58bd4f4 docs / the-functions.rst
58bd4f4

Tree @58bd4f4 (Download .tar.gz)

the-functions.rst @58bd4f4view markup · raw · history · blame

The functions

System Message: INFO/1 (<string>, line 1)

No directive entry for "module" in module "docutils.parsers.rst.languages.en". Trying "module" as canonical directive name.

System Message: ERROR/3 (<string>, line 1)

Unknown directive type "module".

.. module:: mockito


Stable entrypoints are: :func:`when`, :func:`mock`, :func:`unstub`, :func:`verify`, :func:`spy`. Experimental or new function introduces with v1.0.x are: :func:`when2`, :func:`expect`, :func:`verifyNoUnwantedInteractions`, :func:`verifyStubbedInvocationsAreUsed`, :func:`patch`

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 7)

No role entry for "func" in module "docutils.parsers.rst.languages.en". Trying "func" as canonical role name.

System Message: ERROR/3 (<string>, line 7); backlink

Unknown interpreted text role "func".

System Message: INFO/1 (<string>, line 9)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 9)

Unknown directive type "autofunction".

.. autofunction:: when

System Message: INFO/1 (<string>, line 10)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 10)

Unknown directive type "autofunction".

.. autofunction:: when2

System Message: INFO/1 (<string>, line 11)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 11)

Unknown directive type "autofunction".

.. autofunction:: patch

System Message: INFO/1 (<string>, line 12)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 12)

Unknown directive type "autofunction".

.. autofunction:: expect

System Message: INFO/1 (<string>, line 13)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 13)

Unknown directive type "autofunction".

.. autofunction:: mock

System Message: INFO/1 (<string>, line 14)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 14)

Unknown directive type "autofunction".

.. autofunction:: unstub

System Message: INFO/1 (<string>, line 15)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 15)

Unknown directive type "autofunction".

.. autofunction:: forget_invocations

System Message: INFO/1 (<string>, line 16)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 16)

Unknown directive type "autofunction".

.. autofunction:: spy

System Message: INFO/1 (<string>, line 17)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 17)

Unknown directive type "autofunction".

.. autofunction:: spy2

This looks like a plethora of verification functions, and especially since you often don't need to verify at all.

System Message: INFO/1 (<string>, line 21)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 21)

Unknown directive type "autofunction".

.. autofunction:: verify

System Message: INFO/1 (<string>, line 22)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 22)

Unknown directive type "autofunction".

.. autofunction:: verifyNoMoreInteractions

System Message: INFO/1 (<string>, line 23)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 23)

Unknown directive type "autofunction".

.. autofunction:: verifyZeroInteractions

System Message: INFO/1 (<string>, line 24)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 24)

Unknown directive type "autofunction".

.. autofunction:: verifyNoUnwantedInteractions

System Message: INFO/1 (<string>, line 25)

No directive entry for "autofunction" in module "docutils.parsers.rst.languages.en". Trying "autofunction" as canonical directive name.

System Message: ERROR/3 (<string>, line 25)

Unknown directive type "autofunction".

.. autofunction:: verifyStubbedInvocationsAreUsed