Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
b9e12fd4
Commit
b9e12fd4
authored
Mar 04, 2019
by
Dr. Stefan Schimanski
Committed by
Jordan Liggitt
Mar 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add proto roundtrip tests in roundtrip_test.go files
parent
95cd1d59
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
0 deletions
+7
-0
roundtrip_test.go
...piserver/pkg/apis/apiextensions/install/roundtrip_test.go
+1
-0
roundtrip_test.go
...machinery/pkg/apis/testapigroup/install/roundtrip_test.go
+1
-0
roundtrip_test.go
...k8s.io/apiserver/pkg/apis/audit/install/roundtrip_test.go
+1
-0
roundtrip_test.go
...s.io/apiserver/pkg/apis/example/install/roundtrip_test.go
+1
-0
roundtrip_test.go
....io/apiserver/pkg/apis/example2/install/roundtrip_test.go
+1
-0
roundtrip_test.go
...ample-apiserver/pkg/apis/wardle/install/roundtrip_test.go
+2
-0
No files found.
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/install/roundtrip_test.go
View file @
b9e12fd4
...
@@ -25,4 +25,5 @@ import (
...
@@ -25,4 +25,5 @@ import (
func
TestRoundTrip
(
t
*
testing
.
T
)
{
func
TestRoundTrip
(
t
*
testing
.
T
)
{
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
apiextensionsfuzzer
.
Funcs
)
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
apiextensionsfuzzer
.
Funcs
)
roundtrip
.
RoundTripProtobufTestForAPIGroup
(
t
,
Install
,
apiextensionsfuzzer
.
Funcs
)
}
}
staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/install/roundtrip_test.go
View file @
b9e12fd4
...
@@ -25,4 +25,5 @@ import (
...
@@ -25,4 +25,5 @@ import (
func
TestRoundTrip
(
t
*
testing
.
T
)
{
func
TestRoundTrip
(
t
*
testing
.
T
)
{
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
testapigroupfuzzer
.
Funcs
)
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
testapigroupfuzzer
.
Funcs
)
roundtrip
.
RoundTripProtobufTestForAPIGroup
(
t
,
Install
,
testapigroupfuzzer
.
Funcs
)
}
}
staging/src/k8s.io/apiserver/pkg/apis/audit/install/roundtrip_test.go
View file @
b9e12fd4
...
@@ -25,4 +25,5 @@ import (
...
@@ -25,4 +25,5 @@ import (
func
TestRoundTrip
(
t
*
testing
.
T
)
{
func
TestRoundTrip
(
t
*
testing
.
T
)
{
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
fuzzer
.
Funcs
)
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
fuzzer
.
Funcs
)
roundtrip
.
RoundTripProtobufTestForAPIGroup
(
t
,
Install
,
fuzzer
.
Funcs
)
}
}
staging/src/k8s.io/apiserver/pkg/apis/example/install/roundtrip_test.go
View file @
b9e12fd4
...
@@ -25,4 +25,5 @@ import (
...
@@ -25,4 +25,5 @@ import (
func
TestRoundTrip
(
t
*
testing
.
T
)
{
func
TestRoundTrip
(
t
*
testing
.
T
)
{
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
examplefuzzer
.
Funcs
)
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
examplefuzzer
.
Funcs
)
roundtrip
.
RoundTripProtobufTestForAPIGroup
(
t
,
Install
,
examplefuzzer
.
Funcs
)
}
}
staging/src/k8s.io/apiserver/pkg/apis/example2/install/roundtrip_test.go
View file @
b9e12fd4
...
@@ -25,4 +25,5 @@ import (
...
@@ -25,4 +25,5 @@ import (
func
TestRoundTrip
(
t
*
testing
.
T
)
{
func
TestRoundTrip
(
t
*
testing
.
T
)
{
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
examplefuzzer
.
Funcs
)
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
examplefuzzer
.
Funcs
)
roundtrip
.
RoundTripProtobufTestForAPIGroup
(
t
,
Install
,
examplefuzzer
.
Funcs
)
}
}
staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/install/roundtrip_test.go
View file @
b9e12fd4
...
@@ -25,4 +25,6 @@ import (
...
@@ -25,4 +25,6 @@ import (
func
TestRoundTripTypes
(
t
*
testing
.
T
)
{
func
TestRoundTripTypes
(
t
*
testing
.
T
)
{
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
wardlefuzzer
.
Funcs
)
roundtrip
.
RoundTripTestForAPIGroup
(
t
,
Install
,
wardlefuzzer
.
Funcs
)
// TODO: enable protobuf generation for the sample-apiserver
// roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, wardlefuzzer.Funcs)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment