mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-26 02:14:44 +01:00
35 lines
822 B
Go
35 lines
822 B
Go
package tests
|
|
|
|
import (
|
|
"reflect"
|
|
"runtime"
|
|
|
|
"github.com/zrepl/zrepl/platformtest"
|
|
)
|
|
|
|
type Case func(*platformtest.Context)
|
|
|
|
func (c Case) String() string {
|
|
return runtime.FuncForPC(reflect.ValueOf(c).Pointer()).Name()
|
|
}
|
|
|
|
var Cases = []Case{
|
|
BatchDestroy,
|
|
UndestroyableSnapshotParsing,
|
|
GetNonexistent,
|
|
CreateReplicationCursor,
|
|
IdempotentHold,
|
|
IdempotentBookmark,
|
|
IdempotentDestroy,
|
|
ResumeTokenParsing,
|
|
ResumableRecvAndTokenHandling,
|
|
SendArgsValidationEncryptedSendOfUnencryptedDatasetForbidden,
|
|
SendArgsValidationResumeTokenEncryptionMismatchForbidden,
|
|
SendArgsValidationResumeTokenDifferentFilesystemForbidden,
|
|
ListFilesystemVersionsTypeFilteringAndPrefix,
|
|
ListFilesystemVersionsFilesystemNotExist,
|
|
ListFilesystemVersionsFilesystemNotExist,
|
|
ListFilesystemVersionsUserrefs,
|
|
ListFilesystemsNoFilter,
|
|
}
|