burrow: github.com/hyperledger/burrow/vent/test Index | Files

package test

import "github.com/hyperledger/burrow/vent/test"

Index

Package Files

EventsTest.sol.go db.go events.go sqlsol.go

Constants

const (
    ChainID       = "CHAIN_123"
    BurrowVersion = "1.0.0"
)

Variables

var Abi_EventsTest = []byte("" /* 1512 byte string literal not displayed */)
var Bytecode_EventsTest = hex.MustDecodeString("" /* 6914 byte string literal not displayed */)
var DeployedBytecode_EventsTest = hex.MustDecodeString("" /* 6850 byte string literal not displayed */)

func BadJSONConfFile Uses

func BadJSONConfFile(t *testing.T) string

BadJSONConfFile sets a malformed json file to be used in projection tests

func Call Uses

func Call(t testing.TB, cli rpctransact.TransactClient, inputAddress, contractAddress crypto.Address,
    functionName string, args ...interface{}) *exec.TxExecution

func CallAddEvent Uses

func CallAddEvent(t testing.TB, cli rpctransact.TransactClient, inputAddress, contractAddress crypto.Address,
    name, description string) *exec.TxExecution

func CallAddEvents Uses

func CallAddEvents(t testing.TB, cli rpctransact.TransactClient, inputAddress, contractAddress crypto.Address,
    name, description string) *exec.TxExecution

func CallRemoveEvent Uses

func CallRemoveEvent(t testing.TB, cli rpctransact.TransactClient, inputAddress, contractAddress crypto.Address,
    name string) *exec.TxExecution

func CallRemoveEvents Uses

func CallRemoveEvents(t testing.TB, cli rpctransact.TransactClient, inputAddress, contractAddress crypto.Address,
    name string) *exec.TxExecution

func CreateContract Uses

func CreateContract(t testing.TB, cli rpctransact.TransactClient, inputAddress crypto.Address) *exec.TxExecution

func DuplicatedColNameJSONConfFile Uses

func DuplicatedColNameJSONConfFile(t *testing.T) string

DuplicatedColNameJSONConfFile sets a good json file but with duplicated column names for a given table

func GoodJSONConfFile Uses

func GoodJSONConfFile(t *testing.T) string

GoodJSONConfFile sets a good json file to be used in projection tests

func MissingFieldsJSONConfFile Uses

func MissingFieldsJSONConfFile(t *testing.T) string

MissingFieldsJSONConfFile sets a json file with missing fields to be used in projection tests

func NewTestDB Uses

func NewTestDB(t *testing.T, cfg *config.VentConfig) (*sqldb.SQLDB, func())

NewTestDB creates a database connection for testing

func NewTransactClient Uses

func NewTransactClient(t testing.TB, listenAddress string) rpctransact.TransactClient

func PostgresVentConfig Uses

func PostgresVentConfig(grpcAddress string) *config.VentConfig

func SqliteVentConfig Uses

func SqliteVentConfig(grpcAddress string) *config.VentConfig

func UnknownTypeJSONConfFile Uses

func UnknownTypeJSONConfFile(t *testing.T) string

UnknownTypeJSONConfFile sets a json file with unknown column types to be used in projection tests

Package test imports 20 packages (graph). Updated 2020-08-04. Refresh now. Tools for package owners.