Package-level declarations

Types

Link copied to clipboard

Provides a set of operations available in a MokkeryCallInterceptor.intercept for regular functions only.

Link copied to clipboard

It's invoked on each mocked function call.

Link copied to clipboard

Simplifies creation of MokkeryCallInterceptor that does not need to change the current pipeline and only gets notified on each call.

Link copied to clipboard

Provides a set of operations available in a MokkeryCallInterceptor.intercept for both regular and suspend functions.

Link copied to clipboard
interface MokkeryHook<T>

Represents a point in the interceptors pipeline that allows registering interceptors of T.

Link copied to clipboard

Provides a set of operations available in a MokkeryCallInterceptor.intercept for suspend functions only.

Properties

Link copied to clipboard

Returns current call.

Link copied to clipboard

Equivalent of this in the scope of currently called function.

Link copied to clipboard

Returns a map of available super calls for currently called function.

Functions

Link copied to clipboard

Creates MokkeryCallListener that invokes block on each call.

Link copied to clipboard

Calls MokkeryCallInterceptor.intercept on the next interceptor in the pipeline.

Calls MokkeryCallInterceptor.intercept on the next interceptor in the pipeline. Adds context to the next pipeline context.