예제 #1
0
        public void TestsetDateFormatStr01()
        {
            DateTimeFormatter dateTimeFormatter = DateTimeFormatterFactory.CreateDateTimeFormatter01();
            string            formatStr         = "DD-MM-YY";

            //Test Procedure Call
            dateTimeFormatter.setDateFormatStr(formatStr);
            //Post condition Check
            Accessor dateTimeFormatteraccessor = ReflectionAccessor.Wrap(dateTimeFormatter);

            Assert.AreEqual(formatStr, dateTimeFormatteraccessor.GetField("m_DateFormatStr"));
        }
예제 #2
0
 public void TestDateTimeFormatterConstructor01()
 {
     DateTimeFormatter dateTimeFormatter = DateTimeFormatterFactory.CreateDateTimeFormatter01();
 }