diff --git a/pipeline/runtime/execer.go b/pipeline/runtime/execer.go index 31c6670..2f64a59 100644 --- a/pipeline/runtime/execer.go +++ b/pipeline/runtime/execer.go @@ -18,6 +18,7 @@ import ( "golang.org/x/sync/semaphore" ) +// Execer executes the pipeline. type Execer struct { mu sync.Mutex engine Engine @@ -26,7 +27,7 @@ type Execer struct { sem *semaphore.Weighted } -// NewExecer returns a new execer used +// NewExecer returns a new execer. func NewExecer( reporter pipeline.Reporter, streamer pipeline.Streamer, diff --git a/pipeline/runtime/execer_test.go b/pipeline/runtime/execer_test.go index cd2812f..35549fa 100644 --- a/pipeline/runtime/execer_test.go +++ b/pipeline/runtime/execer_test.go @@ -3,3 +3,33 @@ // that can be found in the LICENSE file. package runtime + +import "testing" + +func TestExec(t *testing.T) { + t.Skip() +} + +func TestExec_NonZeroExit(t *testing.T) { + t.Skip() +} + +func TestExec_Exit78(t *testing.T) { + t.Skip() +} + +func TestExec_Error(t *testing.T) { + t.Skip() +} + +func TestExec_CtxError(t *testing.T) { + t.Skip() +} + +func TestExec_ReportError(t *testing.T) { + t.Skip() +} + +func TestExec_SkipCtxDone(t *testing.T) { + t.Skip() +} diff --git a/poller/poller.go b/poller/poller.go index daadb39..2aae347 100644 --- a/poller/poller.go +++ b/poller/poller.go @@ -1,10 +1,8 @@ -// DO NOT EDIT. - // Copyright 2019 Drone.IO Inc. All rights reserved. // Use of this source code is governed by the Polyform License // that can be found in the LICENSE file. -package runtime +package poller import ( "context" diff --git a/poller/poller_test.go b/poller/poller_test.go index cd2812f..e9ecfc6 100644 --- a/poller/poller_test.go +++ b/poller/poller_test.go @@ -2,4 +2,22 @@ // Use of this source code is governed by the Polyform License // that can be found in the LICENSE file. -package runtime +package poller + +import "testing" + +func TestPoll(t *testing.T) { + t.Skip() +} + +func TestPoll_NilStage(t *testing.T) { + t.Skip() +} + +func TestPoll_EmptyStage(t *testing.T) { + t.Skip() +} + +func TestPoll_RequestError(t *testing.T) { + t.Skip() +}