forked from Azure/azure-cosmos-dotnet-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preview contract: Add preview contract tests to CI (Azure#1674)
* Add preview contract validation * Move all contract tests to folder * Fix updatecontracts script messages. Add bad contract to verify tests CI.. * Removed code coverage from preview unit tests * Fixed preview contract
- Loading branch information
Showing
26 changed files
with
679 additions
and
474 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
...smos.Encryption/tests/Microsoft.Azure.Cosmos.Encryption.Tests/ContractEnforcementTests.cs
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...ption/tests/Microsoft.Azure.Cosmos.Encryption.Tests/Contracts/ContractEnforcementTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace Microsoft.Azure.Cosmos.Encryption.Tests | ||
{ | ||
using System; | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
|
||
[TestCategory("Windows")] | ||
[TestCategory("UpdateContract")] | ||
[TestClass] | ||
public class ContractEnforcementTests | ||
{ | ||
[TestMethod] | ||
public void ContractChanges() | ||
{ | ||
Cosmos.Tests.Contracts.ContractEnforcement.ValidateContractContainBreakingChanges( | ||
dllName: "Microsoft.Azure.Cosmos.Encryption", | ||
baselinePath: "DotNetSDKEncryptionAPI.json", | ||
breakingChangesPath: "DotNetSDKEncryptionAPIChanges.json"); | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
113 changes: 0 additions & 113 deletions
113
...ft.Azure.Cosmos.Encryption/tests/Microsoft.Azure.Cosmos.Encryption.Tests/testbaseline.cmd
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/ContractEnforcementTests.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.