blob: 0bb141e421087fecfe727a9395f96119585adbe6 [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 Nicolaou93dd88b2015-02-19 15:10:53 -08005// This file was auto-generated via go generate.
6// DO NOT UPDATE MANUALLY
Todd Wang95873902015-05-22 14:21:30 -07007
Todd Wangcd4b3cc2015-04-06 16:42:02 -07008package device_test
Cosmos Nicolaou93dd88b2015-02-19 15:10:53 -08009
Todd Wang95873902015-05-22 14:21:30 -070010import (
11 "os"
12 "testing"
Cosmos Nicolaou93dd88b2015-02-19 15:10:53 -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 Nicolaou93dd88b2015-02-19 15:10:53 -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 Nicolaou93dd88b2015-02-19 15:10:53 -080022 cleanup := v23tests.UseSharedBinDir()
23 r := m.Run()
24 cleanup()
25 os.Exit(r)
26}
27
Asim Shankar6cc759d2015-03-14 03:31:44 -070028func TestV23DeviceManager(t *testing.T) {
29 v23tests.RunTest(t, V23TestDeviceManager)
Cosmos Nicolaou93dd88b2015-02-19 15:10:53 -080030}
Robert Kroeger769353e2015-05-05 19:10:07 -070031
32func TestV23DeviceManagerMultiUser(t *testing.T) {
33 v23tests.RunTest(t, V23TestDeviceManagerMultiUser)
34}