Exemple #1
0
 public void Init()
 {
     _hostInfo = DreamTestHelper.CreateRandomPortHost();
     _hostInfo.Host.Self.At("load").With("name", "test.mindtouch.dream").Post(DreamMessage.Ok());
 }
Exemple #2
0
 public void Init()
 {
     _hostInfo = DreamTestHelper.CreateRandomPortHost();
     _parent   = DreamTestHelper.CreateService(_hostInfo, typeof(InheritanceParent), "parent");
     _child    = DreamTestHelper.CreateService(_hostInfo, typeof(InheritanceChild), "child");
 }
Exemple #3
0
 public void Init()
 {
     _hostinfo = DreamTestHelper.CreateRandomPortHost(new XDoc("config").Elem("dream.in.authtoken", "abc"));
 }
Exemple #4
0
 public void FixtureSetup()
 {
     _hostInfo    = DreamTestHelper.CreateRandomPortHost();
     _serviceInfo = DreamTestHelper.CreateService(_hostInfo, typeof(TestExceptionalService), "test");
 }
Exemple #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);
 }