test

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 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.

Jump to

Keyboard shortcuts

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