feat: implement swiper slider, tabbed livestream, and table extension plugins with schema updates for settings content

This commit is contained in:
2026-07-25 18:26:29 +07:00
parent 0eb7bd5863
commit 54e420499f
374 changed files with 16434 additions and 495 deletions
@@ -0,0 +1,34 @@
package com.sisvietnamvn.web;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.thymeleaf.TemplateEngine;
import org.thymeleaf.context.Context;
import java.util.ArrayList;
import java.util.List;
@SpringBootTest(properties = {"spring.liquibase.enabled=false", "spring.datasource.url=jdbc:h2:mem:testdb"})
public class ThymeleafParseTest {
@Autowired
private TemplateEngine templateEngine;
@Test
public void testParse() {
try {
Context ctx = new Context();
List<String> allTables = new ArrayList<>();
allTables.add("testTable");
ctx.setVariable("allTables", allTables);
ctx.setVariable("activeTables", new ArrayList<>());
String result = templateEngine.process("manage/plugins/table-extension-settings", ctx);
System.out.println("TEMPLATE COMPILED SUCCESSFULLY");
} catch (Exception e) {
e.printStackTrace();
throw e;
}
}
}