Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
import static org.assertj.core.api.Assertions.assertThat;

/**
* Architectural guard that keeps PDFBox out of the canonical document API and
* non-PDF fixed-layout contracts.
* Architectural guard that keeps PDFBox out of the canonical document API, the
* layered template surface, and non-PDF fixed-layout contracts. Templates
* compose against the canonical DSL and must stay backend-neutral, so a preset
* or component that reached for a PDFBox type would fail here.
*/
class PdfBackendIsolationGuardTest {

Expand All @@ -34,6 +36,7 @@ class PdfBackendIsolationGuardTest {
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/document/image"),
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/document/layout"),
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/document/snapshot"),
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/document/templates"),
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/document/backend/fixed"));

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class PublicApiNoEngineLeakTest {
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/document/snapshot"),
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/document/exceptions"),
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/document/emoji"),
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/document/templates"),
PROJECT_ROOT.resolve("src/main/java/com/demcha/compose/font"));

/**
Expand Down
Loading