mirror of
https://github.com/zrepl/zrepl.git
synced 2025-04-01 03:27:21 +02:00
21 lines
311 B
Go
21 lines
311 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,
|
|
}
|