testutils

package
v1.9.2-lux Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDummyEVMTar

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

func CreateDummyLuxTar

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

func CreateDummyLuxZip

func CreateDummyLuxZip(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

func SetupTestInTempDir

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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