From b4094ede4437ab6a59b254546a2e57eaef2eb83d Mon Sep 17 00:00:00 2001 From: wyc <1104749580@qq.com> Date: Sat, 15 Aug 2026 16:39:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=89=8D=E7=AB=AF=E5=8D=95?= =?UTF-8?q?=E7=8B=AC=E7=9A=843D=20=E5=88=86=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_server/app/Gallery_Protocol.cpp | 2 +- web_server/tests/Datoviz_Gallery_Tests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_server/app/Gallery_Protocol.cpp b/web_server/app/Gallery_Protocol.cpp index a81c10b..2b0e756 100644 --- a/web_server/app/Gallery_Protocol.cpp +++ b/web_server/app/Gallery_Protocol.cpp @@ -54,7 +54,7 @@ const std::vector& cases() { "鼠标框选、多区域保留、标注样式和清空。", 70}, {"constellation", "星座图", "Constellation_Diagram", "点图控件", "PSK4/PSK8/PSK16 模式、相位、寿命、坐标范围和方形拟合。", 80}, - {"datoviz_3d", "Datoviz Visuals", "Point_Visual", "3D", + {"datoviz_3d", "Datoviz Visuals", "Point_Visual", "Datoviz Visuals", "Renderive 3D Renderable、双缓冲实时数据与 Datoviz Vulkan 后端。", 90}, {"datoviz_splat", "Splat", "Splat_Visual", "Datoviz Visuals", "各向异性高斯 splat。", 91}, {"datoviz_pixel", "Pixel", "Pixel_Visual", "Datoviz Visuals", "屏幕空间像素。", 92}, diff --git a/web_server/tests/Datoviz_Gallery_Tests.cpp b/web_server/tests/Datoviz_Gallery_Tests.cpp index 47c8b89..79fd875 100644 --- a/web_server/tests/Datoviz_Gallery_Tests.cpp +++ b/web_server/tests/Datoviz_Gallery_Tests.cpp @@ -197,7 +197,7 @@ TEST(RenderiveWebDatovizGallery, CatalogUsesOnlyThreeDimensionalActions) { catalog.at("cases").begin(), catalog.at("cases").end(), [](const nlohmann::json& value) { return value.at("id") == "datoviz_3d"; }); ASSERT_NE(item, catalog.at("cases").end()); - EXPECT_EQ(item->at("category"), "3D"); + EXPECT_EQ(item->at("category"), "Datoviz Visuals"); EXPECT_EQ(item->at("control_count"), 0); EXPECT_EQ(item->at("control_count_by_mode").at("manual"), 0); EXPECT_EQ(item->at("control_count_by_mode").at("low_latency"), 0);