类 BeanValidatorTest
java.lang.Object
com.publiccms.test.framework.validator.BeanValidatorTest
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private voidassertTrue(Set<jakarta.validation.ConstraintViolation<CssBoxProperties>> set) (专用程序包) void(专用程序包) void(专用程序包) void(专用程序包) void(专用程序包) void(专用程序包) void(专用程序包) voidnullTest()(专用程序包) voidscript()(专用程序包) voidsplit1()(专用程序包) voidsplit2()(专用程序包) voidsplit3()private voidtestValue(CssBoxProperties bean) private voidprivate void(专用程序包) voidwidth()(专用程序包) void(专用程序包) voidwidthPx()(专用程序包) voidwidthRem()
-
字段详细资料
-
log
protected final org.apache.commons.logging.Log log -
validator
private static jakarta.validation.Validator validator
-
-
构造器详细资料
-
BeanValidatorTest
BeanValidatorTest()
-
-
方法详细资料
-
nullTest
@Test @DisplayName("null test case") void nullTest() -
widthPx
@Test @DisplayName("px test case") void widthPx() -
widthPercent
@Test @DisplayName("percent test case") void widthPercent() -
widthRem
@Test @DisplayName("rem test case") void widthRem() -
colorHex1
@Test @DisplayName("hex color test case") void colorHex1() -
script
@Test @DisplayName("script test case") void script() -
split1
@Test @DisplayName("- test case") void split1() -
split2
@Test @DisplayName(", test case") void split2() -
split3
@Test @DisplayName("empty string test case") void split3() -
colorName
@Test @DisplayName("named color test case") void colorName() -
colorHex2
@Test @DisplayName("hex color test case") void colorHex2() -
colorHex3
@Test @DisplayName("hex color test case") void colorHex3() -
colorRgb1
@Test @DisplayName("hex color test case") void colorRgb1() -
colorRgba
@Test @DisplayName("hex color test case") void colorRgba() -
width
@Test @DisplayName("hex color test case") void width() -
testValue
-
testValue
-
testValue
-
assertTrue
-