
Now, functional tests would be located in murano/tests folder Group all unit tests to the corresponding folder under tests Run only unit tests in Opentack gate Change-Id: I5ebea265fd7cdef7e77a47eedae40d23f91638d0 Partly-Closes-Bug: #1349383
36 lines
857 B
YAML
36 lines
857 B
YAML
Name: SampleClass3
|
|
|
|
Properties:
|
|
multiClassProperty:
|
|
Contract: $.class(ParentClass1).class(ParentClass2)
|
|
|
|
Methods:
|
|
testMultiContract:
|
|
Body:
|
|
- $.multiClassProperty.method1()
|
|
- $.multiClassProperty.method2()
|
|
|
|
testPropertyAccessibleOnSeveralPaths:
|
|
Body:
|
|
Return: $.multiClassProperty.rootProperty
|
|
|
|
testPrivateProperty:
|
|
Body:
|
|
- $.privateName: 'SampleClass3'
|
|
- $.multiClassProperty.setPrivatePropertyChain()
|
|
- trace($.privateName)
|
|
|
|
testUninitializedPrivatePropertyAccess:
|
|
Body:
|
|
Return: $.privateName
|
|
|
|
testReadOfPrivatePropertyOfOtherClass:
|
|
Body:
|
|
- $.multiClassProperty.setPrivateProperty()
|
|
- trace('accessing property')
|
|
- Return: $.multiClassProperty.privateProperty
|
|
|
|
testWriteOfPrivatePropertyOfOtherClass:
|
|
Body:
|
|
$.multiClassProperty.privateProperty: 123
|