[Test]
public void Property_Arguments_Mismatch ()
{
+#if MOBILE
+ // ensure the property is not linked out of the application since it make the test fails
+ Assert.NotNull (Thread.CurrentPrincipal, "pre-test");
+#endif
PropertyInfo pi = typeof (Thread).GetProperty ("CurrentPrincipal");
InstanceDescriptor id = new InstanceDescriptor (pi, new object [] { url });
[Test]
public void Property_Arguments_Null ()
{
+#if MOBILE
+ // ensure the property is not linked out of the application since it make the test fails
+ Assert.NotNull (Thread.CurrentPrincipal, "pre-test");
+#endif
PropertyInfo pi = typeof (Thread).GetProperty ("CurrentPrincipal");
InstanceDescriptor id = new InstanceDescriptor (pi, null);
[Test]
public void GetProperties_Order ()
{
+#if MOBILE
+ // Component.Container will be be linked out (when using Link SDK) if unused
+ Assert.Null (new Component ().Container, "pre-test");
+#endif
MyComponent com = new MyComponent (new MyContainer ());
PropertyDescriptorCollection col = TypeDescriptor.GetProperties (com);