about summary refs log tree commit diff
path: root/submitqueue/test_runner.go
diff options
context:
space:
mode:
Diffstat (limited to 'submitqueue/test_runner.go')
-rw-r--r--submitqueue/test_runner.go30
1 files changed, 30 insertions, 0 deletions
diff --git a/submitqueue/test_runner.go b/submitqueue/test_runner.go
new file mode 100644
index 000000000000..e5c33cb2e56a
--- /dev/null
+++ b/submitqueue/test_runner.go
@@ -0,0 +1,30 @@
+package submitqueue
+
+// import (
+// 	"testing"
+
+// 	"github.com/apex/log"
+// 	"github.com/apex/log/handlers/memory"
+// 	"github.com/tweag/gerrit-queue/gerrit"
+// )
+
+// type MockClient struct {
+// 	gerrit.Client
+// }
+
+// func (c *MockClient) Refresh() error {
+// 	return nil
+// }
+
+// func TestNewRunner(t *testing.T) {
+// 	logger := &log.Logger{
+// 		Handler: memory.New(),
+// 	}
+
+// 	//TODO
+// 	gerrit := &MockClient {
+// 		client: nil,
+// 	}
+// 	submitQueueTag := "submitme"
+// 	runner := NewRunner(logger, gerrit, submitQueueTag)
+// }