()
| 27 | } |
| 28 | |
| 29 | func (r rotateAndFlipTestCase) URLOptions() string { |
| 30 | opts := testutil.NewOptionsBuilder() |
| 31 | |
| 32 | if r.rotate != 0 { |
| 33 | opts.Add("rotate").Set(0, r.rotate) |
| 34 | } |
| 35 | |
| 36 | if r.flipH { |
| 37 | opts.Add("flip").Set(0, 1) |
| 38 | } |
| 39 | if r.flipV { |
| 40 | opts.Add("flip").Set(1, 1) |
| 41 | } |
| 42 | |
| 43 | if !r.autoRotate { |
| 44 | opts.Add("auto_rotate").Set(0, 0) |
| 45 | } |
| 46 | |
| 47 | return opts.String() |
| 48 | } |
| 49 | |
| 50 | func (s *RotateAndFlipTestSuite) processImg( |
| 51 | imgIndex int, |
nothing calls this directly
no test coverage detected