示例#1
0
        public void ICardSetGetTimeStamp()
        {
            TestInfrastructure.DebugLineStart(TestContext);
            if (TestInfrastructure.IsActive(TestContext))
            {
                IDictionary writeLM = TestInfrastructure.GetLMConnection(TestContext, TestInfrastructure.GetAdminUser);
                ICard       card    = writeLM.Cards.AddNew();

                DateTime timeStamp = DateTime.Now;
                card.Timestamp = timeStamp;
                Assert.IsTrue(TestInfrastructure.CompareDateTimes(timeStamp, card.Timestamp), "ICard.TimeStamp does not save the property");

                writeLM.Dispose();
            }
            TestInfrastructure.DebugLineEnd(TestContext);
        }