mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Fix missing resources in native pkldoc, and disable test mode (#1175)
This fixes two issues: 1. Test mode is enabled in pkldoc without the ability to turn it off 2. Native pkldoc is missing required resources This also adds tests for both `jpkldoc` and `pkldoc`.
This commit is contained in:
@@ -17,7 +17,7 @@ package org.pkl.server
|
||||
|
||||
import org.junit.jupiter.api.AfterEach
|
||||
import org.junit.jupiter.api.BeforeEach
|
||||
import org.pkl.commons.test.PklExecutablePaths
|
||||
import org.pkl.commons.test.Executables
|
||||
import org.pkl.core.messaging.MessageTransports
|
||||
|
||||
class NativeServerTest : AbstractServerTest() {
|
||||
@@ -26,7 +26,7 @@ class NativeServerTest : AbstractServerTest() {
|
||||
|
||||
@BeforeEach
|
||||
fun beforeEach() {
|
||||
val executable = PklExecutablePaths.firstExisting.toString()
|
||||
val executable = Executables.pkl.firstExistingNative.toString()
|
||||
server = ProcessBuilder(executable, "server").start()
|
||||
client =
|
||||
TestTransport(
|
||||
|
||||
Reference in New Issue
Block a user