blob: 334393aa85c79421aef93201ac2a6e92eff99d8d [file] [log] [blame]
Cosmos Nicolaoub1c49cd2015-02-24 15:24:08 -08001// Copyright 2015 The Vanadium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
Jiri Simsae7fc94d2015-02-25 12:12:07 -08004
Cosmos Nicolaou1fcb6a32015-02-17 07:46:02 -08005// This file was auto-generated via go generate.
6// DO NOT UPDATE MANUALLY
Todd Wang95873902015-05-22 14:21:30 -07007
Todd Wang88509682015-04-10 10:28:24 -07008package agentlib_test
Cosmos Nicolaou1fcb6a32015-02-17 07:46:02 -08009
Todd Wang95873902015-05-22 14:21:30 -070010import (
11 "os"
12 "testing"
Cosmos Nicolaou1fcb6a32015-02-17 07:46:02 -080013
Todd Wang95873902015-05-22 14:21:30 -070014 "v.io/x/ref/test"
15 "v.io/x/ref/test/modules"
16 "v.io/x/ref/test/v23tests"
17)
Ryan Brown1d297072015-02-18 17:45:52 -080018
Cosmos Nicolaou1fcb6a32015-02-17 07:46:02 -080019func TestMain(m *testing.M) {
Cosmos Nicolaou1381f8a2015-03-13 09:40:34 -070020 test.Init()
Todd Wang95873902015-05-22 14:21:30 -070021 modules.DispatchAndExitIfChild()
Cosmos Nicolaou1fcb6a32015-02-17 07:46:02 -080022 cleanup := v23tests.UseSharedBinDir()
23 r := m.Run()
24 cleanup()
25 os.Exit(r)
26}
27
28func TestV23TestPassPhraseUse(t *testing.T) {
29 v23tests.RunTest(t, V23TestTestPassPhraseUse)
30}
31
32func TestV23AllPrincipalMethods(t *testing.T) {
33 v23tests.RunTest(t, V23TestAllPrincipalMethods)
34}
35
36func TestV23AgentProcesses(t *testing.T) {
37 v23tests.RunTest(t, V23TestAgentProcesses)
38}
39
Asim Shankarfdeb8cd2015-03-16 11:57:16 -070040func TestV23AgentRestartExitCode(t *testing.T) {
41 v23tests.RunTest(t, V23TestAgentRestartExitCode)
Cosmos Nicolaou1fcb6a32015-02-17 07:46:02 -080042}