SpannedSubject.AndSpanFlags


public interface SpannedSubject.AndSpanFlags


Allows additional assertions to be made on the flags of matching spans.

Identical to WithSpanFlags, but this should be returned from with...() methods while WithSpanFlags should be returned from has...() methods.

See Flag constants on Spanned for possible values.

Summary

Public methods

abstract void
andFlags(int flags)

Checks that one of the matched spans has the expected flags.

Public methods

andFlags

abstract void andFlags(int flags)

Checks that one of the matched spans has the expected flags.

Parameters
int flags

The expected flags. See SPAN_* constants on Spanned for possible values.