Workplace Widget 5.10.23

This commit is contained in:
chris
2026-11-08 17:45:04 +00:00
parent 180127e2ae
commit 60d35e2326
98 changed files with 4221 additions and 268 deletions

View File

@@ -0,0 +1,20 @@
# Java 11 only. Test fixture does NOT enter production JAR.
$ErrorActionPreference = 'Stop'
$root = (Resolve-Path (Join-Path $PSScriptRoot '..')).Path
$tmp = Join-Path ([System.IO.Path]::GetTempPath()) ('ww-login-hotfix-' + [guid]::NewGuid().ToString('N'))
New-Item -ItemType Directory -Path $tmp | Out-Null
try {
& javac --release 11 -d $tmp `
(Join-Path $root 'hmi-docs/cheerpj/WorkplaceResizeBridge.java') `
(Join-Path $root 'hmi-docs/cheerpj/WindowGeometrySmoke.java') `
(Join-Path $root 'hmi-docs/cheerpj/WorkplaceLoginHotfixSmoke.java') `
(Join-Path $root 'hmi-scripts/tests/fixtures/MesLoginDialog.java')
if ($LASTEXITCODE -ne 0) { throw 'Java-11 compilation failed' }
& java -cp $tmp com.widgetworkbench.cheerpj.WindowGeometrySmoke
if ($LASTEXITCODE -ne 0) { throw 'Geometry test failed' }
& java -cp $tmp com.widgetworkbench.cheerpj.WorkplaceLoginHotfixSmoke
if ($LASTEXITCODE -ne 0) { throw 'Login test failed' }
Write-Host 'HOTFIX_V5_10_22_JAVA11_PASS'
} finally {
Remove-Item $tmp -Recurse -Force -ErrorAction SilentlyContinue
}