-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
human-readable test fixtures (#10006)
* feat(jans-cedarling): Encoding and ContentType for cedar_schema and policy_content values Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): deserialize from schema field with metadata in policy.json Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): deserialize from policy_content field with metadata in policy.json Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): Ensure that policies are only ever encoded in cedar, because parsing cedar-json is currently not handled by cedar-policy crate. Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): for very human-readable tests, you can now do test file fixtures in yaml Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): rectify clippy complaints Signed-off-by: John Anderson <[email protected]> * feat(jans-cedarling): local use for std::collections::HashSet Signed-off-by: John Anderson <[email protected]> --------- Signed-off-by: John Anderson <[email protected]>
- Loading branch information
Showing
7 changed files
with
395 additions
and
73 deletions.
There are no files selected for viewing
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
Oops, something went wrong.