Esempio n. 1
0
        public bool check_file_renaming( string input_file_name, System.DateTime input_file_lastmod, string expected_out_name, System.DateTime expected_out_lastmod)
        {
            UT.Assert.IsNotNull(input_file_name);
            Stamper stamper = new Stamper();

            string actual_out_name = null;
            System.DateTime actual_out_lastmod;
            stamper.GetRenameInfo(input_file_name, input_file_lastmod, out actual_out_name, out actual_out_lastmod);

            UT.Assert.AreEqual(expected_out_name, actual_out_name);
            UT.Assert.AreEqual(expected_out_lastmod, actual_out_lastmod);

            return true;
        }