murano/murano/tests/unit/dsl/meta/PropertyInit.yaml

44 lines
1.1 KiB
YAML

Name: PropertyInit
Properties:
runtimePropertyWithoutDefault:
Usage: Runtime
Contract: $.string()
runtimePropertyWithStrictContractWithoutDefault:
Usage: Runtime
Contract: $.string().notNull()
runtimeProperty2WithStrictContractWithoutDefault:
Usage: Runtime
Contract: $.string().notNull()
agentListener:
Contract: $.class('io.murano.system.AgentListener')
runtimePropertyWithStrictContractAndDefault:
Usage: Runtime
Contract: $.string().notNull()
Default: DEFAULT
Methods:
initialize:
Body:
$.runtimePropertyWithStrictContractWithoutDefault: VALUE
testRuntimePropertyWithoutDefault:
Body:
- Return: $this.runtimePropertyWithoutDefault
testRuntimePropertyDefault:
Body:
- Return: $this.runtimePropertyWithStrictContractAndDefault
testRuntimePropertyWithStrictContractWithoutDefault:
Body:
- Return: $this.runtimePropertyWithStrictContractWithoutDefault
testUninitializedRuntimeProperty:
Body:
- Return: $this.runtimeProperty2WithStrictContractWithoutDefault