testutils

package
v1.21.41 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Overview

Copyright (C) 2022-2025, 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) ([]crypto.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