Example #1
0
        public void CreateCommonChannelTest()
        {
            SemanticHelper target = new SemanticHelper(); // TODO: Initialize to an appropriate value

            ClientCredentials cred = new ClientCredentials();

            cred.UserName.UserName = "******";
            cred.UserName.Password = "******";
            //target.SetCredentials(cred);

            //IExplDic actual1;
            //actual1 = target.CreateChannel();
            //Assert.IsNotNull(actual1);
            //int n = actual1.ExplCheckReestr("КОСА#", 1, 1);


            try
            {
                target.SetCredentials2(cred);
                ICommonDic actual;
                actual = target.CreateCommonChannel();
                Assert.IsNotNull(actual);
                //int l = actual.LogUser(1, true);
                string[] s = actual.CheckMessages();
                //int[] lq = actual.GetUserIDsForLS(1, 0);
                // byte l = actual.GetUserRightsForLS(1);// LogUser(1, false);
                //Dictionary<byte, string> rights = actual.GetUserRights();
                //users_short[] users = actual.GetUsers();
            }
            catch (Exception ex)
            {
                int j = 0;
            }

            Assert.Inconclusive("Verify the correctness of this test method.");
        }