MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / SetupTest

Method SetupTest

integration_test/matrix_test.go:44–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func (s *MatrixTestSuite) SetupTest() {
45 s.testImagesPath = s.TestData.Path("test-images")
46 s.matcher = testutil.NewImageHashCacheMatcher(s.TestData, testutil.HashTypeDct)
47
48 s.Config().Security.MaxAnimationFrames = 999
49 s.Config().Server.DevelopmentErrorsMode = true
50 s.Config().Fetcher.Transport.Local.Root = s.testImagesPath
51}
52
53func (s *MatrixTestSuite) TestMatrix() {
54 for _, source := range formats {

Callers

nothing calls this directly

Calls 2

NewImageHashCacheMatcherFunction · 0.92
PathMethod · 0.80

Tested by

no test coverage detected