~ubuntu-branches/ubuntu/vivid/juju-core/vivid-updates

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/environs/imagemetadata/marshal_test.go

  • Committer: Package Import Robot
  • Author(s): Curtis C. Hovey
  • Date: 2015-09-29 19:43:29 UTC
  • mfrom: (47.1.4 wily-proposed)
  • Revision ID: package-import@ubuntu.com-20150929194329-9y496tbic30hc7vp
Tags: 1.24.6-0ubuntu1~15.04.1
Backport of 1.24.6 from wily. (LP: #1500916, #1497087)

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
                    "items": {
56
56
                        "abcd": {
57
57
                            "id": "abcd",
 
58
                            "root_store": "root",
58
59
                            "virt": "virt"
59
60
                        }
60
61
                    }
94
95
}`
95
96
 
96
97
var imageMetadataForTesting = []*imagemetadata.ImageMetadata{
97
 
        &imagemetadata.ImageMetadata{
 
98
        {
98
99
                Id:      "1234",
99
100
                Version: "13.10",
100
101
                Arch:    "arm",
101
102
        },
102
 
        &imagemetadata.ImageMetadata{
 
103
        {
103
104
                Id:      "5678",
104
105
                Version: "12.04",
105
106
                Arch:    "arm",
106
107
        },
107
 
        &imagemetadata.ImageMetadata{
 
108
        {
108
109
                Id:       "abcd",
109
110
                Version:  "12.04",
110
111
                Arch:     "amd64",
111
112
                VirtType: "virt",
 
113
                Storage:  "root",
112
114
        },
113
115
}
114
116