tx

constructor(ops: list<rell.test.op>)

Construct a new test transaction builder consisting of the specified list of test operation calls.

Since

0.10.4

Parameters

ops

the list of test operation calls to include in this transaction


constructor(ops: rell.test.op...)

Construct a new test transaction builder consisting of the specified test operation calls.

Since

0.10.4

Parameters

ops

the test operation calls to include in this transaction


constructor(ops: list<-mirror_struct<-operation>>)

Construct a new test transaction builder consisting of the specified list of test operation calls.

The test operation calls are given as struct<operation> values.

For example, calls to the operation:

operation my_op(foo: integer, bar: list<text>) { ... }

may be passed as a struct<my_op>:

rell.test.tx([
struct<my_op>(foo = 1, bar = ["a", "b"]),
struct<my_op>(foo = 2, bar = ["c", "d"])
]);

Since

0.10.4

Parameters

ops

the list of test operation calls to include in the built transaction


constructor(ops: mirror_struct<-operation>...)

Construct a new test transaction builder consisting of the specified test operation calls.

The test operation calls are given as struct<operation> values.

For example, calls to the operation:

operation my_op(foo: integer, bar: list<text>) { ... }

may be passed as a struct<my_op>:

rell.test.tx(
struct<my_op>(foo = 1, bar = ["a", "b"]),
struct<my_op>(foo = 2, bar = ["c", "d"])
);

Since

0.10.4

Parameters

ops

the test operation calls to include in the built transaction