You've already forked linux-packaging-mono
Imported Upstream version 3.10.0
Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
This commit is contained in:
@ -90,11 +90,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddComponentProperty ("myName2", "myCompId2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, null, null, {\"myName2\":\"myCompId2\",\"myName1\":\"myCompId1\"}, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, null, null, {\"myName1\":\"myCompId1\",\"myName2\":\"myCompId2\"}, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -105,11 +101,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddElementProperty ("myName2", "myElemId2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":$get(\"myElemId2\"),\"myName1\":$get(\"myElemId1\")}, null, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":$get(\"myElemId1\"),\"myName2\":$get(\"myElemId2\")}, null, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -120,11 +112,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddProperty ("myName2", "myValue2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":\"myValue2\",\"myName1\":\"myValue1\"}, null, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":\"myValue1\",\"myName2\":\"myValue2\"}, null, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -135,11 +123,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddProperty ("myName2", null);
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":null,\"myName1\":null}, null, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":null,\"myName2\":null}, null, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -150,11 +134,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddEvent ("myName2", "myHandler2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, null, {\"myName2\":myHandler2,\"myName1\":myHandler1}, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, null, {\"myName1\":myHandler1,\"myName2\":myHandler2}, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -165,11 +145,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddScriptProperty ("myName2", "myScript2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":myScript2,\"myName1\":myScript1}, null, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":myScript1,\"myName2\":myScript2}, null, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -84,11 +84,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddComponentProperty ("myName2", "myCompId2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, null, null, {\"myName2\":\"myCompId2\",\"myName1\":\"myCompId1\"});", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, null, null, {\"myName1\":\"myCompId1\",\"myName2\":\"myCompId2\"});", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -99,11 +95,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddElementProperty ("myName2", "myElemId2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":$get(\"myElemId2\"),\"myName1\":$get(\"myElemId1\")}, null, null);", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":$get(\"myElemId1\"),\"myName2\":$get(\"myElemId2\")}, null, null);", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -114,11 +106,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddProperty ("myName2", "myValue2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":\"myValue2\",\"myName1\":\"myValue1\"}, null, null);", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":\"myValue1\",\"myName2\":\"myValue2\"}, null, null);", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -129,11 +117,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddProperty ("myName2", null);
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":null,\"myName1\":null}, null, null);", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":null,\"myName2\":null}, null, null);", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -144,11 +128,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddEvent ("myName2", "myHandler2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, null, {\"myName2\":myHandler2,\"myName1\":myHandler1}, null);", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, null, {\"myName1\":myHandler1,\"myName2\":myHandler2}, null);", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -159,11 +139,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddScriptProperty ("myName2", "myScript2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":myScript2,\"myName1\":myScript1}, null, null);", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":myScript1,\"myName2\":myScript2}, null, null);", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -80,11 +80,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddComponentProperty ("myName2", "myCompId2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, null, null, {\"myName2\":\"myCompId2\",\"myName1\":\"myCompId1\"}, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, null, null, {\"myName1\":\"myCompId1\",\"myName2\":\"myCompId2\"}, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -95,11 +91,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddElementProperty ("myName2", "myElemId2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":$get(\"myElemId2\"),\"myName1\":$get(\"myElemId1\")}, null, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":$get(\"myElemId1\"),\"myName2\":$get(\"myElemId2\")}, null, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -110,11 +102,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddProperty ("myName2", "myValue2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":\"myValue2\",\"myName1\":\"myValue1\"}, null, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":\"myValue1\",\"myName2\":\"myValue2\"}, null, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -125,11 +113,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddProperty ("myName2", null);
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":null,\"myName1\":null}, null, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":null,\"myName2\":null}, null, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -140,11 +124,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddEvent ("myName2", "myHandler2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, null, {\"myName2\":myHandler2,\"myName1\":myHandler1}, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, null, {\"myName1\":myHandler1,\"myName2\":myHandler2}, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Category("NotWorking")] // One must not depend on the order of keys in dictionary
|
||||
@ -155,11 +135,7 @@ namespace Tests.System.Web.UI
|
||||
scd.AddScriptProperty ("myName2", "myScript2");
|
||||
|
||||
string script = scd.DoGetScript ();
|
||||
#if TARGET_JVM
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName2\":myScript2,\"myName1\":myScript1}, null, null, $get(\"Element1\"));", script);
|
||||
#else
|
||||
Assert.AreEqual ("$create(My.Type, {\"myName1\":myScript1,\"myName2\":myScript2}, null, null, $get(\"Element1\"));", script);
|
||||
#endif
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user