Hi,
i am currently changing my program to use the Actipro docking framework.
I managed to change everything but now some of my adapted unit tests are failing.
I have a code like the following to create the docksite used in the test and to load the saved layout:
Dim dmMain As New DockSite()
dmMain.Name = DockingSiteTools.DockSiteNameMain
DockingSiteTools.Instance.InitializePanelsProvider(dmMain)
In our code the InitializePanelsProvider basicly loads the docksite with the saved layout of a config.
During the test, after layout initilization, the dmMain.ToolWindows contains no toolwindow even if the loaded layout contains some.
Please note that the docksite is only created during the unit test and is therefore never really loaded inside a real window. Im wondering if this is the case of the issue.
Maybe some internal code is blocking the loading of the layout because it is not yet "loaded"?
If i perform the steps coded in the unit test in the real application, everything behaves properly.
Thanks,
Eric