From 4107a59c09696d9cb6900378df0836c473fbc839 Mon Sep 17 00:00:00 2001 From: danwalmsley Date: Wed, 16 Mar 2016 22:45:38 +0000 Subject: [PATCH] implemented new interface in TestScrollable --- .../ScrollContentPresenterTests_IScrollable.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/Perspex.Controls.UnitTests/Presenters/ScrollContentPresenterTests_IScrollable.cs b/tests/Perspex.Controls.UnitTests/Presenters/ScrollContentPresenterTests_IScrollable.cs index 22f024f2a32..d4e60ce94d9 100644 --- a/tests/Perspex.Controls.UnitTests/Presenters/ScrollContentPresenterTests_IScrollable.cs +++ b/tests/Perspex.Controls.UnitTests/Presenters/ScrollContentPresenterTests_IScrollable.cs @@ -208,6 +208,22 @@ public Size Viewport } } + public Size ScrollSize + { + get + { + return new Size(double.PositiveInfinity, 1); + } + } + + public Size PageScrollSize + { + get + { + return new Size(double.PositiveInfinity, Viewport.Height); + } + } + protected override Size MeasureOverride(Size availableSize) { AvailableSize = availableSize;