mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #1175] [MERGED] Fix missing resources in native pkldoc, and disable test mode #926
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1175
Author: @bioball
Created: 8/14/2025
Status: ✅ Merged
Merged: 8/21/2025
Merged by: @bioball
Base:
main← Head:pkldoc-fix📝 Commits (1)
b628bb9Fix missing resources in native pkldoc, and disable test mode📊 Changes
13 files changed (+577 additions, -186 deletions)
View changed files
➕
pkl-commons-test/src/main/kotlin/org/pkl/commons/test/Executables.kt(+85 -0)➖
pkl-commons-test/src/main/kotlin/org/pkl/commons/test/PklExecutablePaths.kt(+0 -47)📝
pkl-core/src/test/kotlin/org/pkl/core/LanguageSnippetTestsEngine.kt(+7 -7)📝
pkl-doc/pkl-doc.gradle.kts(+25 -0)📝
pkl-doc/src/main/kotlin/org/pkl/doc/Main.kt(+4 -1)📝
pkl-doc/src/test/kotlin/org/pkl/doc/CliDocGeneratorTest.kt(+20 -125)➕
pkl-doc/src/test/kotlin/org/pkl/doc/DocGeneratorTestHelper.kt(+181 -0)➕
pkl-doc/src/test/kotlin/org/pkl/doc/DocTestUtils.kt(+73 -0)➕
pkl-doc/src/test/kotlin/org/pkl/doc/JavaExecutableTest.kt(+41 -0)➕
pkl-doc/src/test/kotlin/org/pkl/doc/NativeExecutableTest.kt(+42 -0)📝
pkl-doc/src/test/kotlin/org/pkl/doc/SearchTest.kt(+4 -4)➕
pkl-doc/src/test/kotlin/org/pkl/doc/TestUtils.kt(+93 -0)📝
pkl-server/src/test/kotlin/org/pkl/server/NativeServerTest.kt(+2 -2)📄 Description
This fixes two issues:
This also adds tests for both
jpkldocandpkldoc, by running the same input/output tests ofsrc/test/files/DocGeneratorTest.Closes #1174
Closes #1176
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.