This commit is contained in:
2020-01-23 15:34:43 +00:00
parent 243536e524
commit 09a0d36b80

View File

@@ -269,11 +269,20 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
// foreach (JObject o in v)
// {
// if (IncludedWidgetId == o["id"].Value<long>())
// InclusiveMatchCount++;
// if (ExcludedWidgetId == o["id"].Value<long>())//whups
// ExclusiveMatchCount++;
// }
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -371,11 +380,20 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
// foreach (JObject o in v)
// {
// if (IncludedWidgetId == o["id"].Value<long>())
// InclusiveMatchCount++;
// if (ExcludedWidgetId == o["id"].Value<long>())//whups
// ExclusiveMatchCount++;
// }
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -472,11 +490,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -574,11 +594,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -676,11 +698,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -778,11 +802,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -881,11 +906,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -983,11 +1009,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -1085,14 +1112,15 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
InclusiveMatchCount.Should().BeGreaterOrEqualTo(1);
ExclusiveMatchCount.Should().Be(0);
@@ -1188,11 +1216,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -1292,11 +1321,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -1395,11 +1425,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -1502,11 +1534,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -1611,11 +1644,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -1715,11 +1749,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -1821,11 +1857,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -1924,11 +1961,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -2028,11 +2067,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -2134,11 +2175,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -2240,11 +2282,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -2343,11 +2387,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -2446,11 +2492,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -2568,11 +2616,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -2685,11 +2734,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -2800,11 +2850,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -2916,11 +2967,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3022,11 +3074,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3126,11 +3180,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3231,11 +3287,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3336,11 +3394,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3440,11 +3500,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3546,11 +3607,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3650,11 +3713,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3755,11 +3820,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3859,11 +3925,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -3963,11 +4030,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -4068,11 +4136,12 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}
@@ -4172,11 +4241,13 @@ same as the server does but in a central location here for all tests to use.
List<long> IDInResultList = new List<long>();
int InclusiveMatchCount = 0;
int ExclusiveMatchCount = 0;
foreach (JObject o in v)
foreach (JArray ja in v)
{
if (IncludedWidgetId == o["id"].Value<long>())
JObject o = ja[0] as JObject;
if (IncludedWidgetId == o["v"].Value<long>())
InclusiveMatchCount++;
if (ExcludedWidgetId == o["id"].Value<long>())//whups
if (ExcludedWidgetId == o["v"].Value<long>())
ExclusiveMatchCount++;
}