tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/3202-writing-unit-tests-for-flex-4-appproblems-testing-with-skinsRobotlegs: Discussion 2013-08-17T10:52:50Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/277474982013-07-21T15:07:41Z2013-07-21T15:07:41ZWriting unit tests for Flex 4 app..problems testing with skins<div><p>Hello. So you're first issue (1) doesn't seem to really be a
problem, just a compiler warning.</p>
<p>The second issue is because of that
<code>view.parent.label</code> reference. This is very bad, and you
should really try and rearrange your code so that the mediator is
not digging around through the Display List like that. Your
mediator is currently interacting with things outside of the scope
of your view (it is digging up via <code>parent</code>), which is
very fragile.</p></div>Shaun Smith