コード例 #1
0
        public void LogoutTestTC_Sw_SessionServiceClasses_0001_A2_A()
        {
            UnitTests.SessionService.SessionServiceClient testSession = new UnitTests.SessionService.SessionServiceClient();
            bool res = testSession.Logout(new System.Guid());

            Assert.AreEqual(false, res);
        }
コード例 #2
0
        public void LogoutTestTC_Sw_SessionServiceClasses_0001_A2_B()
        {
            UnitTests.SessionService.SessionServiceClient testSession = new UnitTests.SessionService.SessionServiceClient();
            System.Guid testguid = testSession.Login("admin", "admin");
            bool        res      = testSession.Logout(testguid);

            Assert.AreEqual(true, res);
        }