blob: 3aa5c29f1f85fe0fb798376cef7a815307f49039 [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 Nicolaou728a57e2015-02-05 13:04:08 -08005// This file was auto-generated via go generate.
6// DO NOT UPDATE MANUALLY
Todd Wang95873902015-05-22 14:21:30 -07007
Cosmos Nicolaou728a57e2015-02-05 13:04:08 -08008package main_test
9
Todd Wang95873902015-05-22 14:21:30 -070010import (
11 "os"
12 "testing"
Cosmos Nicolaou728a57e2015-02-05 13:04:08 -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)
Cosmos Nicolaou728a57e2015-02-05 13:04:08 -080018
19func 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 Nicolaou82d00d82015-02-10 21:31:00 -080022 cleanup := v23tests.UseSharedBinDir()
23 r := m.Run()
24 cleanup()
Cosmos Nicolaou82d00d82015-02-10 21:31:00 -080025 os.Exit(r)
Cosmos Nicolaou728a57e2015-02-05 13:04:08 -080026}
27
28func TestV23BlessSelf(t *testing.T) {
Cosmos Nicolaou4a77c192015-02-08 15:29:18 -080029 v23tests.RunTest(t, V23TestBlessSelf)
Cosmos Nicolaou728a57e2015-02-05 13:04:08 -080030}
James Ring5721f3d2015-02-12 19:53:20 -080031
32func TestV23Store(t *testing.T) {
33 v23tests.RunTest(t, V23TestStore)
34}
35
36func TestV23Dump(t *testing.T) {
37 v23tests.RunTest(t, V23TestDump)
38}
39
Suharsh Sivakumar4bbe8ed2015-04-09 14:21:44 -070040func TestV23GetRecognizedRoots(t *testing.T) {
41 v23tests.RunTest(t, V23TestGetRecognizedRoots)
42}
43
44func TestV23GetPeermap(t *testing.T) {
45 v23tests.RunTest(t, V23TestGetPeermap)
46}
47
James Ring5721f3d2015-02-12 19:53:20 -080048func TestV23RecvBlessings(t *testing.T) {
49 v23tests.RunTest(t, V23TestRecvBlessings)
50}
51
Asim Shankar2a32dd22015-05-29 15:45:22 -070052func TestV23RecvBlessingsInteractive(t *testing.T) {
53 v23tests.RunTest(t, V23TestRecvBlessingsInteractive)
54}
55
James Ring5721f3d2015-02-12 19:53:20 -080056func TestV23Fork(t *testing.T) {
57 v23tests.RunTest(t, V23TestFork)
58}
59
60func TestV23Create(t *testing.T) {
61 v23tests.RunTest(t, V23TestCreate)
62}
Suharsh Sivakumar1d61f642015-02-17 20:56:14 -080063
64func TestV23Caveats(t *testing.T) {
65 v23tests.RunTest(t, V23TestCaveats)
66}
Asim Shankar918190d2015-02-18 17:12:43 -080067
68func TestV23ForkWithoutVDLPATH(t *testing.T) {
69 v23tests.RunTest(t, V23TestForkWithoutVDLPATH)
70}
Asim Shankara0bba462015-02-20 22:50:51 -080071
72func TestV23ForkWithoutCaveats(t *testing.T) {
73 v23tests.RunTest(t, V23TestForkWithoutCaveats)
74}
75
76func TestV23Bless(t *testing.T) {
77 v23tests.RunTest(t, V23TestBless)
78}
Asim Shankar5fbe3262015-03-11 23:03:51 -070079
Asim Shankar80277d02015-03-31 12:57:06 -070080func TestV23AddBlessingsToRoots(t *testing.T) {
81 v23tests.RunTest(t, V23TestAddBlessingsToRoots)
82}
83
84func TestV23AddKeyToRoots(t *testing.T) {
85 v23tests.RunTest(t, V23TestAddKeyToRoots)
Asim Shankar5fbe3262015-03-11 23:03:51 -070086}