refactor: we don't wanna export pkg/oonimkall/tasks (#216)
* doc: merge the engine and the cli readmes Part of https://github.com/ooni/probe/issues/1335 * refactor: we don't wanna export pkg/oonimkall/tasks See https://github.com/ooni/probe/issues/1335
This commit is contained in:
parent
cc5fcede44
commit
a5f4fc997c
1
pkg/oonimkall/.gitignore
vendored
Normal file
1
pkg/oonimkall/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/testdata
|
|
@ -3,7 +3,7 @@ package tasks_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/pkg/oonimkall/tasks"
|
"github.com/ooni/probe-cli/v3/pkg/oonimkall/internal/tasks"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDisabledEvents(t *testing.T) {
|
func TestDisabledEvents(t *testing.T) {
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/pkg/oonimkall/tasks"
|
"github.com/ooni/probe-cli/v3/pkg/oonimkall/internal/tasks"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRunnerMaybeLookupBackendsFailure(t *testing.T) {
|
func TestRunnerMaybeLookupBackendsFailure(t *testing.T) {
|
|
@ -45,7 +45,7 @@ import (
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
"github.com/ooni/probe-cli/v3/pkg/oonimkall/tasks"
|
"github.com/ooni/probe-cli/v3/pkg/oonimkall/internal/tasks"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Task is an asynchronous task running an experiment. It mimics the
|
// Task is an asynchronous task running an experiment. It mimics the
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/google/go-cmp/cmp"
|
"github.com/google/go-cmp/cmp"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/pkg/oonimkall"
|
"github.com/ooni/probe-cli/v3/pkg/oonimkall"
|
||||||
"github.com/ooni/probe-cli/v3/pkg/oonimkall/tasks"
|
"github.com/ooni/probe-cli/v3/pkg/oonimkall/internal/tasks"
|
||||||
)
|
)
|
||||||
|
|
||||||
type eventlike struct {
|
type eventlike struct {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user