|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectext.test4j.hamcrest.BaseMatcher<T>
org.test4j.hamcrest.iassert.common.impl.Assert<T,E>
org.test4j.hamcrest.iassert.common.impl.BaseAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.ListHasItemsAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.ReflectionAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.SizeAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.ListAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.AllAssert<T,E>
org.test4j.hamcrest.iassert.common.impl.ComparableAssert<T,IDateAssert<T>>
org.test4j.hamcrest.iassert.object.impl.DateAssert<T>
public class DateAssert<T>
| 嵌套类摘要 |
|---|
| 从类 org.test4j.hamcrest.iassert.common.impl.Assert 继承的嵌套类/接口 |
|---|
Assert.AssertType |
| 字段摘要 |
|---|
| 从类 org.test4j.hamcrest.iassert.common.impl.Assert 继承的字段 |
|---|
assertClaz, link, the, type, value, valueClaz |
| 构造方法摘要 | |
|---|---|
DateAssert(Class<T> clazz)
|
|
DateAssert(T value,
Class<T> clazz)
|
|
| 方法摘要 | |
|---|---|
IDateAssert<T> |
eqByFormat(String expected)
期望日期默认格式化字符串等于expected 默认格式为: yyyy-MM-dd 或 yyyy-MM-dd hh24:mm:ss |
IDateAssert<T> |
eqByFormat(String expected,
String format)
期望日期格式化字符串等于expected |
IDateAssert<T> |
isDay(int day)
日历值的日期等于期望值 |
IDateAssert<T> |
isDay(String day)
日历值的日期等于期望值 |
IDateAssert<T> |
isEqualTo(Calendar calendar)
和calendar比较 |
IDateAssert<T> |
isEqualTo(long time)
和长整型时间比较 |
IDateAssert<T> |
isHour(int hour)
日历值的小时(24小时制)等于期望值 |
IDateAssert<T> |
isHour(String hour)
日历值的小时(24小时制)等于期望值 |
IDateAssert<T> |
isMinute(int minute)
日历值的分钟等于期望值 |
IDateAssert<T> |
isMinute(String minute)
日历值的分钟等于期望值 |
IDateAssert<T> |
isMonth(int month)
日历值的月份等于期望值 |
IDateAssert<T> |
isMonth(String month)
日历值的月份等于期望值 |
IDateAssert<T> |
isSecond(int second)
日历值的秒等于期望值 |
IDateAssert<T> |
isSecond(String second)
日历值的秒等于期望值 |
IDateAssert<T> |
isYear(int year)
日历值的年等于期望值 |
IDateAssert<T> |
isYear(String year)
日历值的年等于期望值 |
| 从类 org.test4j.hamcrest.iassert.common.impl.ComparableAssert 继承的方法 |
|---|
isBetween, isGe, isGreaterEqual, isGreaterThan, isGt, isLe, isLessEqual, isLessThan, isLt |
| 从类 org.test4j.hamcrest.iassert.common.impl.ListAssert 继承的方法 |
|---|
eqIgnoreOrder, isEqualTo, propertyEqMap, propertyMatch, reflectionEqMap, reflectionEqMap |
| 从类 org.test4j.hamcrest.iassert.common.impl.SizeAssert 继承的方法 |
|---|
sizeBetween, sizeEq, sizeGe, sizeGt, sizeIs, sizeLe, sizeLt, sizeNe |
| 从类 org.test4j.hamcrest.iassert.common.impl.ReflectionAssert 继承的方法 |
|---|
eqByReflect, eqIgnoreAll, eqIgnoreDefault, propertyEq, propertyEq, propertyEq, propertyEqMap, propertyMatch, reflectionEq, reflectionEqMap |
| 从类 org.test4j.hamcrest.iassert.common.impl.ListHasItemsAssert 继承的方法 |
|---|
allItemsMatchAll, allItemsMatchAny, anyItemsMatchAll, anyItemsMatchAny, hasAllItems, hasAnyItems, hasItems, hasItems, match |
| 从类 org.test4j.hamcrest.iassert.common.impl.BaseAssert 继承的方法 |
|---|
all, any, any, clazIs, clazIsSubFrom, eq, eqToString, eqToString, in, isEqualTo, isEqualTo, isNull, isNull, not, notAll, notAny, notEqualTo, notIn, notNull, notNull, same, toStringAssert |
| 从类 org.test4j.hamcrest.iassert.common.impl.Assert 继承的方法 |
|---|
assertThat, assertThat, describeTo, equals, getValueClaz, hashCode, matches, toString, wanted, wanted |
| 从类 ext.test4j.hamcrest.BaseMatcher 继承的方法 |
|---|
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 从接口 org.test4j.hamcrest.iassert.common.intf.IBaseAssert 继承的方法 |
|---|
all, any, any, clazIs, clazIsSubFrom, eq, eqToString, eqToString, in, isEqualTo, isEqualTo, isNull, isNull, not, notAll, notAny, notEqualTo, notIn, notNull, notNull, same |
| 从接口 org.test4j.hamcrest.iassert.common.intf.IAssert 继承的方法 |
|---|
wanted, wanted |
| 从接口 ext.test4j.hamcrest.Matcher 继承的方法 |
|---|
describeMismatch, matches |
| 从接口 ext.test4j.hamcrest.SelfDescribing 继承的方法 |
|---|
describeTo |
| 从接口 org.test4j.hamcrest.iassert.common.intf.IComparableAssert 继承的方法 |
|---|
isBetween, isGe, isGreaterEqual, isGreaterThan, isGt, isLe, isLessEqual, isLessThan, isLt |
| 从接口 org.test4j.hamcrest.iassert.common.intf.ISizedAssert 继承的方法 |
|---|
sizeBetween, sizeEq, sizeGe, sizeGt, sizeIs, sizeLe, sizeLt, sizeNe |
| 构造方法详细信息 |
|---|
public DateAssert(Class<T> clazz)
public DateAssert(T value,
Class<T> clazz)
| 方法详细信息 |
|---|
public IDateAssert<T> isYear(int year)
IDateAssert 复制的描述
IDateAssert<T> 中的 isYearyear - 期望值
public IDateAssert<T> isYear(String year)
IDateAssert 复制的描述
IDateAssert<T> 中的 isYearyear - 期望值
public IDateAssert<T> isDay(int day)
IDateAssert 复制的描述
IDateAssert<T> 中的 isDayday - 期望值
public IDateAssert<T> isDay(String day)
IDateAssert 复制的描述
IDateAssert<T> 中的 isDayday - 期望值
public IDateAssert<T> isHour(int hour)
IDateAssert 复制的描述
IDateAssert<T> 中的 isHourhour - 期望值
public IDateAssert<T> isHour(String hour)
IDateAssert 复制的描述
IDateAssert<T> 中的 isHourhour - 期望值
public IDateAssert<T> isMinute(int minute)
IDateAssert 复制的描述
IDateAssert<T> 中的 isMinuteminute - 期望值
public IDateAssert<T> isMinute(String minute)
IDateAssert 复制的描述
IDateAssert<T> 中的 isMinuteminute - 期望值
public IDateAssert<T> isMonth(int month)
IDateAssert 复制的描述
IDateAssert<T> 中的 isMonthmonth - 期望值
public IDateAssert<T> isMonth(String month)
IDateAssert 复制的描述
IDateAssert<T> 中的 isMonthmonth - 期望值
public IDateAssert<T> isSecond(int second)
IDateAssert 复制的描述
IDateAssert<T> 中的 isSecondsecond - 期望值
public IDateAssert<T> isSecond(String second)
IDateAssert 复制的描述
IDateAssert<T> 中的 isSecondsecond - 期望值
public IDateAssert<T> eqByFormat(String expected,
String format)
IDateAssert 复制的描述
IDateAssert<T> 中的 eqByFormatpublic IDateAssert<T> eqByFormat(String expected)
IDateAssert 复制的描述
IDateAssert<T> 中的 eqByFormatpublic IDateAssert<T> isEqualTo(long time)
IDateAssert 复制的描述
IDateAssert<T> 中的 isEqualTopublic IDateAssert<T> isEqualTo(Calendar calendar)
IDateAssert 复制的描述
IDateAssert<T> 中的 isEqualTo
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||