moby--moby/builder/dockerfile
Sebastiaan van Stijn a3f9cb5b63
TestDispatch: refactor to use subtests again, and fix linting (structcheck)
Instead of using a `initDispatchTestCases()` function, declare the test-table
inside `TestDispatch` itself, and run the tests as subtests.

```
[2019-08-27T15:14:51.072Z] builder/dockerfile/evaluator_test.go:18:2: `name` is unused (structcheck)
[2019-08-27T15:14:51.072Z] 	name, expectedError string
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-09-11 11:13:03 +02:00
..
buildargs.go fix typos 2018-09-01 21:26:38 +08:00
buildargs_test.go
builder.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
builder_unix.go
builder_windows.go
clientsession.go
containerbackend.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00
copy.go fix build after merge of outdated PR 2019-08-28 03:14:28 +02:00
copy_test.go
copy_unix.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
copy_windows.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
dispatchers.go Merge pull request #38599 from thaJeztah/builder_fix_copy_permissions 2019-03-22 09:38:13 -07:00
dispatchers_test.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00
dispatchers_unix.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00
dispatchers_unix_test.go
dispatchers_windows.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00
dispatchers_windows_test.go
evaluator.go
evaluator_test.go TestDispatch: refactor to use subtests again, and fix linting (structcheck) 2019-09-11 11:13:03 +02:00
imagecontext.go
imageprobe.go
internals.go Merge pull request #38599 from thaJeztah/builder_fix_copy_permissions 2019-03-22 09:38:13 -07:00
internals_linux.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
internals_linux_test.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
internals_test.go LCOW: Log stderr on failures 2018-09-26 13:23:04 -07:00
internals_windows.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00
internals_windows_test.go
metrics.go
mockbackend_test.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00
utils_test.go