Generate Java code to run the specified tests.
(atj-gen-run-tests tests$) → block
This is generated only if the
This is a sequence of calls to the methods generated by atj-gen-test-methods. These calls are part of the main method of the test Java class.
Function:
(defun atj-gen-run-tests (tests$) (declare (xargs :guard (atj-test-listp tests$))) (let ((__function__ 'atj-gen-run-tests)) (declare (ignorable __function__)) (if (endp tests$) nil (b* ((method-name (atj-gen-test-method-name (atj-test->name (car tests$)))) (first-block (jblock-method method-name (list (jexpr-name "n")))) (rest-block (atj-gen-run-tests (cdr tests$)))) (append first-block rest-block)))))
Theorem:
(defthm jblockp-of-atj-gen-run-tests (b* ((block (atj-gen-run-tests tests$))) (jblockp block)) :rule-classes :rewrite)