Igor Mandrigin
21132a441f
Remove creating global `_status_catalog` variable
2018-01-09 17:53:33 +01:00
Caner Çıdam
5c8b7758d5
add the missing dot at the end of comment sentence
2018-01-04 09:38:53 +01:00
Caner Çıdam
a3663fa1cc
fewer s.reinitMock() lines using SetupTest
2018-01-04 09:38:53 +01:00
Caner Çıdam
2d4391704e
short comment for TestAccounts
2018-01-04 09:38:53 +01:00
Caner Çıdam
813c6df5f0
reduce error check in TestSelectAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
83e71f3e4f
fix order of s.Equal args
2018-01-04 09:38:53 +01:00
Caner Çıdam
74f38d4f94
update rest of the tests: expected errors
2018-01-04 09:38:53 +01:00
Caner Çıdam
c0acd033a1
update table-driven tests: expected errors
2018-01-04 09:38:53 +01:00
Caner Çıdam
90123f4f40
remove unnecessary check in TestAddressToDecryptedAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
491b4ca3ce
split TestCreateAndRecoverAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
ca5b34afb7
verify accounts in TestAddressToDecryptedAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
f31fcd6c90
fix NotNil misuse
2018-01-04 09:38:53 +01:00
Caner Çıdam
1daeeee4fd
few changes to TestSelectedAndReSelectAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
b37a1ced0d
remove repetitive account creation from tests
2018-01-04 09:38:53 +01:00
Caner Çıdam
8c1b1e265c
add TestAddressToDecryptedAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
1326a1ab36
add TestAccounts
2018-01-04 09:38:53 +01:00
Caner Çıdam
f3257da15e
add TestLogout and test errors
2018-01-04 09:38:53 +01:00
Caner Çıdam
1f0655eba6
add TestSelectedAndReSelectAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
f92aff3eb0
add TestSelectedAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
48d75d135c
finalize TestCreateChildAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
3fd4e04f59
workaround for EXPECT().Times(int)
2018-01-04 09:38:53 +01:00
Caner Çıdam
7b3c0d9e85
use a test suite to keep it DRY
2018-01-04 09:38:53 +01:00
Caner Çıdam
6ce30e158b
remove extra lines & rename whisper service var
2018-01-04 09:38:53 +01:00
Caner Çıdam
f15d16ba1e
add test cases for SelectAccount
2018-01-04 09:38:53 +01:00
Caner Çıdam
3b4ee527f2
remove unnecessary comment
2018-01-04 09:38:53 +01:00
Caner Çıdam
3f952ebb50
rename
2018-01-04 09:38:53 +01:00
Caner Çıdam
521b841f53
don't fail on empty password
2018-01-04 09:38:53 +01:00
Caner Çıdam
87531d015f
refactor tests
2018-01-04 09:38:53 +01:00
Caner Çıdam
18c41df326
tests for account creation and recovery
2018-01-04 09:38:53 +01:00
Pedro Pombeiro
d4782a3f1e
Change expected warning log level from `WARNING` to `WARN` ( #526 )
2018-01-03 15:11:21 +01:00
Donnie Adams
373fc86d1e
Change Loop API to prevent it from accepting tasks when the loop is closed #415 ( #448 )
2017-12-28 22:50:36 +02:00
Adam Babik
b7fb51d92a
Refactor shh_requestMessages method ( #513 )
2017-12-21 11:26:01 +01:00
b00ris
ba6c96532b
add enode to request messages params ( #508 )
2017-12-12 12:00:17 +01:00
Caner Çıdam
34df7e8abb
CreateAndInitCell should allow reinitializing a cell #497 ( #500 )
...
Changes Jail.createCell to Jail.obtainCell, which alters the error-throwing behaviour for better Jail.CreateAndInitCell
This PR allows cells to be reinitialized without being recreated.
Important changes:
- Calling with same cell ID won't cause any errors.
- Consecutive calls with same cell ID only reinitialize existing cell.
- Parse in library.go uses StatusAPI.CreateAndInitCell.
2017-12-08 22:32:30 +07:00
Evgeny Danilenko
919ab285d3
add password for MailServer encryption ( #494 )
2017-12-07 17:58:11 +01:00
b00ris
9559ff074a
Support for historic messages from MailServer ( #503 )
...
Add `shh_requestMessages` RPC method. It sends a message to MailServer that can return cached, possibly expired, Whisper message.
2017-12-07 14:37:43 +01:00
Evgeny Danilenko
596b7ea2e1
whisper standalone mode ( #498 )
2017-12-07 13:07:45 +01:00
Adam Babik
ac76e4731f
Prepare wnode-status to support MailServer ( #477 )
2017-12-04 17:11:14 +01:00
Frank Mueller
bddf15d74f
Add internal RPC server and statusd-cli client ( #463 )
2017-12-02 19:51:55 +01:00
b00ris
c530611642
Fix race #452 ( #454 )
...
It fixes race conditions in `geth/signal`.
2017-11-28 14:17:15 +01:00
b00ris
6bf980a1a7
Issue/fix dataraces in jail tests#457 ( #460 )
2017-11-27 22:56:52 +01:00
monokh
0a82e67379
Improve JSON-RPC handling for raw requests/responses, Fixes #364 ( #458 )
2017-11-27 19:53:33 +01:00
Adam Babik
a22638f421
be consistent with comments
2017-11-23 13:51:52 +01:00
Adam Babik
47d16bffd0
fix Parse
2017-11-23 13:47:20 +01:00
Adam Babik
98b3f330af
bring back Parse binding
2017-11-23 13:37:59 +01:00
perissology
f0beeb3829
fix failing tests in PRs from other repos, fixes #459 ( #461 )
...
Fix failing tests for users w/o access to the ACCOUNT_PASSWORD env variable. Disable e2e public network tests in Travis pull requests. Exclude lib dir from unit tests.
2017-11-20 10:21:30 -08:00
Evgeny Danilenko
209d5fed74
Issue/fix public testnet tests #424 ( #438 )
...
* Accounts are now encrypted with a strong passphrase.
* The encrypted passphrase is stored in .travis.yml
* Public testnet tests are now run after tests on a private net
2017-11-07 12:46:11 -05:00
Adam Babik
086747a695
Refactor jail part 2 ( #401 )
...
Refactor jail so that it's more self-descriptive and easier to understand by newcomers. Also, the test coverage has been improved.
Changes requiring status-react team actions:
* Replace Parse calls with new CreateAndInitCell and ExecuteJS bindings,
* Make sure web3.isConnected is ok as its response change to boolean value.
2017-11-07 12:36:42 -05:00
Ewetumo Alexander
cb5ccb52c4
Emit messages logs for processing and sorting out messaging problems ( #420 )
...
* Add DeliveryService to Whisper to track incoming and outgoing messages.
* Have log tagged log lines for incoming and outgoing messages.
2017-11-06 14:10:52 -05:00
Adam Babik
a19e502686
Remove go.rice in favour of go generate ( #444 )
...
As fetch.go was the only consumer of go.rice, it could be safely removed in favour of go-bindata and go generate.
Motivation to do that was the fact that go.rice throws panic in iOS when compiled with gomobile.
2017-11-03 18:11:37 -04:00