fluid-project/infusion — pull request #267 by amb26 (2013-03-09 11:02:19+00:00)
Title: FLUID 4929 - Unable to write IoC test fixtures against events that are fired automatically with component creation

http://issues.fluidproject.org/browse/FLUID-4929

[FLUID-4929 20421b0] FLUID-4929: Implemented capability to bind IoC Testing fixtures to events which fire synchronously as part of a component's construction, by means of
i) support for Luke Skywalker references to the target component,
ii) improved framework support for cross-injection of "createOnEvent" specifications,
iii) a new event fired by every TestCaseHolder named "onTestCaseStart".

Took the opportunity to clean up the "activity" system without which this kind of issue is hard to debug - wrote a "standard activity record renderer" which essentially restores the kinds of "activity traces" that we would get before we had the big refactoring accompanying FLUID-4330. This will also be of use in the "Greeking and Scrobbling" system underway for visualising IoC activities. Restored the "fluid.browser" context tag which had been destroyed during the FLUID-4913 work as being apparently "redundant" when in fact it was the only tag of this type. This was causing the special QUnit-browser-directed UI provided by IOCTestUtils to not appear.