Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupClientTest ¶
func SetupClientTest(t *testing.T, name [2]string, chDuration uint64) ([]*chtest.Session, [2]clienttest.RoleSetup, [2]*big.Int)
SetupClientTest prepares necessary objects for end-2-end testing. Per client a channel test session, a client role setup and the initial asset balance is returned.
Types ¶
type BalanceReader ¶
type BalanceReader struct {
// contains filtered or unexported fields
}
BalanceReader wraps the bindings TokenBalance functionality to be used in the client end-2-end tests.
func NewBalanceReader ¶
func NewBalanceReader(binding *binding.Adjudicator, id adj.AccountID) *BalanceReader
NewBalanceReader takes the clients binding and its fabric id to create a new BalanceReader.
Click to show internal directories.
Click to hide internal directories.