org.test4j.hamcrest.matcher.calendar
类 DateFormatMatcher

java.lang.Object
  继承者 ext.test4j.hamcrest.BaseMatcher
      继承者 org.test4j.hamcrest.matcher.calendar.DateFormatMatcher
所有已实现的接口:
Matcher, SelfDescribing

public class DateFormatMatcher
extends BaseMatcher

Calendar或Date的格式化值等于期望值断言器

作者:
darui.wudr

构造方法摘要
DateFormatMatcher(SimpleDateFormat format, String date)
           
DateFormatMatcher(String format, String date)
           
 
方法摘要
 void describeTo(Description description)
           
 boolean matches(Object actual)
           
 
从类 ext.test4j.hamcrest.BaseMatcher 继承的方法
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

DateFormatMatcher

public DateFormatMatcher(String format,
                         String date)

DateFormatMatcher

public DateFormatMatcher(SimpleDateFormat format,
                         String date)
方法详细信息

matches

public boolean matches(Object actual)

describeTo

public void describeTo(Description description)


Copyright © 2013. All rights reserved.