Exemplo n.º 1
0
 public void Init()
 {
     _hostInfo = DreamTestHelper.CreateRandomPortHost();
     _hostInfo.Host.Self.At("load").With("name", "test.mindtouch.dream").Post(DreamMessage.Ok());
 }
Exemplo n.º 2
0
 public void Init()
 {
     _hostInfo = DreamTestHelper.CreateRandomPortHost();
     _parent   = DreamTestHelper.CreateService(_hostInfo, typeof(InheritanceParent), "parent");
     _child    = DreamTestHelper.CreateService(_hostInfo, typeof(InheritanceChild), "child");
 }
Exemplo n.º 3
0
 public void Init()
 {
     _hostinfo = DreamTestHelper.CreateRandomPortHost(new XDoc("config").Elem("dream.in.authtoken", "abc"));
 }
Exemplo n.º 4
0
 public void FixtureSetup()
 {
     _hostInfo    = DreamTestHelper.CreateRandomPortHost();
     _serviceInfo = DreamTestHelper.CreateService(_hostInfo, typeof(TestExceptionalService), "test");
 }
Exemplo n.º 5
0
 public void Init()
 {
     _hostinfo = DreamTestHelper.CreateRandomPortHost(new XDoc("config").Elem("dream.in.authtoken", "abc"));
     _host     = _hostinfo.LocalHost.At("host").With("apikey", _hostinfo.ApiKey);
 }