Skip to content

Commit 8976135

Browse files
Update tests based on observed behavior
1 parent 44e7ee8 commit 8976135

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

UnitTests/UnitTests.UWP/UI/Controls/Test_WrapPanel_Visibility.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ await App.DispatcherQueue.EnqueueAsync(async () =>
9797
var expected = new (int u, int v, int w, int h)[]
9898
{
9999
(0, 0, 150, 50),
100-
(150, 0, 0, 0), // Collapsed
100+
(0, 0, 0, 0), // Collapsed, 150?
101101
(150, 0, 125, 50),
102102
(275, 0, 50, 50),
103103
};
@@ -154,7 +154,7 @@ await App.DispatcherQueue.EnqueueAsync(async () =>
154154
(0, 0, 150, 50),
155155
(150, 0, 100, 50),
156156
(250, 0, 125, 50),
157-
(375, 0, 0, 0), // Collapsed
157+
(0, 0, 0, 0), // Collapsed, 375?
158158
};
159159

160160
Assert.IsNotNull(treeRoot, "Could not load XAML tree.");
@@ -186,6 +186,7 @@ await App.DispatcherQueue.EnqueueAsync(async () =>
186186
});
187187
}
188188

189+
//// TODO: Add test for toggling visibility
189190
//// TODO: Add tests for wrapping lines based on size.
190191
//// TODO: Add a test with StretchChild behavior as well after...
191192
}

0 commit comments

Comments
 (0)