testutils

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: BSD-3-Clause Imports: 19 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 added in v1.0.4

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

func SetupTest

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

func SetupTestInTempDir added in v1.1.1

func SetupTestInTempDir(t *testing.T) *application.Avalanche

Types

This section is empty.

Jump to

Keyboard shortcuts

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