Remove network package testing implementation

This commit is contained in:
dtvv 2018-09-03 10:29:35 -06:00
parent f6c92963e2
commit 4a566a1e3a
2 changed files with 2 additions and 16 deletions

View file

@ -37,7 +37,6 @@ import cy.agorise.crystalwallet.randomdatagenerators.RandomCryptoNetAccountGener
import cy.agorise.crystalwallet.randomdatagenerators.RandomSeedGenerator;
import cy.agorise.crystalwallet.randomdatagenerators.RandomTransactionsGenerator;
import cy.agorise.crystalwallet.application.CrystalSecurityMonitor;
import cy.agorise.crystalwallet.util.NetworkUtility;
import cy.agorise.crystalwallet.viewmodels.AccountSeedListViewModel;
import cy.agorise.crystalwallet.viewmodels.TransactionListViewModel;
import cy.agorise.crystalwallet.views.TransactionListView;

View file

@ -212,30 +212,17 @@ class BitsharesAccountNameValidation : CustomValidationField, UIValidator {
}
}
/*
* Listener for websocket error
* */
GrapheneApiGenerator.setActivity(activity); //Set the activity to catch errors
/*GrapheneApiGenerator.setActivity(activity); //Set the activity to catch errors
val onErrorWebSocker = object : GrapheneApiGenerator.OnErrorWebSocket {
override fun onError(exception: java.lang.Exception?) {
/*
*
* Hide loading dialog
*
* */
creatingAccountMaterialDialog.dismiss();
}
}
GrapheneApiGenerator.setOnErrorWebSocket(onErrorWebSocker); //Set the activity to catch errors
/*
*
* Run thread*/
CryptoNetInfoRequests.getInstance().addRequest(request)
CryptoNetInfoRequests.getInstance().addRequest(request)*/
}/*
* Passed initial validations, next final validations
* */