@@ -17,7 +17,7 @@ import (
17
17
"github.com/stretchr/testify/require"
18
18
)
19
19
20
- func Test_Executor_Autostart_OK (t * testing.T ) {
20
+ func TestExecutorAutostartOK (t * testing.T ) {
21
21
t .Parallel ()
22
22
23
23
var (
@@ -57,7 +57,7 @@ func Test_Executor_Autostart_OK(t *testing.T) {
57
57
require .Equal (t ,database .WorkspaceTransitionStart ,ws .LatestBuild .Transition ,"expected latest transition to be start" )
58
58
}
59
59
60
- func Test_Executor_Autostart_AlreadyRunning (t * testing.T ) {
60
+ func TestExecutorAutostartAlreadyRunning (t * testing.T ) {
61
61
t .Parallel ()
62
62
63
63
var (
@@ -97,7 +97,7 @@ func Test_Executor_Autostart_AlreadyRunning(t *testing.T) {
97
97
require .Equal (t ,database .WorkspaceTransitionStart ,ws .LatestBuild .Transition ,"expected workspace to be running" )
98
98
}
99
99
100
- func Test_Executor_Autostart_NotEnabled (t * testing.T ) {
100
+ func TestExecutorAutostartNotEnabled (t * testing.T ) {
101
101
t .Parallel ()
102
102
103
103
var (
@@ -128,7 +128,7 @@ func Test_Executor_Autostart_NotEnabled(t *testing.T) {
128
128
require .NotEqual (t ,database .WorkspaceTransitionStart ,ws .LatestBuild .Transition ,"expected workspace not to be running" )
129
129
}
130
130
131
- func Test_Executor_Autostop_OK (t * testing.T ) {
131
+ func TestExecutorAutostopOK (t * testing.T ) {
132
132
t .Parallel ()
133
133
134
134
var (
@@ -168,7 +168,7 @@ func Test_Executor_Autostop_OK(t *testing.T) {
168
168
require .Equal (t ,database .WorkspaceTransitionStop ,ws .LatestBuild .Transition ,"expected workspace not to be running" )
169
169
}
170
170
171
- func Test_Executor_Autostop_AlreadyStopped (t * testing.T ) {
171
+ func TestExecutorAutostopAlreadyStopped (t * testing.T ) {
172
172
t .Parallel ()
173
173
174
174
var (
@@ -208,7 +208,7 @@ func Test_Executor_Autostop_AlreadyStopped(t *testing.T) {
208
208
require .Equal (t ,database .WorkspaceTransitionStop ,ws .LatestBuild .Transition ,"expected workspace not to be running" )
209
209
}
210
210
211
- func Test_Executor_Autostop_NotEnabled (t * testing.T ) {
211
+ func TestExecutorAutostopNotEnabled (t * testing.T ) {
212
212
t .Parallel ()
213
213
214
214
var (
@@ -239,7 +239,7 @@ func Test_Executor_Autostop_NotEnabled(t *testing.T) {
239
239
require .Equal (t ,database .WorkspaceTransitionStart ,ws .LatestBuild .Transition ,"expected workspace to be running" )
240
240
}
241
241
242
- func Test_Executor_Workspace_Deleted (t * testing.T ) {
242
+ func TestExecutorWorkspaceDeleted (t * testing.T ) {
243
243
t .Parallel ()
244
244
245
245
var (
@@ -279,7 +279,7 @@ func Test_Executor_Workspace_Deleted(t *testing.T) {
279
279
require .Equal (t ,database .WorkspaceTransitionDelete ,ws .LatestBuild .Transition ,"expected workspace to be deleted" )
280
280
}
281
281
282
- func Test_Executor_Workspace_TooEarly (t * testing.T ) {
282
+ func TestExecutorWorkspaceTooEarly (t * testing.T ) {
283
283
t .Parallel ()
284
284
285
285
var (