You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment CreekTestExtension has a single initialize(api) method.
A new instance of the test extension is created and this method called:
once on system test start up to determine the set of model extensions that test extension adds. Other api calls are ignored.
once per test suite to initialise the extension for the test suite. Ideally, changes to the model should not be allowed here.
This should be split into two separate calls, taking different apis.
The first initialize call should take an api that allows the model to be setup. This method should return some kind of InitalizedExtension
the second call, e.g. InitializedExtension.setup(api) should take a different api, which has an immutable model, but allows listeners to be added, creek extensions to be created, etc.
The text was updated successfully, but these errors were encountered:
At the moment
CreekTestExtension
has a singleinitialize(api)
method.A new instance of the test extension is created and this method called:
This should be split into two separate calls, taking different apis.
initialize
call should take an api that allows the model to be setup. This method should return some kind of InitalizedExtensionInitializedExtension.setup(api)
should take a different api, which has an immutable model, but allows listeners to be added, creek extensions to be created, etc.The text was updated successfully, but these errors were encountered: