Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(70)

Side by Side Diff: environs/dummy/environs_test.go

Issue 6852081: environs/config: old (reverted) CL
Patch Set: environs/config: old (reverted) CL Created 12 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « environs/dummy/config_test.go ('k') | environs/ec2/config_test.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package dummy_test 1 package dummy_test
2 2
3 import ( 3 import (
4 . "launchpad.net/gocheck" 4 . "launchpad.net/gocheck"
5 _ "launchpad.net/juju-core/environs/dummy" 5 _ "launchpad.net/juju-core/environs/dummy"
6 "launchpad.net/juju-core/environs/jujutest" 6 "launchpad.net/juju-core/environs/jujutest"
7 "launchpad.net/juju-core/testing" 7 "launchpad.net/juju-core/testing"
8 stdtesting "testing" 8 stdtesting "testing"
9 ) 9 )
10 10
11 func init() { 11 func init() {
12 attrs := map[string]interface{}{ 12 attrs := map[string]interface{}{
13 » » "name": "only", 13 » » "name": "only",
14 » » "type": "dummy", 14 » » "type": "dummy",
15 » » "state-server": true, 15 » » "state-server": true,
16 » » "secret": "pork", 16 » » "secret": "pork",
17 » » "admin-secret": "fish", 17 » » "admin-secret": "fish",
18 » » "ca-cert": testing.CACertPEM,
19 » » "ca-private-key": testing.CAKeyPEM,
18 } 20 }
19 Suite(&jujutest.LiveTests{ 21 Suite(&jujutest.LiveTests{
20 Config: attrs, 22 Config: attrs,
21 CanOpenState: true, 23 CanOpenState: true,
22 HasProvisioner: false, 24 HasProvisioner: false,
23 }) 25 })
24 Suite(&jujutest.Tests{ 26 Suite(&jujutest.Tests{
25 Config: attrs, 27 Config: attrs,
26 }) 28 })
27 } 29 }
28 30
29 func TestSuite(t *stdtesting.T) { 31 func TestSuite(t *stdtesting.T) {
30 testing.MgoTestPackage(t) 32 testing.MgoTestPackage(t)
31 } 33 }
OLDNEW
« no previous file with comments | « environs/dummy/config_test.go ('k') | environs/ec2/config_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b