Fix test build after NewLogic signature change; add development plan draft

NewLogic now takes (FileSystem, path, openfunc); update the e2e harness
and editor tests accordingly. The harness uses a no-op openfunc, matching
impl_other.go (the real app's OpenFile is a platform bridge, no-op off
Android).

Also adds doc/development_plan.md (draft, with corrections note re: the
live repo state).
This commit is contained in:
gmp
2026-08-15 22:18:04 -04:00
parent 4052769813
commit 03fb63863c
5 changed files with 286 additions and 6 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ type HarnessOption func(*Harness)
// NewHarness creates a test harness with the given options.
func NewHarness(opts ...HarnessOption) *Harness {
h := &Harness{
logic: editor.NewLogic(nil),
logic: editor.NewLogic(nil, "/", func(string) {}), // no-op openfunc (matches impl_other.go)
capture: NewFrameCapture(),
frameReceiverDone: make(chan struct{}),
}