File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/services/framework Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,14 @@ abstract class TestFrameworkManager(val context: CgContext)
203203
204204 abstract fun passArgumentsToArgsVariable (argsVariable : CgVariable , argsArray : CgVariable , executionIndex : Int )
205205
206- open fun expectTimeout (timeoutMs : Long , block : () -> Unit ) {}
206+ /* *
207+ * Most frameworks don't have special timeout assertion, so only tested
208+ * method call is generated, while timeout is set using
209+ * [timeout argument][timeoutArgumentName] of the test annotation
210+ *
211+ * @see setTestExecutionTimeout
212+ */
213+ open fun expectTimeout (timeoutMs : Long , block : () -> Unit ): Unit = block()
207214
208215 open fun setTestExecutionTimeout (timeoutMs : Long ) {
209216 val timeout = CgNamedAnnotationArgument (
You can’t perform that action at this time.
0 commit comments