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
stdevAlDen opened this issue May 9, 2019 · 0 comments
Open

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

stdevAlDen opened this issue May 9, 2019 · 0 comments

Comments

@stdevAlDen
Copy link
Contributor

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

@stdevAlDen stdevAlDen changed the title Run tests in against hardware-wallet/skycoin-api Run tests against hardware-wallet/skycoin-api May 9, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 14, 2019
move isU8Eq from lib/cgo/tests/testutils/libsky_assert.c to lib/cgo/tests/testutils/common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 14, 2019
move TestAddSHA256 from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 14, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 14, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 14, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 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 skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
this commit should be reverted
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
move TestAddressString from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
move registerMemCleanup from lib/cgo/tests/testutils/libsky_testutil.c to lib/cgo/tests/testutils/common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
move TestAddressBulk from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
move TestAddressNull from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
move copyGoSlice_toGoSlice from lib/cgo/tests/testutils/libsky_testutil.c to lib/cgo/tests/testutils/common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
move TestAddressFromBytes from lib/cgo/tests/check_cipher.address.c to lib/cgo/tests/check_cipher.address.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 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 skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
moce TestHashRipemd160 from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
move TestSHA256KnownValue from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 15, 2019
move TestSumSHA256 from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 16, 2019
move TestSHA256Hex from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 16, 2019
move TestSHA256Set from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 16, 2019
move TestSHA256FromHex from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 16, 2019
move TestSHA256Null from lib/cgo/tests/check_cipher.hash.c to lib/cgo/tests/check_cipher.hash.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 17, 2019
move TestNewPubKey from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 17, 2019
move TestPubKeyFromHex from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 17, 2019
move TestPubKeyHex from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 17, 2019
move TestPubKeyVerify from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 17, 2019
move TestPubKeyVerifyNil from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 17, 2019
move TestPubKeyVerifyDefault1 from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 17, 2019
move TestPubKeyToAddress2 from lib/cgo/tests/check_cipher.crypto.c to lib/cgo/tests/check_cipher.crypto.common.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 23, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 23, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 23, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 23, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 23, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 23, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 23, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 24, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 24, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 26, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 26, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 26, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 27, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 27, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 29, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue May 29, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Jun 6, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Jun 6, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Jun 17, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Aug 19, 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 skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Aug 21, 2019
…t34_hardware-wallet_tests

Conflicts:
	lib/cgo/tests/check_cipher.crypto.c
	lib/cgo/tests/testutils/libsky_assert.c
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Aug 26, 2019
 - TestAddressRoundtrip
 - TestAddressString
 - TestAddressBulk
 - TestDecodeBase58Address
ref skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Aug 26, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Aug 26, 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 skycoin#34
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Aug 26, 2019
stdevAlDen added a commit to simelo/libskycoin.orig that referenced this issue Aug 26, 2019
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

Successfully merging a pull request may close this issue.

1 participant