Actions of app.ducx Unit Test (FSCDUCXUNIT@1.1001)

ReferenceName
FSCDUCXUNIT@1.1001:AddToTestSession
FSCDUCXUNIT@1.1001:Cleanup
FSCDUCXUNIT@1.1001:CreateMailbox
FSCDUCXUNIT@1.1001:CreateTestGroup
FSCDUCXUNIT@1.1001:CreateTestUser
FSCDUCXUNIT@1.1001:FindSession
FSCDUCXUNIT@1.1001:GetJSONFormat
FSCDUCXUNIT@1.1001:GetTestDataContent
FSCDUCXUNIT@1.1001:GetTestSession
FSCDUCXUNIT@1.1001:GetTestSystemType
FSCDUCXUNIT@1.1001:InitTestUser
FSCDUCXUNIT@1.1001:SwitchToUser
FSCDUCXUNIT@1.1001:TagsFromSoftwareComponents
FSCDUCXUNIT@1.1001:TestHttpRequest

FSCDUCXUNIT@1.1001:AddToTestSession

Add the object to the given session to ensure cleanup at the end of the session
ParameterTypeIn/OutOptionalDescription
sessionidCOOSYSTEM@1.1:STRINGintrue id of the current test session
skipinitCOOSYSTEM@1.1:BOOLEANintrue skip initialization for this object

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:Cleanup

Delete object in test context.

This action might be implemented or wrapped to ensure proper cleanup after a test session.
ParameterTypeIn/OutOptionalDescription
localscopeCOOSYSTEM@1.1:DICTIONARYin/outtrue the local scope dictionary

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:CreateMailbox

Create a new LDAP user with initial values
ParameterTypeIn/OutOptionalDescription
initdataFSCDUCXUNIT@1.1001:CreateUserDatain initial values
sessionidCOOSYSTEM@1.1:STRINGintrue current session
newmailboxFSCDUCXUNIT@1.1001:MailboxInforetval created mail box

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:CreateTestGroup

Create a new group with initial values
ParameterTypeIn/OutOptionalDescription
initdataFSCDUCXUNIT@1.1001:CreateGroupDatain initial values
sessionidCOOSYSTEM@1.1:STRINGintrue current session
newobjectCOOSYSTEM@1.1:OBJECTretval in/out created object

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:CreateTestUser

Create a new user with initial values
ParameterTypeIn/OutOptionalDescription
initdataFSCDUCXUNIT@1.1001:CreateUserDatain initial values
sessionidCOOSYSTEM@1.1:STRINGintrue current session
newobjectCOOSYSTEM@1.1:OBJECTretval in/out created object

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:FindSession

Search for test session with given sessionid.
ParameterTypeIn/OutOptionalDescription
sessionidCOOSYSTEM@1.1:STRINGin id of the current test session
sessionCOOSYSTEM@1.1:OBJECTretval

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Private: true


[top]

FSCDUCXUNIT@1.1001:GetJSONFormat

Returns the format for JSON objects
ParameterTypeIn/OutOptionalDescription
formatsFSCEXPEXT@1.1001:JSONStructFormatretval in/out

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:GetTestDataContent

Retrieve test @data from unit test, specified by @key
ParameterTypeIn/OutOptionalDescription
keyCOOSYSTEM@1.1:STRINGin key of the test data entry
dataCOOSYSTEM@1.1:CONTENTretval test data

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:GetTestSession

get the current test session in a new expression context
ParameterTypeIn/OutOptionalDescription
sessionidCOOSYSTEM@1.1:STRINGintrue id of the current test session
sessionCOOSYSTEM@1.1:OBJECTretval the current test session

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:GetTestSystemType

Returns the type of test system of the current domain. The type may be defined by property FSCDUCXUNIT@1.1001:domaintestsystemtype of the current domain. If this property is not set the action will determine the type by evaluating COOSYSTEM@1.1:domaintestsystem
ParameterTypeIn/OutOptionalDescription
testsystemtypeFSCDUCXUNIT@1.1001:TestSystemTyperetval The test system type configured for the current domain. @see COOSYSTEM@1.1:CurrentDomain @see FSCDUCXUNIT@1.1001:domaintestsystemtype @see COOSYSTEM@1.1:domaintestsystem

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:InitTestUser

Initialize a test user in the context of the test user
ParameterTypeIn/OutOptionalDescription
sessionidCOOSYSTEM@1.1:STRINGin current session

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:SwitchToUser

Set the current user context to the specified user.

Note: This action requires an empty transaction.
Note: This action could take same time if the user has never logged in before.
ParameterTypeIn/OutOptionalDescription
addressorlognameintrue object address or login name of the new user
forceabortCOOSYSTEM@1.1:BOOLEANintrue the current transaction is aborted even if it is not empty. Needed for cleanup usecases.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:TagsFromSoftwareComponents

Calculate tags from software components
ParameterTypeIn/OutOptionalDescription
componentsCOOSYSTEM@1.1:STRINGLISTin to calculate tags
tagsCOOSYSTEM@1.1:STRINGLISTretval resulting tags
jsonCOOSYSTEM@1.1:STRINGintrue optional JSON with mapping format FSCDUCXUNIT@1.1001:TestTagMap to override stored values

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

FSCDUCXUNIT@1.1001:TestHttpRequest

Test a rest web service call either by simulation or by really calling the web service
ParameterTypeIn/OutOptionalDescription
verbCOOSYSTEM@1.1:STRINGin HTTP Method (PUT, GET, ...)
urlCOOSYSTEM@1.1:STRINGin relative URL for the web service
inheadersCOOSYSTEM@1.1:DICTIONARYin input header lines
inbodyCOOSYSTEM@1.1:CONTENTin input content
outheadersCOOSYSTEM@1.1:DICTIONARYout output header lines
outcontentCOOSYSTEM@1.1:CONTENTout output content
httpstatusCOOSYSTEM@1.1:INTEGERretval result status of the web service

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]