package PBS references and expose paginated MCP reads
This commit is contained in:
@@ -31,7 +31,7 @@ javafx {
|
||||
}
|
||||
|
||||
// Opt-in desktop gate: real JavaFX toolkit and windows, no display required by normal unit tests.
|
||||
tasks.named<Test>("test") { exclude("**/DevDesktopTest.class") }
|
||||
tasks.named<Test>("test") { exclude("**/DevDesktopTest.class", "**/InstalledKnowledgeTest.class") }
|
||||
tasks.register<Test>("devDesktopTest") {
|
||||
group = "verification"
|
||||
description = "Runs the DEV/Debug desktop lifecycle and handoff smoke tests (requires a display)."
|
||||
@@ -41,3 +41,16 @@ tasks.register<Test>("devDesktopTest") {
|
||||
include("**/DevDesktopTest.class")
|
||||
systemProperty("java.awt.headless", "false")
|
||||
}
|
||||
|
||||
tasks.register<Test>("installedKnowledgeTest") {
|
||||
group = "verification"
|
||||
description = "Reads installed references and compiles their example in an isolated JVM outside the checkout."
|
||||
dependsOn(tasks.named("installDist"))
|
||||
testClassesDirs = sourceSets["test"].output.classesDirs
|
||||
classpath = sourceSets["test"].runtimeClasspath
|
||||
useJUnitPlatform()
|
||||
include("**/InstalledKnowledgeTest.class")
|
||||
val distribution = layout.buildDirectory.dir("install/prometeu-app")
|
||||
inputs.dir(distribution)
|
||||
systemProperty("studio.test.distribution", distribution.get().asFile.absolutePath)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user