-
Notifications
You must be signed in to change notification settings - Fork 11
refactor: remaining coverage #178
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
Open
alexbarnsley
wants to merge
22
commits into
feat/mainsail
Choose a base branch
from
refactor/remaining-coverage
base: feat/mainsail
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
9b58df3
handle hex2bin exception instead of relying on returning false
alexbarnsley fcb9b68
remove legacy message public key formatting & handling
alexbarnsley 70877d2
test: remaining utils coverage
alexbarnsley df46cb1
style: resolve style guide violations
alexbarnsley a9bd031
Merge remote-tracking branch 'origin/feat/mainsail' into test/remaini…
alexbarnsley 6ae540a
remove string check for writing uint256
alexbarnsley 45225ca
remove unused network method
alexbarnsley 56e7519
bytebuffer tests
alexbarnsley 8a6efa7
address validation tests
alexbarnsley 92c7918
deserializer tests
alexbarnsley 588afe6
abi function enum tests
alexbarnsley c238821
add coverage to tests
alexbarnsley a83bc22
add phpunit xml
alexbarnsley c3fa41d
remove missing folder
alexbarnsley 0f55d84
style: resolve style guide violations
alexbarnsley d8a9888
set minimum coverage
alexbarnsley 156c82b
Merge remote-tracking branch 'origin/feat/mainsail' into refactor/rem…
alexbarnsley d6e2cc6
missing coverage
alexbarnsley ff7b010
style: resolve style guide violations
alexbarnsley ccbdbed
Update tests/Unit/Identities/AddressTest.php
alexbarnsley 17f898c
Update tests/Unit/Enums/AbiFunctionTest.php
alexbarnsley f61c9c6
style: resolve style guide violations
alexbarnsley 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
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
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,24 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| use ArkEcosystem\Crypto\Enums\AbiFunction; | ||
| use ArkEcosystem\Crypto\Transactions\Types\Multipayment; | ||
| use ArkEcosystem\Crypto\Transactions\Types\Unvote; | ||
| use ArkEcosystem\Crypto\Transactions\Types\UsernameRegistration; | ||
| use ArkEcosystem\Crypto\Transactions\Types\UsernameResignation; | ||
| use ArkEcosystem\Crypto\Transactions\Types\ValidatorRegistration; | ||
| use ArkEcosystem\Crypto\Transactions\Types\ValidatorResignation; | ||
| use ArkEcosystem\Crypto\Transactions\Types\Vote; | ||
|
|
||
| it('should get transaction class', function ($type, $class) { | ||
| expect(constant(AbiFunction::class.'::'.$type)->transactionClass())->toEqual($class); | ||
| })->with([ | ||
| 'Vote' => ['VOTE', Vote::class], | ||
| 'Unvote' => ['UNVOTE', Unvote::class], | ||
| 'ValidatorRegistration' => ['VALIDATOR_REGISTRATION', ValidatorRegistration::class], | ||
| 'ValidatorResignation' => ['VALIDATOR_RESIGNATION', ValidatorResignation::class], | ||
| 'UsernameRegistration' => ['USERNAME_REGISTRATION', UsernameRegistration::class], | ||
| 'UsernameResignation' => ['USERNAME_RESIGNATION', UsernameResignation::class], | ||
| 'Multipayment' => ['MULTIPAYMENT', Multipayment::class], | ||
| ]); |
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
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
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.