testutils

package
v0.0.0-...-d0c3903 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2023 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Overview

Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDummyAvagoTar

func CreateDummyAvagoTar(require *require.Assertions, binary []byte, version string) []byte

func CreateDummyAvagoZip

func CreateDummyAvagoZip(require *require.Assertions, binary []byte) []byte

func CreateDummySubnetEVMTar

func CreateDummySubnetEVMTar(require *require.Assertions, binary []byte) []byte

func CreateTarGz

func CreateTarGz(require *require.Assertions, src string, dest string, includeTopLevel bool)

func CreateTestArchivePath

func CreateTestArchivePath(t *testing.T, require *require.Assertions) (string, func(string))

func CreateZip

func CreateZip(require *require.Assertions, src string, dest string)

func GenerateEthAddrs

func GenerateEthAddrs(count int) ([]common.Address, error)

func SetupTest

func SetupTest(t *testing.T) *require.Assertions

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL