Uses of Interface
cloud.opencode.base.test.OpenAssert.Executable
Packages that use OpenAssert.Executable
-
Uses of OpenAssert.Executable in cloud.opencode.base.test
Methods in cloud.opencode.base.test with parameters of type OpenAssert.ExecutableModifier and TypeMethodDescriptionstatic voidOpenAssert.assertDoesNotThrow(OpenAssert.Executable executable) Asserts that executable does not throw 断言可执行对象不抛出异常static <T extends Throwable>
TOpenAssert.assertThrows(Class<T> expectedType, OpenAssert.Executable executable) Asserts that executable throws expected exception 断言可执行对象抛出预期异常static voidOpenAssert.assertTimeout(Duration timeout, OpenAssert.Executable executable) Asserts that executable completes within timeout 断言可执行对象在超时内完成