@@ -80,6 +80,7 @@ func Test_MultiCommand(t *testing.T) {
80
80
}
81
81
82
82
func Test_ContainerComponent (t * testing.T ) {
83
+
83
84
testContent := commonUtils.TestContent {}
84
85
testContent .ComponentTypes = []schema.ComponentType {schema .ContainerComponentType }
85
86
testContent .EditContent = false
@@ -97,6 +98,42 @@ func Test_ContainerComponentEdit(t *testing.T) {
97
98
libraryUtils .RunMultiThreadTest (testContent , t )
98
99
}
99
100
101
+ func Test_KubernetesComponent (t * testing.T ) {
102
+ testContent := commonUtils.TestContent {}
103
+ testContent .ComponentTypes = []schema.ComponentType {schema .KubernetesComponentType }
104
+ testContent .EditContent = false
105
+ testContent .FileName = commonUtils .GetDevFileName ()
106
+ libraryUtils .RunTest (testContent , t )
107
+ libraryUtils .RunMultiThreadTest (testContent , t )
108
+ }
109
+
110
+ func Test_KubernetesComponentEdit (t * testing.T ) {
111
+ testContent := commonUtils.TestContent {}
112
+ testContent .ComponentTypes = []schema.ComponentType {schema .KubernetesComponentType }
113
+ testContent .EditContent = true
114
+ testContent .FileName = commonUtils .GetDevFileName ()
115
+ libraryUtils .RunTest (testContent , t )
116
+ libraryUtils .RunMultiThreadTest (testContent , t )
117
+ }
118
+
119
+ func Test_OpenshiftComponent (t * testing.T ) {
120
+ testContent := commonUtils.TestContent {}
121
+ testContent .ComponentTypes = []schema.ComponentType {schema .OpenshiftComponentType }
122
+ testContent .EditContent = false
123
+ testContent .FileName = commonUtils .GetDevFileName ()
124
+ libraryUtils .RunTest (testContent , t )
125
+ libraryUtils .RunMultiThreadTest (testContent , t )
126
+ }
127
+
128
+ func Test_OpenshiftComponentEdit (t * testing.T ) {
129
+ testContent := commonUtils.TestContent {}
130
+ testContent .ComponentTypes = []schema.ComponentType {schema .OpenshiftComponentType }
131
+ testContent .EditContent = true
132
+ testContent .FileName = commonUtils .GetDevFileName ()
133
+ libraryUtils .RunTest (testContent , t )
134
+ libraryUtils .RunMultiThreadTest (testContent , t )
135
+ }
136
+
100
137
func Test_VolumeComponent (t * testing.T ) {
101
138
testContent := commonUtils.TestContent {}
102
139
testContent .ComponentTypes = []schema.ComponentType {schema .VolumeComponentType }
0 commit comments