Exemplo n.º 1
0
        protected new void OneTimeSetUp()
        {
            NameSpaceUris.GetIndexOrAppend(Namespaces.OpcUaGds);
            ushort demoServerIndex = NameSpaceUris.GetIndexOrAppend(kDemoServer);

            Assume.That(demoServerIndex == kDemoServerIndex, $"Server Index: {demoServerIndex} != {kDemoServerIndex}");
        }
Exemplo n.º 2
0
 protected void OneTimeSetUp()
 {
     Context       = new ServiceMessageContext();
     NameSpaceUris = Context.NamespaceUris;
     // namespace index 1 must be the ApplicationUri
     NameSpaceUris.GetIndexOrAppend(ApplicationUri);
     NameSpaceUris.GetIndexOrAppend(Namespaces.OpcUaGds);
     ServerUris = new StringTable();
 }
Exemplo n.º 3
0
        protected new void OneTimeSetUp()
        {
            ushort demoServerIndex = NameSpaceUris.GetIndexOrAppend(kDemoServer);

            Assume.That(demoServerIndex == kDemoServerIndex, $"Server Index: {demoServerIndex} != {kDemoServerIndex}");

            // for validating benchmark tests
            m_context      = new ServiceMessageContext();
            m_memoryStream = new MemoryStream();
        }