29 lines
798 B
Markdown
29 lines
798 B
Markdown
---
|
|
name: text_editor_smoke
|
|
lang: cpp
|
|
domain: tools
|
|
description: "Smoke test CLI (sin GUI) que valida los wrappers PIMPL de text_editor y file_watcher (inotify Linux / ReadDirectoryChangesW Win). No abre ventana ImGui — solo crea/settea texto/lee/poll/destruye."
|
|
tags: [cpp, smoke, test, cli]
|
|
uses_functions:
|
|
- text_editor_cpp_core
|
|
- file_watcher_cpp_core
|
|
uses_types: []
|
|
framework: "cli"
|
|
entry_point: "main.cpp"
|
|
dir_path: "cpp/apps/text_editor_smoke"
|
|
repo_url: ""
|
|
---
|
|
|
|
# text_editor_smoke
|
|
|
|
Smoke test que verifica las APIs de `text_editor` y `file_watcher` linkean correctamente. Sin ventana ImGui.
|
|
|
|
## Build & run
|
|
|
|
```bash
|
|
cd cpp && cmake --build build --target text_editor_smoke -j
|
|
./build/text_editor_smoke
|
|
```
|
|
|
|
Salida esperada: log con bytes leidos del editor + eventos del file_watcher.
|