Skip to content

Commit e19e01f

Browse files
committed
Fix UT errors
1 parent 9b8801f commit e19e01f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Build4D_UnitTests/Project/Sources/Methods/onError.4dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//%attributes = {}
22
var $log : Object
3-
$log:=New object("severity"; Error message; "callChain"; Get call chain; "errorCode"; Error; "errorMethod"; Error method; "errorLine"; Error line; "errorFormula"; Error formula)
3+
$log:=New object("severity"; Error message; "callChain"; Call chain; "errorCode"; Error; "errorMethod"; Error method; "errorLine"; Error line; "errorFormula"; Error formula)
44

55
If ($log.errorCode=-10518) // Assertion failure
66
LOG EVENT(Into system standard outputs; "::error ::"+JSON Stringify($log)+"\n"; Error message) // GitHub Actions message

Build4D_UnitTests/Project/Sources/Methods/onStartup.4dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If (Count parameters=0) // Execute code in a new worker
1010
Use (Storage.settings)
1111
Storage.settings.rootFolder:=Folder(Folder(fk database folder; *).platformPath; fk platform path)
1212
Storage.settings.projectName:=File(Structure file(*); fk platform path).name
13-
Storage.settings.userInterface:=Not(Get application info.headless)
13+
Storage.settings.userInterface:=Not(Application info.headless)
1414
Storage.settings.externalProjectRootFolder:=Storage.settings.rootFolder.folder("Build4D_External")
1515
Storage.settings.externalProjectName:="Build4D_External"
1616
Storage.settings.externalProjectFile:=Storage.settings.externalProjectRootFolder.file("Project/Build4D_External.4DProject")

Build4D_UnitTests/Project/Sources/Methods/ut_5_R2015_TC2708.4dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//%attributes = {"invisible":true}
22
// Test the Client application
3-
var $build : cs.Build4D.CompiledProject
3+
var $build : cs.Build4D.Client
44
var $settings : Object
55
var $success : Boolean
66
var $destinationFolder : 4D.Folder

0 commit comments

Comments
 (0)