suite

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CountMaxDefault = uint64(1) << uint64(log2CountMax)
)
View Source
const (
	SizeMaxDefault = 256 * GIGABYTE
)

Variables

This section is empty.

Functions

func ParseSizeMax

func ParseSizeMax(sizeStr string) (int64, error)

Types

type Case

type Case interface {
	Name() string
	RunWithSpinner(index int, target objects.Target, dryRun bool) (detail string)
}

func AllUnicodeCases

func AllUnicodeCases() []Case

func FileCountCase

func FileCountCase(prefix string, count uint64) Case

func FileCountCases

func FileCountCases(countMax uint64) []Case

func FileSizeCase

func FileSizeCase(size int64) Case

func FileSizeCases

func FileSizeCases(sizeMax int64) []Case

func NewRangeTableCase

func NewRangeTableCase(prefix string, rangeName string, rt *unicode.RangeTable) Case

func NewSeqCase

func NewSeqCase(prefix string, seqName string, seqs []string) Case

func UnicodeCategoriesCases

func UnicodeCategoriesCases() []Case

func UnicodeEmojiCases

func UnicodeEmojiCases() []Case

func UnicodeEmojiPropertyCases

func UnicodeEmojiPropertyCases() []Case

func UnicodeEmojiSequenceCases

func UnicodeEmojiSequenceCases() []Case

func UnicodePropertiesCases

func UnicodePropertiesCases() []Case

func UnicodeScriptsCases

func UnicodeScriptsCases() []Case

type Suite

type Suite interface {
	Execute() int64
}

func NewSuite

func NewSuite(cases []Case, target objects.Target, logLevel logging.LogLevel, dryRun bool) Suite

Jump to

Keyboard shortcuts

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