mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 17:29:23 +00:00
remove wallet specific derivePathType tests as it was removed from the wallet files
This commit is contained in:
parent
fb3f430edc
commit
700084f708
5 changed files with 5 additions and 29 deletions
|
@ -11,6 +11,7 @@ import 'package:stackwallet/models/paymint/fee_object_model.dart';
|
|||
import 'package:stackwallet/services/coins/bitcoin/bitcoin_wallet.dart';
|
||||
import 'package:stackwallet/services/transaction_notification_tracker.dart';
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart';
|
||||
import 'package:stackwallet/utilities/enums/derive_path_type_enum.dart';
|
||||
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart';
|
||||
|
||||
import 'bitcoin_wallet_test.mocks.dart';
|
||||
|
@ -39,12 +40,6 @@ void main() async {
|
|||
});
|
||||
});
|
||||
|
||||
test("bitcoin DerivePathType enum", () {
|
||||
expect(DerivePathType.values.length, 3);
|
||||
expect(DerivePathType.values.toString(),
|
||||
"[DerivePathType.bip44, DerivePathType.bip49, DerivePathType.bip84]");
|
||||
});
|
||||
|
||||
group("bip32 node/root", () {
|
||||
test("getBip32Root", () {
|
||||
final root = getBip32Root(TEST_MNEMONIC, bitcoin);
|
||||
|
|
|
@ -11,6 +11,7 @@ import 'package:stackwallet/models/paymint/fee_object_model.dart';
|
|||
import 'package:stackwallet/services/coins/bitcoincash/bitcoincash_wallet.dart';
|
||||
import 'package:stackwallet/services/transaction_notification_tracker.dart';
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart';
|
||||
import 'package:stackwallet/utilities/enums/derive_path_type_enum.dart';
|
||||
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart';
|
||||
|
||||
import 'bitcoincash_wallet_test.mocks.dart';
|
||||
|
@ -40,12 +41,6 @@ void main() async {
|
|||
});
|
||||
});
|
||||
|
||||
test("bitcoincash DerivePathType enum", () {
|
||||
expect(DerivePathType.values.length, 2);
|
||||
expect(DerivePathType.values.toString(),
|
||||
"[DerivePathType.bip44, DerivePathType.bip49]");
|
||||
});
|
||||
|
||||
group("bip32 node/root", () {
|
||||
test("getBip32Root", () {
|
||||
final root = getBip32Root(TEST_MNEMONIC, bitcoincash);
|
||||
|
|
|
@ -11,6 +11,7 @@ import 'package:stackwallet/models/paymint/fee_object_model.dart';
|
|||
import 'package:stackwallet/services/coins/dogecoin/dogecoin_wallet.dart';
|
||||
import 'package:stackwallet/services/transaction_notification_tracker.dart';
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart';
|
||||
import 'package:stackwallet/utilities/enums/derive_path_type_enum.dart';
|
||||
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart';
|
||||
|
||||
import 'dogecoin_wallet_test.mocks.dart';
|
||||
|
@ -39,11 +40,6 @@ void main() {
|
|||
});
|
||||
});
|
||||
|
||||
test("dogecoin DerivePathType enum", () {
|
||||
expect(DerivePathType.values.length, 1);
|
||||
expect(DerivePathType.values.toString(), "[DerivePathType.bip44]");
|
||||
});
|
||||
|
||||
group("bip32 node/root", () {
|
||||
test("getBip32Root", () {
|
||||
final root = getBip32Root(TEST_MNEMONIC, dogecoin);
|
||||
|
|
|
@ -10,6 +10,7 @@ import 'package:stackwallet/models/paymint/fee_object_model.dart';
|
|||
import 'package:stackwallet/services/coins/namecoin/namecoin_wallet.dart';
|
||||
import 'package:stackwallet/services/transaction_notification_tracker.dart';
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart';
|
||||
import 'package:stackwallet/utilities/enums/derive_path_type_enum.dart';
|
||||
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart';
|
||||
|
||||
import 'namecoin_wallet_test.mocks.dart';
|
||||
|
@ -38,12 +39,6 @@ void main() {
|
|||
});
|
||||
});
|
||||
|
||||
test("namecoin DerivePathType enum", () {
|
||||
expect(DerivePathType.values.length, 3);
|
||||
expect(DerivePathType.values.toString(),
|
||||
"[DerivePathType.bip44, DerivePathType.bip49, DerivePathType.bip84]");
|
||||
});
|
||||
|
||||
group("bip32 node/root", () {
|
||||
test("getBip32Root", () {
|
||||
final root = getBip32Root(TEST_MNEMONIC, namecoin);
|
||||
|
|
|
@ -10,6 +10,7 @@ import 'package:stackwallet/models/paymint/fee_object_model.dart';
|
|||
import 'package:stackwallet/services/coins/particl/particl_wallet.dart';
|
||||
import 'package:stackwallet/services/transaction_notification_tracker.dart';
|
||||
import 'package:stackwallet/utilities/enums/coin_enum.dart';
|
||||
import 'package:stackwallet/utilities/enums/derive_path_type_enum.dart';
|
||||
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart';
|
||||
|
||||
import 'particl_wallet_test.mocks.dart';
|
||||
|
@ -39,12 +40,6 @@ void main() {
|
|||
});
|
||||
});
|
||||
|
||||
test("particl DerivePathType enum", () {
|
||||
expect(DerivePathType.values.length, 2);
|
||||
expect(DerivePathType.values.toString(),
|
||||
"[DerivePathType.bip44, DerivePathType.bip84]");
|
||||
});
|
||||
|
||||
group("bip32 node/root", () {
|
||||
test("getBip32Root", () {
|
||||
final root = getBip32Root(TEST_MNEMONIC, particl);
|
||||
|
|
Loading…
Reference in a new issue