Add list-tests protocol message, test subcommands, extract test handlers
This commit is contained in:
@@ -24,6 +24,11 @@ type ResponseLog struct {
|
||||
Entries []LogEntry
|
||||
}
|
||||
|
||||
type RequestListTests struct{}
|
||||
type ResponseListTests struct {
|
||||
Names []string
|
||||
}
|
||||
|
||||
type RequestTest struct {
|
||||
Name string
|
||||
}
|
||||
@@ -57,6 +62,8 @@ func init() {
|
||||
msgpack.RegisterExt(5, (*ResponseInfo)(nil))
|
||||
msgpack.RegisterExt(6, (*RequestLog)(nil))
|
||||
msgpack.RegisterExt(7, (*ResponseLog)(nil))
|
||||
msgpack.RegisterExt(125, (*RequestListTests)(nil))
|
||||
msgpack.RegisterExt(124, (*ResponseListTests)(nil))
|
||||
msgpack.RegisterExt(127, (*RequestTest)(nil))
|
||||
msgpack.RegisterExt(126, (*ResponseTest)(nil))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user