maui-linux/Xamarin.Forms.Core.UnitTests
Philippe Leybaert 01a56f9836 Update RelativeLayout to make it respond to constraint changes (#425)
* Update RelativeLayout to make it respond to constraint changes

Constraints of a RelativeLayout are bindable properties but the layout
does not update when the constraints are updated.

This change will invalidate the layout whenever  XConstraint,
YConstraint, WidthConstraint or HeightConstraint is changed (either in
code or through a change in the bound property)

* Specified changed handler as named property

* Adding attached property accessors for layout properties

Since the constraint attached properties can now be updated at runtime,
setters are required for those properties. Also, when adding a child
view at runtime using the Add() method with x/y/w/h constraints,
generating the bounds constraints is deferred to the layout phase.

* Unit tests for runtime constraints updates in RelativeLayout

* Rename unit test method

Rename LayoutChangesAtRuntim() to LayoutIsUpdatedWhenConstraintsChange()

* Wrap RelativeLayout update setters in BatchBegin/Commit

* Update documentation of RelativeLayout

Added SetXConstraint(), SetYConstraint(), SetWidthConstraint() and
SetHeightConstraint()
2017-02-02 13:55:54 -05:00
..
Images Initial import 2016-03-22 16:13:41 -07:00
Properties Initial import 2016-03-22 16:13:41 -07:00
AbsoluteLayoutTests.cs Initial import 2016-03-22 16:13:41 -07:00
AnimatableKeyTests.cs Initial import 2016-03-22 16:13:41 -07:00
AppLinkEntryTests.cs [Android] Implement the AppIndexProvider on non-AppCompact, fix KeyValues on AppLinkEntry (#166) 2016-05-25 14:50:21 +01:00
BaseTestFixture.cs remove the noise while running nunit from console 2016-12-07 10:57:21 +01:00
BehaviorTest.cs [C] detach Behaviors and Triggers on VE finalization (#555) 2016-12-06 12:15:32 +00:00
BindableObjectExtensionTests.cs Initial import 2016-03-22 16:13:41 -07:00
BindableObjectUnitTests.cs BindingContext changes are called multiple times on app start (#470) 2016-11-16 09:24:21 +01:00
BindablePropertyUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
BindingBaseUnitTests.cs [XamlC] TypedBindings, some tests, a compiler, ... (#489) 2016-11-15 11:39:48 -08:00
BindingExpressionTests.cs Initial import 2016-03-22 16:13:41 -07:00
BindingTests.cs Initial import 2016-03-22 16:13:41 -07:00
BindingTypeConverterTests.cs Initial import 2016-03-22 16:13:41 -07:00
BindingUnitTests.cs [XamlC] TypedBindings, some tests, a compiler, ... (#489) 2016-11-15 11:39:48 -08:00
BoxViewUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
ButtonUnitTest.cs Add pressed and released events to Button (#446) 2017-02-02 18:23:31 +00:00
CarouselPageTests.cs Initial import 2016-03-22 16:13:41 -07:00
CellTests.cs Prep Cell & friends for removal of InternalsVisibleTo (#142) 2016-06-17 11:10:18 +01:00
ColorUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
CommandSourceTests.cs Initial import 2016-03-22 16:13:41 -07:00
CommandTests.cs Don't run Command CanExecute on incorrect inherited binding context type (#572) 2016-12-01 22:15:17 +01:00
ContentFormUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
ContentViewUnitTest.cs Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
ContraintTypeConverterTests.cs Initial import 2016-03-22 16:13:41 -07:00
ControlTemplateTests.cs Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
DataTemplateSelectorTests.cs [C] new OnPlatform mechanism (#658) 2017-01-12 12:05:41 -08:00
DataTemplateTests.cs Initial import 2016-03-22 16:13:41 -07:00
DataTriggerTests.cs Xamlc compile data triggers (#648) 2016-12-23 10:21:30 +01:00
DatePickerUnitTest.cs Enable Warnings as Errors on all plat|cfg of XF.Core.UnitTests (#95) 2016-04-24 18:58:46 -04:00
DependencyServiceTests.cs Initial import 2016-03-22 16:13:41 -07:00
DistanceTests.cs Initial import 2016-03-22 16:13:41 -07:00
DynamicBindingContextTests.cs Initial import 2016-03-22 16:13:41 -07:00
DynamicResourceTests.cs Initial import 2016-03-22 16:13:41 -07:00
EasingTests.cs Initial import 2016-03-22 16:13:41 -07:00
EditorTests.cs Initial import 2016-03-22 16:13:41 -07:00
EffectTests.cs Initial import 2016-03-22 16:13:41 -07:00
ElementTests.cs Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
EntryCellTests.cs Initial import 2016-03-22 16:13:41 -07:00
EntryUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
EventTriggerTest.cs Initial import 2016-03-22 16:13:41 -07:00
FluentTests.cs Initial import 2016-03-22 16:13:41 -07:00
FontUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
FormattedStringTests.cs Initial import 2016-03-22 16:13:41 -07:00
FrameUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
GeocoderUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
GridLengthTypeConverterTests.cs Initial import 2016-03-22 16:13:41 -07:00
GridTests.cs Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
GroupViewUnitTests.cs Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
ImageSourceTests.cs Initial import 2016-03-22 16:13:41 -07:00
ImageTests.cs Prep Image for removal of InternalsVisibleTo (#140) 2016-05-02 14:56:03 -06:00
KeyboardTests.cs Initial import 2016-03-22 16:13:41 -07:00
LabelTests.cs Invalidate measure of Label when FormattedText changes (#303) 2016-08-16 11:05:42 -07:00
LayoutOptionsUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
ListProxyTests.cs Initial import 2016-03-22 16:13:41 -07:00
ListViewTests.cs [C] new OnPlatform mechanism (#658) 2017-01-12 12:05:41 -08:00
MapSpanTests.cs Initial import 2016-03-22 16:13:41 -07:00
MapTests.cs Initial import 2016-03-22 16:13:41 -07:00
MarginTests.cs Initial import 2016-03-22 16:13:41 -07:00
MasterDetailFormUnitTests.cs Add IMasterDetailPageController and update renderers (#146) 2016-05-04 15:22:34 +01:00
MenuItemTests.cs Prep Cell & friends for removal of InternalsVisibleTo (#142) 2016-06-17 11:10:18 +01:00
MessagingCenterTests.cs Make MessagingCenter testable (#723) 2017-01-31 13:10:28 +00:00
MockPlatformServices.cs [C] new OnPlatform mechanism (#658) 2017-01-12 12:05:41 -08:00
MockViewModel.cs [XamlC] TypedBindings, some tests, a compiler, ... (#489) 2016-11-15 11:39:48 -08:00
MotionTests.cs Make core Ticker abstract and public (#116) 2016-04-25 15:57:44 -04:00
MultiPageTests.cs Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
MultiTriggerTests.cs Xamlc compile data triggers (#648) 2016-12-23 10:21:30 +01:00
NativeBindingTests.cs [C] specify type and default value for native bindings (#376) 2016-09-26 13:32:19 -07:00
NavigationMenuUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
NavigationModelTests.cs Initial import 2016-03-22 16:13:41 -07:00
NavigationProxyTests.cs Initial import 2016-03-22 16:13:41 -07:00
NavigationUnitTest.cs [Core] Added RootPage to NavigationPage (#464) 2017-02-02 15:35:23 +00:00
NotifiedPropertiesTests.cs [W] Support 0 as valid BorderWidth (#537) 2016-11-16 13:05:28 -08:00
NotifyCollectionChangedEventArgsExtensionsTests.cs Prep Cell & friends for removal of InternalsVisibleTo (#142) 2016-06-17 11:10:18 +01:00
ObservableWrapperTests.cs Initial import 2016-03-22 16:13:41 -07:00
OpenGLViewUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
PageTests.cs Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
PanGestureRecognizerUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
PickerTests.cs [C] Use a Binding for ItemsSource object selection 2016-11-16 12:03:13 -08:00
PinTests.cs Initial import 2016-03-22 16:13:41 -07:00
PinchGestureRecognizerTests.cs Initial import 2016-03-22 16:13:41 -07:00
PlatformSpecificsTests.cs Platform Specifics (#301) 2016-08-30 10:46:14 -07:00
PointTests.cs Initial import 2016-03-22 16:13:41 -07:00
PositionTests.cs Initial import 2016-03-22 16:13:41 -07:00
ProgressBarTests.cs Make core Ticker abstract and public (#116) 2016-04-25 15:57:44 -04:00
RectangleUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
RegistrarUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
RelativeLayoutTests.cs Update RelativeLayout to make it respond to constraint changes (#425) 2017-02-02 13:55:54 -05:00
ResourceDictionaryTests.cs [C] throw meaningful exception on duplicate RD key (#716) 2017-02-01 12:17:15 -08:00
ScrollViewUnitTests.cs [Android] ScrollView should send correct ScrollX and ScrollY (#394) 2016-12-06 12:07:29 +00:00
SearchBarUnitTests.cs Prep SearchBar for removal of InternalsVisibleTo (#137) 2016-05-02 14:55:43 -06:00
SizeTests.cs Initial import 2016-03-22 16:13:41 -07:00
SliderUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
StackLayoutUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
StepperUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
StyleTests.cs Multi style classes (#134) 2016-04-25 15:03:33 -07:00
SwitchCellTests.cs Initial import 2016-03-22 16:13:41 -07:00
SwitchUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
TabbedFormUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
TableModelTests.cs Initial import 2016-03-22 16:13:41 -07:00
TableRootUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
TableSectionTests.cs Initial import 2016-03-22 16:13:41 -07:00
TableViewUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
TapGestureRecognizerTests.cs Initial import 2016-03-22 16:13:41 -07:00
TemplatedItemsListTests.cs Initial import 2016-03-22 16:13:41 -07:00
TextCellTests.cs Initial import 2016-03-22 16:13:41 -07:00
ThicknessTests.cs Initial import 2016-03-22 16:13:41 -07:00
TimePickerUnitTest.cs Initial import 2016-03-22 16:13:41 -07:00
ToolbarItemTests.cs Initial import 2016-03-22 16:13:41 -07:00
ToolbarTrackerTests.cs Prep Cell & friends for removal of InternalsVisibleTo (#142) 2016-06-17 11:10:18 +01:00
TriggerTests.cs Initial import 2016-03-22 16:13:41 -07:00
TypeUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
TypedBindingUnitTests.cs [XamlC] TypedBindings, some tests, a compiler, ... (#489) 2016-11-15 11:39:48 -08:00
UnitPlatform.cs [Controls] Update Insights and UITest packages and fix warnings (#361) 2016-09-18 11:24:44 -07:00
UriImageSourceTests.cs Initial import 2016-03-22 16:13:41 -07:00
ViewCellTests.cs Initial import 2016-03-22 16:13:41 -07:00
ViewUnitTests.cs [C] new OnPlatform mechanism (#658) 2017-01-12 12:05:41 -08:00
WeakEventManagerTests.cs Unit tests for the PCL WeakEventManager (#280) 2016-08-10 13:51:33 +02:00
WebViewUnitTests.cs Initial import 2016-03-22 16:13:41 -07:00
Xamarin.Forms.Core.UnitTests.csproj [XamlC] TypedBindings, some tests, a compiler, ... (#489) 2016-11-15 11:39:48 -08:00
packages.config [Controls] Update Insights and UITest packages and fix warnings (#361) 2016-09-18 11:24:44 -07:00