test

package
Version: v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package test contains common test code for all tests in the package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockDeviceSuite

type BlockDeviceSuite struct {
	suite.Suite

	File           *os.File
	Dev            *os.File
	LoopbackDevice *os.File
}

BlockDeviceSuite is a common base for all tests that rely on loopback device creation.

func (*BlockDeviceSuite) CreateBlockDevice

func (suite *BlockDeviceSuite) CreateBlockDevice(size int64)

CreateBlockDevice creates a blockDevice.

func (*BlockDeviceSuite) TearDownTest

func (suite *BlockDeviceSuite) TearDownTest()

TearDownTest implements suite.Suite.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL