# Functions
CheckErrorOnTxFromTxHash validate if there's an error on transaction.
CheckExecutionMsgFromRef collect check execution message from reference string.
CheckItemWithDblKeys checks if double keys are all available.
CheckItemWithDblValues checks if double key/values are all available.
CheckItemWithLongKeys checks if long keys are all available.
CheckItemWithLongValues checks if long key/values are all available.
CheckItemWithStringKeys checks if string keys are all available.
CheckItemWithStringValues checks if string value/key set are all available.
CheckItemWithTransferFee checks if additional item send fee is correct.
CheckSteps checks cylic dependency of steps.
CreateCookbookMsgFromRef is a function to get create cookbook message from reference.
CreateRecipeMsgFromRef is a function to get create cookbook message from reference.
CreateTradeMsgFromRef collect create trade msg from reference.
DisableRecipeMsgFromRef is a function to get disable recipe message from reference.
DisableTradeMsgFromRef collect disable trade msg from reference string.
EnableRecipeMsgFromRef is a function to get enable recipe message from reference.
EnableTradeMsgFromRef collect enable trade msg from reference string.
ExecuteRecipeMsgFromRef collect execute recipe msg from reference string.
FiatItemMsgFromRef collect check execution message from reference string.
FulfillTradeMsgFromRef collect fulfill trade message from reference string.
GetAccountAddressFromTempName is a function to get account address from temp name.
GetAccountKeyFromTempName is a function to get account key from temp name.
GetActionRunner get registered action runner function.
GetEntriesFromBytes is a function to get entries from bytes.
GetItemIDsFromNames is a function to set item ids from names for recipe execution.
GetItemInputsFromBytes is a function to get item input list from bytes.
GetItemOutputsFromBytes is a function to get item outputs from bytes.
GetModifyParamsFromRef is a function to get modifying fields from reference file.
GetPylonsMsgFromRef is a function to get GetPylons message from reference.
GetQueueID get queue index from scenario file, step index and step id.
GetSenderKeyFromRef is a function to get create cookbook message from reference.
GetTradeItemInputsFromBytes is a function to get item input list from bytes.
GetTxHandleResult check error on tx by hash and return handle result.
GoodToGoForStep check if a step is ready to go.
GoogleIAPGetPylonsMsgFromRef is a function to get GoogleIAPGetPylons message from reference.
ProcessSingleFixtureQueueItem executes a fixture queue item.
PropertyExistCheck function check if an account has required property that needs to be available.
ReadFile is a function to read file.
RegisterActionRunner registers action runner function.
RegisterDefaultAccountKeys register the accounts configured on FixtureTestOpts.AccountNames.
RegisterDefaultActionRunners register default test functions.
RunActionRunner execute registered action runner function.
RunCheckExecution is a function to execute check execution.
RunCreateAccount is a function to create account.
RunCreateCookbook is a function to create cookbook.
RunCreateRecipe is a function to create recipe.
RunCreateTrade is a function to create trade.
RunDisableRecipe is a function to disable recipe.
RunDisableTrade is a function to disable trade.
RunEnableRecipe is a function to enable recipe.
RunEnableTrade is a function to enable trade.
RunExecuteRecipe is executed when an action "execute_recipe" is called.
RunFiatItem is a function to execute fiat item.
RunFulfillTrade is a function to fulfill trade.
RunGetPylons is a function to run GetPylos message.
RunGoogleIAPGetPylons is a function to run GoogleIAPGetPylons message.
RunMockAccount = RunCreateAccount + RunGetPylons.
RunMockCookbook = RunMockAccount + RunCreateCookbook.
RunMultiMsgTx is a function to send multiple messages in a transaction This support only 1 sender multi transaction for now TODO we need to support multi-message multi sender transaction.
RunRegisterWorkQueuesForSingleFixture is function to add queue items before running whole test.
RunSendCoins is a function to send coins from one address to another.
RunSendItems is a function to send items to another user.
RunSingleFixtureTest add a work queue into fixture test runner and execute work queues.
RunTestScenarios execute all scenarios.
RunUpdateCookbook is a function to update cookbook.
RunUpdateItemString is a function to update item's string value.
RunUpdateRecipe is a function to update recipe.
SendCoinsMsgFromRef is a function to SendCoins message from reference.
SendItemsMsgFromRef is a function to collect SendItems from reference string.
TxBroadcastErrorCheck check error is same as expected when it exist.
TxErrorLogCheck check expected error log is produced correctly.
TxResultDecodingErrorCheck check error for tx response data unmarshal.
TxResultStatusMessageCheck check result status and message.
UnmarshalIntoEmptyInterface is a function to convert bytes into map[string]interface{}.
UpdateCBNameToID is a function to update cookbook name to cookbook id if it has cookbook name field.
UpdateCookbookMsgFromRef is a function to get update cookbook message from reference.
UpdateExecID is a function to set execute id from execID reference.
UpdateItemIDFromName is a function to set item id from item name.
UpdateItemStringMsgFromRef is a function to collect UpdateItemStringMsg from reference string.
UpdateReceiverKeyToAddress is a function to update receiver key to receiver's address.
UpdateRecipeMsgFromRef is a function to get update recipe message from reference.
UpdateRecipeName is a function to update recipe name into recipe id.
UpdateRequesterKeyToAddress is a function to update requester key to requester's address.
UpdateSenderKeyToAddress is a function to update sender key to sender's address.
UpdateTradeExtraInfoToID is a function to update trade extra info into trade id.
UpdateWorkQueueStatus check if a step is ready to go.
WaitForNextBlockWithErrorCheck wait 1 block and check the error result.
# Constants
describes the constant values that describe the status of work queue item.
describes the constant values that describe the status of work queue item.
describes the constant values that describe the status of work queue item.
# Variables
FixtureTestOpts is a variable to have fixture test options.
# Structs
DependencyGraph is a struct to manage dependency graph.
FixtureStep struct describes what should be done in one fixture testcase.
QueueItem is a struct to manage work queue item.
TestOptions is options struct to manage test options.