-
-
Notifications
You must be signed in to change notification settings - Fork 65
tests: check all enum completeness #992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
500f3cf
tests: test all the enums.
jkowalleck 06f34c5
tests: test all the enums.
jkowalleck 5efa460
tests: LicenseAcknowledgement
jkowalleck 8ddc37f
isort
jkowalleck 1dfe71f
autopep8
jkowalleck 20509fe
tests: TestEnumIdentityField & TestEnumAnalysisTechnique
jkowalleck 44a98ef
autopep8
jkowalleck ec38b2e
test data
jkowalleck f4ae307
tests: TestEnumIdentityField & TestEnumAnalysisTechnique
jkowalleck 4868e2d
autopep8
jkowalleck b29e49c
tests: enum CryptoAssetType
jkowalleck 4ff6db8
tests: enum CryptoAssetType
jkowalleck a3f5eea
tests: enum CryptoPrimitive
jkowalleck 9129d38
tests: enum CryptoPrimitive
jkowalleck 1860d13
tests: enum CryptoExecutionEnvironment
jkowalleck e70a29f
tests: enum CryptoImplementationPlatform
jkowalleck d27a097
tests: enum CryptoCertificationLevel
jkowalleck fef2e7c
tests: enum CryptoMode
jkowalleck 0c54bb4
tests: enum CryptoMode
jkowalleck b87c379
CryptoPadding
jkowalleck c8307d8
tests
jkowalleck 29a3298
CryptoFunction
jkowalleck aab68c0
RelatedCryptoMaterialType
jkowalleck 2e8ea4e
RelatedCryptoMaterialType
jkowalleck b1ef576
RelatedCryptoMaterialState
jkowalleck 33e4f35
ProtocolPropertiesType
jkowalleck cadb83e
dings
jkowalleck 840a32c
dings
jkowalleck 82004df
dings
jkowalleck 5d813fb
dings
jkowalleck 3b5fb6d
dings
jkowalleck 4c1ffb5
dings
jkowalleck 2da1b78
dings
jkowalleck 811b78e
dings
jkowalleck 598f147
dings
jkowalleck da6ba63
dings
jkowalleck 01ac58c
dings
jkowalleck 0f845c4
dings
jkowalleck c2e7b02
Merge branch 'main' into tests/check-all-enum-completeness
jkowalleck 094104d
docs
jkowalleck 525e82a
dings
jkowalleck 57766c2
Merge remote-tracking branch 'origin/main' into tests/check-all-enum-…
jkowalleck 857b885
tests
jkowalleck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,10 @@ | ||
| <?xml version="1.0" ?> | ||
| <bom xmlns="http://cyclonedx.org/schema/bom/1.0" version="1"> | ||
| <components> | ||
| <component type="library"> | ||
| <name>dummy</name> | ||
| <version/> | ||
| <modified>false</modified> | ||
| </component> | ||
| </components> | ||
| </bom> |
This file contains hidden or 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,9 @@ | ||
| <?xml version="1.0" ?> | ||
| <bom xmlns="http://cyclonedx.org/schema/bom/1.1" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1"> | ||
| <components> | ||
| <component type="library" bom-ref="dummy"> | ||
| <name>dummy</name> | ||
| <version/> | ||
| </component> | ||
| </components> | ||
| </bom> |
This file contains hidden or 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,23 @@ | ||
| { | ||
| "components": [ | ||
| { | ||
| "bom-ref": "dummy", | ||
| "name": "dummy", | ||
| "type": "library", | ||
| "version": "" | ||
| } | ||
| ], | ||
| "dependencies": [ | ||
| { | ||
| "ref": "dummy" | ||
| } | ||
| ], | ||
| "metadata": { | ||
| "timestamp": "2023-01-07T13:44:32.312678+00:00" | ||
| }, | ||
| "serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac", | ||
| "version": 1, | ||
| "$schema": "http://cyclonedx.org/schema/bom-1.2b.schema.json", | ||
| "bomFormat": "CycloneDX", | ||
| "specVersion": "1.2" | ||
| } |
This file contains hidden or 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,15 @@ | ||
| <?xml version="1.0" ?> | ||
| <bom xmlns="http://cyclonedx.org/schema/bom/1.2" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1"> | ||
| <metadata> | ||
| <timestamp>2023-01-07T13:44:32.312678+00:00</timestamp> | ||
| </metadata> | ||
| <components> | ||
| <component type="library" bom-ref="dummy"> | ||
| <name>dummy</name> | ||
| <version/> | ||
| </component> | ||
| </components> | ||
| <dependencies> | ||
| <dependency ref="dummy"/> | ||
| </dependencies> | ||
| </bom> |
This file contains hidden or 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,24 @@ | ||
| { | ||
| "components": [ | ||
| { | ||
| "bom-ref": "dummy", | ||
| "evidence": {}, | ||
| "name": "dummy", | ||
| "type": "library", | ||
| "version": "" | ||
| } | ||
| ], | ||
| "dependencies": [ | ||
| { | ||
| "ref": "dummy" | ||
| } | ||
| ], | ||
| "metadata": { | ||
| "timestamp": "2023-01-07T13:44:32.312678+00:00" | ||
| }, | ||
| "serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac", | ||
| "version": 1, | ||
| "$schema": "http://cyclonedx.org/schema/bom-1.3a.schema.json", | ||
| "bomFormat": "CycloneDX", | ||
| "specVersion": "1.3" | ||
| } |
This file contains hidden or 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,16 @@ | ||
| <?xml version="1.0" ?> | ||
| <bom xmlns="http://cyclonedx.org/schema/bom/1.3" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1"> | ||
| <metadata> | ||
| <timestamp>2023-01-07T13:44:32.312678+00:00</timestamp> | ||
| </metadata> | ||
| <components> | ||
| <component type="library" bom-ref="dummy"> | ||
| <name>dummy</name> | ||
| <version/> | ||
| <evidence/> | ||
| </component> | ||
| </components> | ||
| <dependencies> | ||
| <dependency ref="dummy"/> | ||
| </dependencies> | ||
| </bom> |
This file contains hidden or 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,23 @@ | ||
| { | ||
| "components": [ | ||
| { | ||
| "bom-ref": "dummy", | ||
| "evidence": {}, | ||
| "name": "dummy", | ||
| "type": "library" | ||
| } | ||
| ], | ||
| "dependencies": [ | ||
| { | ||
| "ref": "dummy" | ||
| } | ||
| ], | ||
| "metadata": { | ||
| "timestamp": "2023-01-07T13:44:32.312678+00:00" | ||
| }, | ||
| "serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac", | ||
| "version": 1, | ||
| "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json", | ||
| "bomFormat": "CycloneDX", | ||
| "specVersion": "1.4" | ||
| } |
This file contains hidden or 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,15 @@ | ||
| <?xml version="1.0" ?> | ||
| <bom xmlns="http://cyclonedx.org/schema/bom/1.4" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1"> | ||
| <metadata> | ||
| <timestamp>2023-01-07T13:44:32.312678+00:00</timestamp> | ||
| </metadata> | ||
| <components> | ||
| <component type="library" bom-ref="dummy"> | ||
| <name>dummy</name> | ||
| <evidence/> | ||
| </component> | ||
| </components> | ||
| <dependencies> | ||
| <dependency ref="dummy"/> | ||
| </dependencies> | ||
| </bom> |
This file contains hidden or 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,89 @@ | ||
| { | ||
| "components": [ | ||
| { | ||
| "bom-ref": "dummy", | ||
| "evidence": { | ||
| "identity": { | ||
| "field": "name", | ||
| "methods": [ | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "ast-fingerprint", | ||
| "value": "AnalysisTechnique: AST_FINGERPRINT" | ||
| }, | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "attestation", | ||
| "value": "AnalysisTechnique: ATTESTATION" | ||
| }, | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "binary-analysis", | ||
| "value": "AnalysisTechnique: BINARY_ANALYSIS" | ||
| }, | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "dynamic-analysis", | ||
| "value": "AnalysisTechnique: DYNAMIC_ANALYSIS" | ||
| }, | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "filename", | ||
| "value": "AnalysisTechnique: FILENAME" | ||
| }, | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "hash-comparison", | ||
| "value": "AnalysisTechnique: HASH_COMPARISON" | ||
| }, | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "instrumentation", | ||
| "value": "AnalysisTechnique: INSTRUMENTATION" | ||
| }, | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "manifest-analysis", | ||
| "value": "AnalysisTechnique: MANIFEST_ANALYSIS" | ||
| }, | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "other", | ||
| "value": "AnalysisTechnique: OTHER" | ||
| }, | ||
| { | ||
| "confidence": 1.0, | ||
| "technique": "source-code-analysis", | ||
| "value": "AnalysisTechnique: SOURCE_CODE_ANALYSIS" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "name": "dummy", | ||
| "type": "library" | ||
| } | ||
| ], | ||
| "dependencies": [ | ||
| { | ||
| "ref": "dummy" | ||
| } | ||
| ], | ||
| "metadata": { | ||
| "timestamp": "2023-01-07T13:44:32.312678+00:00" | ||
| }, | ||
| "properties": [ | ||
| { | ||
| "name": "key1", | ||
| "value": "val1" | ||
| }, | ||
| { | ||
| "name": "key2", | ||
| "value": "val2" | ||
| } | ||
| ], | ||
| "serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac", | ||
| "version": 1, | ||
| "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json", | ||
| "bomFormat": "CycloneDX", | ||
| "specVersion": "1.5" | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.