Skip to content

Commit

Permalink
TestFiles -> test_files
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Aug 10, 2021
1 parent 6615cd2 commit a9b2556
Show file tree
Hide file tree
Showing 27 changed files with 72 additions and 321 deletions.
2 changes: 1 addition & 1 deletion src/JsonCons.JsonPath/JsonCons.JsonPath.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ System.Text.Json namespace with support for JsonPath. It provides support for qu
<PackageProjectUrl>https://github.com/danielaparker/JsonCons.Net</PackageProjectUrl>
<RepositoryUrl>https://github.com/danielaparker/JsonCons.Net</RepositoryUrl>
<PackageTags>jsonpath json-path</PackageTags>
<PackageReleaseNotes>- Tightens restrictions on unquoted names as per revised specification. Specifically, unquoted names are now restricted to one or more ASCII letters, digits, or underscores, and must start with `A-Za-z_`.</PackageReleaseNotes>
<PackageReleaseNotes>Move from preview to release 1.0.0</PackageReleaseNotes>
<Copyright>Daniel Parker</Copyright>
</PropertyGroup>

Expand Down
3 changes: 1 addition & 2 deletions src/JsonCons.Utilities/JsonCons.Utilities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ System.Text.Json namespace with support for JSON Pointer, JSON Patch, and JSON M
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageProjectUrl>https://github.com/danielaparker/JsonCons.Net</PackageProjectUrl>
<RepositoryUrl>https://github.com/danielaparker/JsonCons.Net</RepositoryUrl>
<PackageReleaseNotes>- Added `JsonMergePatch.FromDiff` for creating a JSON Merge Patch
from source and target JSON documents
<PackageReleaseNotes>Move from preview to release 1.0.0
</PackageReleaseNotes>
<PackageTags>jsonpointer json-pointer jsonpatch json-patch json-merge-patch</PackageTags>
</PropertyGroup>
Expand Down
39 changes: 39 additions & 0 deletions tests/JsonCons.JsonPath.Tests/JsonCons.JsonPath.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,45 @@
<None Update="TestFiles\wildcard.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\dot-notation.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\filters.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\functions.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\identifiers.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\indices.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\parent-operator.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\recursive-descent.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\regex.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\slice.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\syntax.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\test.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\union.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="test_files\wildcard.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
28 changes: 14 additions & 14 deletions tests/JsonCons.JsonPath.Tests/JsonPathTestSuite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,25 +114,25 @@ public void RunJsonPathTests(string path)
}

[TestMethod]
[DeploymentItem("TestFiles")]
[DeploymentItem("test_files")]
public void Test()
{
try
{
RunJsonPathTests(@".\TestFiles\dot-notation.json");
RunJsonPathTests(@".\TestFiles\filters.json");
RunJsonPathTests(@".\TestFiles\functions.json");
RunJsonPathTests(@".\TestFiles\identifiers.json");
RunJsonPathTests(@".\TestFiles\indices.json");
RunJsonPathTests(@".\TestFiles\regex.json");
RunJsonPathTests(@".\TestFiles\slice.json");
RunJsonPathTests(@".\TestFiles\syntax.json");
RunJsonPathTests(@".\TestFiles\union.json");
RunJsonPathTests(@".\TestFiles\wildcard.json");
RunJsonPathTests(@".\TestFiles\parent-operator.json");
RunJsonPathTests(@".\TestFiles\recursive-descent.json");
RunJsonPathTests(@".\test_files\dot-notation.json");
RunJsonPathTests(@".\test_files\filters.json");
RunJsonPathTests(@".\test_files\functions.json");
RunJsonPathTests(@".\test_files\identifiers.json");
RunJsonPathTests(@".\test_files\indices.json");
RunJsonPathTests(@".\test_files\regex.json");
RunJsonPathTests(@".\test_files\slice.json");
RunJsonPathTests(@".\test_files\syntax.json");
RunJsonPathTests(@".\test_files\union.json");
RunJsonPathTests(@".\test_files\wildcard.json");
RunJsonPathTests(@".\test_files\parent-operator.json");
RunJsonPathTests(@".\test_files\recursive-descent.json");

//RunJsonPathTests(@".\TestFiles\test.json");
//RunJsonPathTests(@".\test_files\test.json");
}
catch (Exception e)
{
Expand Down
143 changes: 0 additions & 143 deletions tests/JsonCons.JsonPath.Tests/TestFiles/JsonPathTestSuite.cs

This file was deleted.

This file was deleted.

Loading

0 comments on commit a9b2556

Please sign in to comment.