File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
source/AutomationTest/Xceed.Wpf.AvalonDock.Test Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 12
12
public class LayoutAnchorableFloatingWindowControlTest : AutomationTestBase
13
13
{
14
14
[ TestMethod ]
15
- public void CloseWithHiddenFloatingWindowsTest ( )
15
+ public async Task CloseWithHiddenFloatingWindowsTest ( )
16
16
{
17
- TestHost . SwitchToAppThread ( ) ;
18
- Task < LayoutAnchorableFloatingWindowControlTestWindow > taskResult = WindowHelpers . CreateInvisibleWindowAsync < LayoutAnchorableFloatingWindowControlTestWindow > ( ) ;
19
- taskResult . Wait ( ) ;
20
-
21
- LayoutAnchorableFloatingWindowControlTestWindow window = taskResult . Result ;
17
+ LayoutAnchorableFloatingWindowControlTestWindow window = await WindowHelpers . CreateInvisibleWindowAsync < LayoutAnchorableFloatingWindowControlTestWindow > ( ) ;
22
18
window . Window1 . Float ( ) ;
23
19
Assert . IsTrue ( window . Window1 . IsFloating ) ;
24
20
var layoutSerializer = new XmlLayoutSerializer ( window . dockingManager ) ;
You can’t perform that action at this time.
0 commit comments