Matt Rosencrantz | ed59193 | 2015-04-27 11:38:40 -0700 | [diff] [blame] | 1 | // 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. |
| 4 | |
| 5 | // This file was auto-generated via go generate. |
| 6 | // DO NOT UPDATE MANUALLY |
Todd Wang | 9587390 | 2015-05-22 14:21:30 -0700 | [diff] [blame] | 7 | |
Matt Rosencrantz | ed59193 | 2015-04-27 11:38:40 -0700 | [diff] [blame] | 8 | package hello_test |
| 9 | |
Todd Wang | 9587390 | 2015-05-22 14:21:30 -0700 | [diff] [blame] | 10 | import ( |
| 11 | "os" |
| 12 | "testing" |
Matt Rosencrantz | ed59193 | 2015-04-27 11:38:40 -0700 | [diff] [blame] | 13 | |
Todd Wang | 9587390 | 2015-05-22 14:21:30 -0700 | [diff] [blame] | 14 | "v.io/x/ref/test" |
| 15 | "v.io/x/ref/test/modules" |
| 16 | "v.io/x/ref/test/v23tests" |
| 17 | ) |
Matt Rosencrantz | ed59193 | 2015-04-27 11:38:40 -0700 | [diff] [blame] | 18 | |
| 19 | func TestMain(m *testing.M) { |
| 20 | test.Init() |
Todd Wang | 9587390 | 2015-05-22 14:21:30 -0700 | [diff] [blame] | 21 | modules.DispatchAndExitIfChild() |
Matt Rosencrantz | ed59193 | 2015-04-27 11:38:40 -0700 | [diff] [blame] | 22 | cleanup := v23tests.UseSharedBinDir() |
| 23 | r := m.Run() |
| 24 | cleanup() |
| 25 | os.Exit(r) |
| 26 | } |
| 27 | |
| 28 | func TestV23HelloDirect(t *testing.T) { |
| 29 | v23tests.RunTest(t, V23TestHelloDirect) |
| 30 | } |
| 31 | |
| 32 | func TestV23HelloAgentd(t *testing.T) { |
| 33 | v23tests.RunTest(t, V23TestHelloAgentd) |
| 34 | } |
| 35 | |
| 36 | func TestV23HelloMounttabled(t *testing.T) { |
| 37 | v23tests.RunTest(t, V23TestHelloMounttabled) |
| 38 | } |
| 39 | |
| 40 | func TestV23HelloProxy(t *testing.T) { |
| 41 | v23tests.RunTest(t, V23TestHelloProxy) |
| 42 | } |