filtertest

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package filtertest provides ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertFileShouldBeFiltered

func AssertFileShouldBeFiltered(t *testing.T, f *gogenfilter.Filter, path string)

AssertFileShouldBeFiltered asserts that a file should be filtered.

func AssertFileShouldNotBeFiltered

func AssertFileShouldNotBeFiltered(t *testing.T, fltr *gogenfilter.Filter, filepath string)

AssertFileShouldNotBeFiltered asserts that a file should not be filtered.

func AssertFilesFiltered

func AssertFilesFiltered(
	t *testing.T,
	fltr *gogenfilter.Filter,
	filepaths []string,
	shouldFilter bool,
)

AssertFilesFiltered asserts that files should (or should not) be filtered based on shouldFilter.

func AssertFilesShouldBeFiltered

func AssertFilesShouldBeFiltered(t *testing.T, f *gogenfilter.Filter, paths []string)

AssertFilesShouldBeFiltered asserts that multiple files should be filtered.

func AssertFilesShouldNotBeFiltered

func AssertFilesShouldNotBeFiltered(t *testing.T, fltr *gogenfilter.Filter, filepaths []string)

AssertFilesShouldNotBeFiltered asserts that multiple files should not be filtered.

Types

This section is empty.

Jump to

Keyboard shortcuts

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