github.com/qichengzx/mattermost-server@v4.5.1-0.20180604164826-2c75247c97d0+incompatible/plugin/rpcplugin/sandbox/supervisor_test.go (about) 1 // Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. 2 // See License.txt for license information. 3 4 package sandbox 5 6 import ( 7 "testing" 8 9 "github.com/mattermost/mattermost-server/plugin/rpcplugin/rpcplugintest" 10 ) 11 12 func TestSupervisorProvider(t *testing.T) { 13 if err := CheckSupport(); err != nil { 14 t.Skip("sandboxing not supported:", err) 15 } 16 17 rpcplugintest.TestSupervisorProvider(t, SupervisorProvider) 18 }