Silvin Lubecki
|
eb0ba4f8d5
|
Extract streams helpers from command package to their own package to remove a cyclic dependency from command to internal/containerizedengine
Aliasing old types
* streams.InStream -> streams.In
* streams.NewInStream -> streams.NewIn
* streams.OutStream -> streams.Out
* streams.NewOutStream -> streams.NewOut
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
|
2019-01-28 14:36:00 +01:00 |
Vincent Demeester
|
2c4de4fb5e
|
Update tests to use gotest.tools 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
|
2018-06-08 18:24:26 +02:00 |
Daniel Nephin
|
078cbc9c4b
|
Convert assert.Check with
git grep -l -P '^\s+assert\.Check\(t, ' | \
xargs perl -pi -e 's/^(\s+assert)\.Check(\(t, (?!is).*(\.Execute\(|\.Set\(|\.Write\(|\.Close\(|\.Untar\(|\.WriteFile\(|Validate\().*\)$)/\1.NilError\2/'
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-06 15:43:53 -05:00 |
Daniel Nephin
|
681c921528
|
Remove testutil
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-06 14:38:35 -05:00 |
Daniel Nephin
|
39c2ca57c1
|
Automated migration
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-05 19:41:17 -05:00 |
Daniel Nephin
|
846a31aa50
|
Use new internal testutil.ErrorContains()
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2017-08-22 10:14:25 -04:00 |
Daniel Nephin
|
b3f843afe2
|
Move internal/test package out of cli.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2017-08-22 10:14:25 -04:00 |
Daniel Nephin
|
505a0fe45f
|
Update volume command tests to use the new golden
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2017-08-16 14:23:28 -04:00 |
Daniel Nephin
|
69b142b52a
|
Update FakeCli to remove duplication in tests.
Use byte buffers by default, since that is what is done most of the time.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2017-07-11 14:49:30 -04:00 |
Ignacio Capurro
|
e7793092a2
|
Unit tests for cli/commands/image (except build and tag)
Signed-off-by: Ignacio Capurro <icapurrofagian@gmail.com>
|
2017-05-03 18:40:22 -07:00 |
Daniel Nephin
|
10641c2aae
|
Update imports.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2017-04-17 18:07:56 -04:00 |
Daniel Nephin
|
1630fc40f8
|
Import docker/docker/cli
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
|
2017-04-17 17:40:59 -04:00 |