Exemplo n.º 1
0
 public void SetUp()
 {
     m_fixture.SetTraceOutput(TestContext.Out);
     m_requestHeader             = m_server.CreateAndActivateSession(TestContext.CurrentContext.Test.Name);
     m_requestHeader.Timestamp   = DateTime.UtcNow;
     m_requestHeader.TimeoutHint = kTimeoutHint;
 }
Exemplo n.º 2
0
 public void SetUp()
 {
     m_fixture.SetTraceOutput(TestContext.Out);
     m_requestHeader             = m_server.CreateAndActivateSession(TestContext.CurrentContext.Test.Name);
     m_requestHeader.Timestamp   = DateTime.UtcNow;
     m_requestHeader.TimeoutHint = kTimeoutHint;
     m_random    = new RandomSource(999);
     m_generator = new DataGenerator(m_random);
 }
Exemplo n.º 3
0
 public void GlobalSetup()
 {
     // start Ref server
     m_fixture       = new ServerFixture <ReferenceServer>();
     m_server        = m_fixture.StartAsync(null).GetAwaiter().GetResult();
     m_requestHeader = m_server.CreateAndActivateSession("Bench");
 }