test(cpp): placeholders para top-19 primitivos UI (logica visual en 0048)

Cada placeholder garantiza que el .cpp compila y linka contra Catch2,
y reserva el slot para tests futuros una vez se extraiga logica pura
del componente. La validacion visual real vive en primitives_gallery
(issue 0048).

Cubre: tokens, button, select, text_input, badge, kpi_card, pie_chart,
bar_chart, tree_view, modal_dialog, toolbar, toast, empty_state,
page_header, dashboard_panel, dashboard_grid, sparkline, table_view,
icon_button.
This commit is contained in:
2026-04-28 23:42:29 +02:00
parent f858f3a9fc
commit 715074c2e8
19 changed files with 266 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
// Placeholder test para select — el componente requiere contexto ImGui activo
// para validar comportamiento real (rendering, hit-testing, eventos). La
// validacion visual se cubre en primitives_gallery (issue 0048).
//
// Este test garantiza que el .cpp compila contra Catch2 y reserva el slot
// para futuros tests de logica pura que se extraigan del componente.
#define CATCH_CONFIG_MAIN
#include "catch_amalgamated.hpp"
TEST_CASE("select: compiles and links against Catch2", "[select][placeholder]") {
INFO("Visual / behavioural test pending — see primitives_gallery (issue 0048).");
REQUIRE(true);
}