blob: 3e4061b9d08c624e866e38dc8d13ebb8b5d2c6c5 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file was auto-generated via go generate.
// DO NOT UPDATE MANUALLY
package agentlib_test
import "fmt"
import "testing"
import "os"
import "v.io/x/ref/test"
import "v.io/x/ref/test/modules"
import "v.io/x/ref/test/v23tests"
func init() {
modules.RegisterChild("getPrincipalAndHang", ``, getPrincipalAndHang)
}
func TestMain(m *testing.M) {
test.Init()
if modules.IsModulesChildProcess() {
if err := modules.Dispatch(); err != nil {
fmt.Fprintf(os.Stderr, "modules.Dispatch failed: %v\n", err)
os.Exit(1)
}
return
}
cleanup := v23tests.UseSharedBinDir()
r := m.Run()
cleanup()
os.Exit(r)
}
func TestV23TestPassPhraseUse(t *testing.T) {
v23tests.RunTest(t, V23TestTestPassPhraseUse)
}
func TestV23AllPrincipalMethods(t *testing.T) {
v23tests.RunTest(t, V23TestAllPrincipalMethods)
}
func TestV23AgentProcesses(t *testing.T) {
v23tests.RunTest(t, V23TestAgentProcesses)
}
func TestV23AgentRestartExitCode(t *testing.T) {
v23tests.RunTest(t, V23TestAgentRestartExitCode)
}