~kyrofa/go-trust-store/add_agent

« back to all changes in this revision

Viewing changes to trust/answer_test.go

  • Committer: Kyle Fazzari
  • Date: 2015-10-01 18:03:08 UTC
  • Revision ID: kyle@canonical.com-20151001180308-ja20xozei42nbjge
Add Answer type and shim, representing a response from the user.

Signed-off-by: Kyle Fazzari <kyle@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2015 Canonical Ltd.
 
2
 *
 
3
 * This file is part of go-trust-store.
 
4
 *
 
5
 * go-trust-store is free software: you can redistribute it and/or modify it
 
6
 * under the terms of the GNU Lesser General Public License version 3, as
 
7
 * published by the Free Software Foundation.
 
8
 *
 
9
 * go-trust-store is distributed in the hope that it will be useful, but WITHOUT
 
10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
11
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 
12
 * details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public License
 
15
 * along with go-trust-store. If not, see <http://www.gnu.org/licenses/>.
 
16
 *
 
17
 * Authored by: Kyle Fazzari <kyle@canonical.com>
 
18
 */
 
19
 
 
20
package trust
 
21
 
 
22
import (
 
23
        "testing"
 
24
)
 
25
 
 
26
func TestAnswer_FromShim(t *testing.T) {
 
27
        testAnswer_FromShim(t)
 
28
}
 
29
 
 
30
func TestAnswer_ToShim(t *testing.T) {
 
31
        testAnswer_ToShim(t)
 
32
}