deb-murano/murano/tests/unit/dsl/meta/SampleClass3.yaml
Ekaterina Fedorova 26f486cc1d Move and rename functional tests
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
2014-07-29 22:29:27 +04:00

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