review fixes: in-suite, version bump, default children method

Fixes from subagent review:
- render-tests.lisp: added (in-suite box-suite) — tests were registered
  to default suite, never executed by runner
- dirty-tests.lisp: same fix
- cl-tui.asd: version 0.2.0 → 0.3.0
- render.lisp: component-children default method (c t) nil for
  protocol completeness (component-parent already had this)
This commit is contained in:
Hermes
2026-05-11 15:16:59 +00:00
parent b0e5c18257
commit 6ba69f4610
4 changed files with 4 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
(asdf:defsystem :cl-tui
:description "Reusable Common Lisp Terminal UI Framework"
:author "Amr Gharbeia"
:version "0.2.0"
:version "0.3.0"
:license "TBD"
:depends-on (:fiveam)
:components

View File

@@ -1,5 +1,6 @@
;; Dirty tracking tests are in box-tests.lisp (same test suite)
(in-package :cl-tui-box-test)
(in-suite box-suite)
(test dirty-mixin-default-is-dirty
"A dirty-mixin starts as dirty"

View File

@@ -1,4 +1,5 @@
(in-package :cl-tui-box-test)
(in-suite box-suite)
(defun make-capturing-backend ()
(let* ((s (make-string-output-stream))

View File

@@ -9,8 +9,7 @@
(defgeneric component-children (component)
(:documentation "Return the children of COMPONENT, or nil.")
(:method ((bx box)) nil)
(:method ((tx text)) nil))
(:method ((c t)) nil))
(defgeneric component-parent (component)
(:documentation "Return the parent of COMPONENT, or nil.")