Documentation
¶
Overview ¶
Package filtertest provides ...
Index ¶
- func AssertFileShouldBeFiltered(t *testing.T, f *gogenfilter.Filter, path string)
- func AssertFileShouldNotBeFiltered(t *testing.T, fltr *gogenfilter.Filter, filepath string)
- func AssertFilesFiltered(t *testing.T, fltr *gogenfilter.Filter, filepaths []string, shouldFilter bool)
- func AssertFilesShouldBeFiltered(t *testing.T, f *gogenfilter.Filter, paths []string)
- func AssertFilesShouldNotBeFiltered(t *testing.T, fltr *gogenfilter.Filter, filepaths []string)
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.
Click to show internal directories.
Click to hide internal directories.