Skip to content
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

Run tests against hardware-wallet/skycoin-api #34

Open
isaacvr opened this issue Oct 31, 2019 · 0 comments
Open

Run tests against hardware-wallet/skycoin-api #34

isaacvr opened this issue Oct 31, 2019 · 0 comments

Comments

@isaacvr
Copy link

isaacvr commented Oct 31, 2019

Feature description
Refactor tests

Describe the feature

It's desired to run this tests battery against hardware-wallet/skycoin-api, as hardware-wallet/skycoin-api have a subset of the libskycoin features it's required to refactor the tests to run all against libskycoin as it' currently and a test subset against hardware-wallet/skycoin-api.

Describe the solution you'd like
Just refactor tests without changing them.

Describe alternatives you've considered
Modifing the library it's not al alternative as this code is auto generated.

Additional context
https://github.com/skycoin/hardware-wallet/issues/84

Possible implementation
This is just about a refactorization, please do not change any thing

stdevMac pushed a commit that referenced this issue Nov 11, 2019
move isU8Eq from lib/cgo/tests/testutils/libsky_assert.c to lib/cgo/tests/testutils/common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestAddSHA256 from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
…hardware-wallet_tests

Conflicts:
	lib/cgo/tests/check_cipher.hash.c
	lib/cgo/tests/test_main.c
	lib/cgo/tests/testutils/libsky_assert.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
this commit should be reverted
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestAddressString from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move registerMemCleanup from lib/cgo/tests/testutils/libsky_testutil.c to lib/cgo/tests/testutils/common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestAddressBulk from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestAddressNull from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move copyGoSlice_toGoSlice from lib/cgo/tests/testutils/libsky_testutil.c to lib/cgo/tests/testutils/common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestAddressFromBytes from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestDecodeBase58Address from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
finally removed lib/cgo/tests/check_cipher.address.c as all address related test can be run against hardware wallet
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
moce TestHashRipemd160 from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestSHA256KnownValue from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestSumSHA256 from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestSHA256Hex from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestSHA256Set from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestSHA256FromHex from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestSHA256Null from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestNewPubKey from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestPubKeyFromHex from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestPubKeyHex from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestPubKeyVerify from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestPubKeyVerifyNil from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestPubKeyVerifyDefault1 from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
move TestPubKeyToAddress2 from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
…hardware-wallet_tests

Conflicts:
	lib/cgo/tests/testutils/libsky_assert.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
…hardware-wallet_tests

Conflicts:
	Makefile
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
…rdware-wallet_tests

Conflicts:
	Makefile
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
…rdware-wallet_tests

Conflicts:
	Makefile
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
…ardware-wallet_tests

Conflicts:
	lib/cgo/tests/check_cipher.address.common.c
	lib/cgo/tests/check_cipher.crypto.c
	lib/cgo/tests/check_cipher.hash.c
	lib/cgo/tests/testutils/libsky_assert.c
	lib/cgo/tests/testutils/libsky_testutil.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
…t34_hardware-wallet_tests

Conflicts:
	lib/cgo/tests/check_cipher.crypto.c
	lib/cgo/tests/testutils/libsky_assert.c
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
 - TestAddressRoundtrip
 - TestAddressString
 - TestAddressBulk
 - TestDecodeBase58Address
ref #34
stdevMac pushed a commit that referenced this issue Nov 11, 2019
stdevMac pushed a commit that referenced this issue Nov 11, 2019
….27.0' into stdevAlDen_t34_hardware-wallet_tests

Conflicts:
	lib/cgo/tests/check_cipher.address.c
	lib/cgo/tests/testutils/libsky_assert.c
	lib/cgo/tests/testutils/libsky_testutil.c
ref #34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant