Modules§
- solidity
- Code for compiling solidity smart contracts for testing purposes.
Structs§
- Mock
Application - A mocked implementation of a user application.
- Mock
Application Instance - A mocked implementation of a user application instance.
- System
Execution State - A system execution state, not represented as a view but as a simple struct.
Enums§
- Expected
Call - An expected call to a
MockApplicationInstance
.
Traits§
- Register
Mock Application - Registration of
MockApplication
s to use in tests.
Functions§
- blob_
oracle_ responses - Creates a vector of [’OracleResponse
]s for the supplied [
BlobId`]s. - create_
dummy_ message_ context - Creates a dummy
MessageContext
to use in tests. - create_
dummy_ operation_ context - Creates a dummy
OperationContext
to use in tests. - create_
dummy_ query_ context - Creates a dummy
QueryContext
to use in tests. - create_
dummy_ user_ application_ description - Creates a dummy
ApplicationDescription
for use in tests. - create_
dummy_ user_ application_ registrations - dummy_
chain_ description - dummy_
chain_ description_ with_ owner - dummy_
chain_ description_ with_ ownership_ and_ balance - test_
accounts_ strategy - Creates a
Strategy
for creating aBTreeMap
ofAccountOwner
s with an initial non-zeroAmount
of tokens.