Class AssertionResult.Success
java.lang.Object
cloud.opencode.base.test.assertion.AssertionResult.Success
- All Implemented Interfaces:
AssertionResult
- Enclosing interface:
AssertionResult
Success assertion result.
成功断言结果。
- Since:
- JDK 25, opencode-base-test V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface AssertionResult
AssertionResult.Failure, AssertionResult.Success -
Method Summary
-
Method Details
-
passed
public boolean passed()Description copied from interface:AssertionResultWhether the assertion passed. 断言是否通过。- Specified by:
passedin interfaceAssertionResult- Returns:
- true if passed | 如果通过返回 true
-
toString
-