Alex Vanin
f69d2ad83c
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
19 lines
806 B
Go
19 lines
806 B
Go
package accounting_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
accountingtest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting/test"
|
|
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message"
|
|
messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test"
|
|
)
|
|
|
|
func TestMessage(t *testing.T) {
|
|
messagetest.TestRPCMessage(t,
|
|
func(empty bool) message.Message { return accountingtest.GenerateDecimal(empty) },
|
|
func(empty bool) message.Message { return accountingtest.GenerateBalanceRequestBody(empty) },
|
|
func(empty bool) message.Message { return accountingtest.GenerateBalanceRequest(empty) },
|
|
func(empty bool) message.Message { return accountingtest.GenerateBalanceResponseBody(empty) },
|
|
func(empty bool) message.Message { return accountingtest.GenerateBalanceResponse(empty) },
|
|
)
|
|
}
|