murano/murano/tests/unit/dsl/meta
Stan Lagun dcbf5e1899 Raise exception on call of method of destroyed object
In theory using destruction dependencies one can obtain a new
reference to an object that is about to be destroyed. In this
case any attempt to call a method on such object should result
in exception being raised. This guarantees that the nothing can
be done on the object after its .destroy method was executed.

Also because the HeatStack instance is owned by the CloudRegion
it is going to be destroyed prior to it. But CloudRegion needs
to call $stack.delete() in its .destroy method and this will cause
error. As a solution HeatStack made not to be owned by the
region and instead be an independent object with destruction
dependency on it which guarantees that it will be destroyed
after the CloudRegion.

Targets-blueprint: dependency-driven-resource-deallocation
Change-Id: I5650ea672d5f121be69669f27dd5f513fbdd5c44
2016-09-14 03:44:36 +00:00
..
AgentListenerTests.yaml Respect per region RabbitMQ configs in Agent[Listener] 2016-07-29 05:12:24 +00:00
CommonParent.yaml New framework for contracts 2016-08-29 17:14:03 +00:00
ConcurrencyTest.yaml Concurrent Execution Control 2016-07-28 19:24:50 +03:00
ConfigProperties.yaml Adds per-class configs 2014-12-17 00:48:51 +03:00
ContractExamples.yaml New framework for contracts 2016-08-29 17:14:03 +00:00
CreatedClass1.yaml Migration to yaql 1.0 2015-08-25 16:08:08 +03:00
CreatedClass2.yaml Migration to yaql 1.0 2015-08-25 16:08:08 +03:00
CreatingClass.yaml Alive objects from Objects and ObjectsCopy were merged 2016-08-29 20:39:10 +00:00
DerivedFrom2Classes.yaml New framework for contracts 2016-08-29 17:14:03 +00:00
ExceptionHandling.yaml Move and rename functional tests 2014-07-29 22:29:27 +04:00
MacroExamples.yaml Makes conditional expressions consistent with yaql 1.0 2015-10-09 23:35:00 +03:00
Node.yaml Alive objects from Objects and ObjectsCopy were merged 2016-08-29 20:39:10 +00:00
ParentClass1.yaml New framework for contracts 2016-08-29 17:14:03 +00:00
ParentClass2.yaml New framework for contracts 2016-08-29 17:14:03 +00:00
PropertyInit.yaml Runtime properties may no longer have default value 2014-09-25 16:47:50 +04:00
SampleClass1.yaml Migration to yaql 1.0 2015-08-25 16:08:08 +03:00
SampleClass2.yaml Fixes action result serialization 2015-03-24 16:31:18 +03:00
SampleClass3.yaml Move and rename functional tests 2014-07-29 22:29:27 +04:00
SingleInheritanceChild.yaml Number of yaql functions caused AmbiguousFunctionException 2015-10-01 11:48:56 +03:00
SingleInheritanceParent.yaml Move and rename functional tests 2014-07-29 22:29:27 +04:00
TestCall.yaml Added a muranoPL-specific override of 'call' 2016-06-23 18:19:30 +03:00
TestDump.yaml dump() function added to DSL 2016-07-28 18:45:38 +03:00
TestEngineFunctions.yaml Include objects created with new() into the ObjectStore 2016-06-30 17:50:46 +03:00
TestExtensionMethods.yaml Extension methods were introduced to MuranoPL 2016-03-03 15:01:30 +00:00
TestFindClass.yaml Do not use stevedore namespase as a prefix for class FQNs 2016-07-05 11:09:56 +03:00
TestGC.yaml Raise exception on call of method of destroyed object 2016-09-14 03:44:36 +00:00
TestLogger.yaml Support for Unicode strings in MuranoPL was fixed 2015-09-15 02:21:54 +03:00
TestMeta.yaml Meta values evaluation was fixed 2016-03-10 15:52:06 +03:00
TestMethodParamInheritance.yaml Incorrect Method param inheritance was fixed 2016-04-25 20:50:14 +00:00
TestObjectsCopyMerge.yaml Alive objects from Objects and ObjectsCopy were merged 2016-08-29 20:39:10 +00:00
TestReflection.yaml Operations on reflected entities 2016-02-20 01:49:39 +03:00
TestSchema.yaml template() contract function was introduced 2016-08-11 21:53:05 -07:00
TestStatics.yaml On-demand garbage collection 2016-09-14 03:43:09 +00:00
TestUnicode.yaml Support for Unicode strings in MuranoPL was fixed 2015-09-15 02:21:54 +03:00
TestVarKwArgs.yaml Support for *args/**kwargs was added to the MuranoPL 2016-04-26 14:46:06 +00:00