Skip to content

Commit

Permalink
update sdk and xunit (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyDev authored Jul 26, 2023
1 parent 5ab2b06 commit 88a9db1
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 72 deletions.
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<PackageVersion Include="System.Runtime.Caching" Version="7.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageVersion Include="Moq" Version="4.18.4" />
<PackageVersion Include="xunit" Version="2.4.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" />
<PackageVersion Include="xunit" Version="2.5.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.0" />
<PackageVersion Include="Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version="4.0.1" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.300",
"version": "6.0.411",
"rollForward": "latestFeature"
}
}
48 changes: 24 additions & 24 deletions performance/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -1820,42 +1820,42 @@
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ=="
"resolved": "1.2.0",
"contentHash": "d3dehV/DASLRlR8stWQmbPPjfYC2tct50Evav+OlsJMkfFqkhYvzO1k0s81lk0px8O0knZU/FqC8SqbXOtn+hw=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==",
"resolved": "2.5.0",
"contentHash": "wN84pKX5jzfpgJ0bB6arrCA/oelBeYLCpnQ9Wj5xGEVPydKzVSDY5tEatFLHE/rO0+0RC+I4H5igGE118jRh1w==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==",
"resolved": "2.5.0",
"contentHash": "dnV0Mn2s1C0y2m33AylQyMkEyhBQsL4R0302kwSGiEGuY3JwzEmhTa9pnghyMRPliYSs4fXfkEAP+5bKXryGFg==",
"dependencies": {
"xunit.extensibility.core": "[2.4.2]",
"xunit.extensibility.execution": "[2.4.2]"
"xunit.extensibility.core": "[2.5.0]",
"xunit.extensibility.execution": "[2.5.0]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==",
"resolved": "2.5.0",
"contentHash": "xRm6NIV3i7I+LkjsAJ91Xz2fxJm/oMEi2CYq1G5HlGTgcK1Zo2wNbLO6nKX1VG5FZzXibSdoLwr/MofVvh3mFA==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==",
"resolved": "2.5.0",
"contentHash": "7+v2Bvp+1ew1iMGQVb1glICi8jcNdHbRUX6Ru0dmJBViGdjiS7kyqcX2VxleQhFbKNi+WF0an7/TeTXD283RlQ==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.extensibility.core": "[2.4.2]"
"xunit.extensibility.core": "[2.5.0]"
}
},
"microsoft.azure.webjobs.extensions.sql": {
Expand Down Expand Up @@ -1893,8 +1893,8 @@
"Microsoft.NET.Test.Sdk": "[17.6.3, )",
"Moq": "[4.18.4, )",
"Newtonsoft.Json": "[13.0.3, )",
"xunit": "[2.4.2, )",
"xunit.runner.visualstudio": "[2.4.5, )"
"xunit": "[2.5.0, )",
"xunit.runner.visualstudio": "[2.5.0, )"
}
},
"Microsoft.ApplicationInsights": {
Expand Down Expand Up @@ -2092,20 +2092,20 @@
},
"xunit": {
"type": "CentralTransitive",
"requested": "[2.4.2, )",
"resolved": "2.4.2",
"contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "f2V5wuAdoaq0mRTt9UBmPbVex9HcwFYn+y7WaKUz5Xpakcrv7lhtQWBJUWNY4N3Z+o+atDBLyAALM1QWx04C6Q==",
"dependencies": {
"xunit.analyzers": "1.0.0",
"xunit.assert": "2.4.2",
"xunit.core": "[2.4.2]"
"xunit.analyzers": "1.2.0",
"xunit.assert": "2.5.0",
"xunit.core": "[2.5.0]"
}
},
"xunit.runner.visualstudio": {
"type": "CentralTransitive",
"requested": "[2.4.5, )",
"resolved": "2.4.5",
"contentHash": "OwHamvBdUKgqsXfBzWiCW/O98BTx81UKzx2bieIOQI7CZFE5NEQZGi8PBQGIKawDW96xeRffiNf20SjfC0x9hw=="
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "+Gp9vuC2431yPyKB15YrOTxCuEAErBQUTIs6CquumX1F073UaPHGW0VE/XVJLMh9W4sXdz3TBkcHdFWZrRn2Hw=="
}
}
}
Expand Down
44 changes: 22 additions & 22 deletions test-outofproc/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@
},
"xunit": {
"type": "Direct",
"requested": "[2.4.2, )",
"resolved": "2.4.2",
"contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "f2V5wuAdoaq0mRTt9UBmPbVex9HcwFYn+y7WaKUz5Xpakcrv7lhtQWBJUWNY4N3Z+o+atDBLyAALM1QWx04C6Q==",
"dependencies": {
"xunit.analyzers": "1.0.0",
"xunit.assert": "2.4.2",
"xunit.core": "[2.4.2]"
"xunit.analyzers": "1.2.0",
"xunit.assert": "2.5.0",
"xunit.core": "[2.5.0]"
}
},
"xunit.runner.visualstudio": {
"type": "Direct",
"requested": "[2.4.5, )",
"resolved": "2.4.5",
"contentHash": "OwHamvBdUKgqsXfBzWiCW/O98BTx81UKzx2bieIOQI7CZFE5NEQZGi8PBQGIKawDW96xeRffiNf20SjfC0x9hw=="
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "+Gp9vuC2431yPyKB15YrOTxCuEAErBQUTIs6CquumX1F073UaPHGW0VE/XVJLMh9W4sXdz3TBkcHdFWZrRn2Hw=="
},
"Azure.Core": {
"type": "Transitive",
Expand Down Expand Up @@ -1605,42 +1605,42 @@
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ=="
"resolved": "1.2.0",
"contentHash": "d3dehV/DASLRlR8stWQmbPPjfYC2tct50Evav+OlsJMkfFqkhYvzO1k0s81lk0px8O0knZU/FqC8SqbXOtn+hw=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==",
"resolved": "2.5.0",
"contentHash": "wN84pKX5jzfpgJ0bB6arrCA/oelBeYLCpnQ9Wj5xGEVPydKzVSDY5tEatFLHE/rO0+0RC+I4H5igGE118jRh1w==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==",
"resolved": "2.5.0",
"contentHash": "dnV0Mn2s1C0y2m33AylQyMkEyhBQsL4R0302kwSGiEGuY3JwzEmhTa9pnghyMRPliYSs4fXfkEAP+5bKXryGFg==",
"dependencies": {
"xunit.extensibility.core": "[2.4.2]",
"xunit.extensibility.execution": "[2.4.2]"
"xunit.extensibility.core": "[2.5.0]",
"xunit.extensibility.execution": "[2.5.0]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==",
"resolved": "2.5.0",
"contentHash": "xRm6NIV3i7I+LkjsAJ91Xz2fxJm/oMEi2CYq1G5HlGTgcK1Zo2wNbLO6nKX1VG5FZzXibSdoLwr/MofVvh3mFA==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==",
"resolved": "2.5.0",
"contentHash": "7+v2Bvp+1ew1iMGQVb1glICi8jcNdHbRUX6Ru0dmJBViGdjiS7kyqcX2VxleQhFbKNi+WF0an7/TeTXD283RlQ==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.extensibility.core": "[2.4.2]"
"xunit.extensibility.core": "[2.5.0]"
}
},
"microsoft.azure.functions.worker.extensions.sql": {
Expand Down
6 changes: 5 additions & 1 deletion test/Common/SupportedLanguagesTestAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ public SqlInlineDataAttribute(params object[] args)
public override IEnumerable<object[]> GetData(MethodInfo testMethod)
{
if (testMethod == null) { throw new ArgumentNullException(nameof(testMethod)); }
if (this.testData.Count == 0) { throw new EmptyException(nameof(testMethod)); }
if (this.testData.Count == 0)
{
throw new Exception("Collection was empty" + Environment.NewLine +
"Collection: " + nameof(testMethod));
}

UnsupportedLanguagesAttribute unsupportedLangAttr = testMethod.GetCustomAttribute<UnsupportedLanguagesAttribute>();
if (unsupportedLangAttr != null)
Expand Down
44 changes: 22 additions & 22 deletions test/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,20 @@
},
"xunit": {
"type": "Direct",
"requested": "[2.4.2, )",
"resolved": "2.4.2",
"contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "f2V5wuAdoaq0mRTt9UBmPbVex9HcwFYn+y7WaKUz5Xpakcrv7lhtQWBJUWNY4N3Z+o+atDBLyAALM1QWx04C6Q==",
"dependencies": {
"xunit.analyzers": "1.0.0",
"xunit.assert": "2.4.2",
"xunit.core": "[2.4.2]"
"xunit.analyzers": "1.2.0",
"xunit.assert": "2.5.0",
"xunit.core": "[2.5.0]"
}
},
"xunit.runner.visualstudio": {
"type": "Direct",
"requested": "[2.4.5, )",
"resolved": "2.4.5",
"contentHash": "OwHamvBdUKgqsXfBzWiCW/O98BTx81UKzx2bieIOQI7CZFE5NEQZGi8PBQGIKawDW96xeRffiNf20SjfC0x9hw=="
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "+Gp9vuC2431yPyKB15YrOTxCuEAErBQUTIs6CquumX1F073UaPHGW0VE/XVJLMh9W4sXdz3TBkcHdFWZrRn2Hw=="
},
"Azure.Core": {
"type": "Transitive",
Expand Down Expand Up @@ -1800,42 +1800,42 @@
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ=="
"resolved": "1.2.0",
"contentHash": "d3dehV/DASLRlR8stWQmbPPjfYC2tct50Evav+OlsJMkfFqkhYvzO1k0s81lk0px8O0knZU/FqC8SqbXOtn+hw=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==",
"resolved": "2.5.0",
"contentHash": "wN84pKX5jzfpgJ0bB6arrCA/oelBeYLCpnQ9Wj5xGEVPydKzVSDY5tEatFLHE/rO0+0RC+I4H5igGE118jRh1w==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==",
"resolved": "2.5.0",
"contentHash": "dnV0Mn2s1C0y2m33AylQyMkEyhBQsL4R0302kwSGiEGuY3JwzEmhTa9pnghyMRPliYSs4fXfkEAP+5bKXryGFg==",
"dependencies": {
"xunit.extensibility.core": "[2.4.2]",
"xunit.extensibility.execution": "[2.4.2]"
"xunit.extensibility.core": "[2.5.0]",
"xunit.extensibility.execution": "[2.5.0]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==",
"resolved": "2.5.0",
"contentHash": "xRm6NIV3i7I+LkjsAJ91Xz2fxJm/oMEi2CYq1G5HlGTgcK1Zo2wNbLO6nKX1VG5FZzXibSdoLwr/MofVvh3mFA==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.4.2",
"contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==",
"resolved": "2.5.0",
"contentHash": "7+v2Bvp+1ew1iMGQVb1glICi8jcNdHbRUX6Ru0dmJBViGdjiS7kyqcX2VxleQhFbKNi+WF0an7/TeTXD283RlQ==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.extensibility.core": "[2.4.2]"
"xunit.extensibility.core": "[2.5.0]"
}
},
"microsoft.azure.webjobs.extensions.sql": {
Expand Down

0 comments on commit 88a9db1

Please sign in to comment.