org.test4j.hamcrest.iassert.common.intf
接口 ISizedAssert<E extends IAssert>

所有已知子接口:
IArrayAssert, ICollectionAssert, IListAssert<T,E>, IMapAssert
所有已知实现类:
AllAssert, ArrayAssert, BooleanAssert, ByteAssert, CharacterAssert, CollectionAssert, ComparableAssert, DateAssert, DoubleAssert, FloatAssert, IntegerAssert, JSONAssert, ListAssert, LongAssert, MapAssert, NumberAssert, ShortAssert, SizeAssert, StringAssert

public interface ISizedAssert<E extends IAssert>


方法摘要
 E sizeBetween(int min, int max)
          want: the size of map(collection/array) item is greater than or equal to the number min, and is less than or equal to the number max.
 E sizeEq(int size)
          want: the size of map(collection/array) item is equal to the number size.
 E sizeGe(int size)
          want: the size of map(collection/array) item is greater than or equal to the number size.
 E sizeGt(int size)
          want: the size of map(collection/array) item is greater than the number size.
 E sizeIs(int size)
          want: the size of map(collection/array) item is equal to the number size.
 E sizeLe(int size)
          want: the size of map(collection/array) item is less than or equal to the number size.
 E sizeLt(int size)
          want: the size of map(collection/array) item is less than the number size.
 E sizeNe(int size)
          want: the size of map(collection/array) item isn't equal to the number size.
 

方法详细信息

sizeIs

E sizeIs(int size)
want: the size of map(collection/array) item is equal to the number size.
same as sizeEq(int)

数组长度或collection中元素个数等于期望值

参数:
size - 期望值
返回:

sizeEq

E sizeEq(int size)
want: the size of map(collection/array) item is equal to the number size.
same as sizeIs(int)

数组长度或collection中元素个数等于期望值

参数:
size - 期望值
返回:

sizeGt

E sizeGt(int size)
want: the size of map(collection/array) item is greater than the number size.

数组长度或collection中元素个数大于期望值

参数:
size - 期望值
返回:

sizeGe

E sizeGe(int size)
want: the size of map(collection/array) item is greater than or equal to the number size.

数组长度或collection中元素个数大于等于期望值

参数:
size - 期望值
返回:

sizeLt

E sizeLt(int size)
want: the size of map(collection/array) item is less than the number size.

数组长度或collection中元素个数小于期望值

参数:
size - 期望值
返回:

sizeLe

E sizeLe(int size)
want: the size of map(collection/array) item is less than or equal to the number size.

数组长度或collection中元素个数小于等于期望值

参数:
size - 期望值
返回:

sizeBetween

E sizeBetween(int min,
              int max)
want: the size of map(collection/array) item is greater than or equal to the number min, and is less than or equal to the number max.

参数:
min -
max -
返回:

sizeNe

E sizeNe(int size)
want: the size of map(collection/array) item isn't equal to the number size.

数组长度或collection中元素个数不等于期望值

参数:
size - 期望值
返回:


Copyright © 2013. All rights reserved.