Exemplo n.º 1
0
        public void DeleteByPkTest()
        {
            #region arrange
            bool     expected = true;
            string[] log_args = new string[4] {
                "UseDevelopmentStorage=true",
                "TestTable",
                "LogName",
                "internal_id"
            };
            string partitionKey = "MyTestTable";
            string rowKey       = "2518152482955735696";
            #endregion

            #region act
            TableStorageLog TSlog  = new TableStorageLog(log_args);
            bool            actual = TSlog.UnTrack(partitionKey, rowKey);
            #endregion

            #region assert
            Assert.AreEqual(expected, actual);
            #endregion
        }