类 BeanValidatorTest
java.lang.Object
com.publiccms.test.framework.validator.BeanValidatorTest
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
assertTrue
(Set<jakarta.validation.ConstraintViolation<CssBoxProperties>> set) (专用程序包) void
(专用程序包) void
(专用程序包) void
(专用程序包) void
(专用程序包) void
(专用程序包) void
(专用程序包) void
nullTest()
(专用程序包) void
script()
(专用程序包) void
split1()
(专用程序包) void
split2()
(专用程序包) void
split3()
private void
testValue
(CssBoxProperties bean) private void
private void
(专用程序包) void
width()
(专用程序包) void
(专用程序包) void
widthPx()
(专用程序包) void
widthRem()
-
字段详细资料
-
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
-