Igor Mandrigin
45d75da7cb
.gitignore: add vim swap files ( #545 )
2018-01-09 18:28:03 +01:00
Igor Mandrigin
21132a441f
Remove creating global `_status_catalog` variable
2018-01-09 17:53:33 +01:00
Adrià Cidre
d71c66a243
Add mockgen dependency on the Readme to run make ci ( #533 )
2018-01-04 17:04:40 +01:00
Dmitry Shulyak
ece5e367f6
Register testify command line flags ( #528 )
2018-01-04 14:57:50 +02:00
Pedro Pombeiro
a79b1f6f7b
xgo: Use statusteam/xgo Docker image, based on Go 1.9.2 instead of 1.8.3 ( #520 )
2018-01-04 10:47:10 +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
Adam Babik
da4c0d1db9
Update Dockerfile ( #521 )
2018-01-03 20:50:19 +02: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
b00ris
97c473ad7a
Add group messaging MailServer test case ( #515 )
...
This e2e test exchanges a message between a group of three nodes and checks if MailServer properly responds to a request for historic messages.
2017-12-26 13:21:07 +01:00
Adam Babik
b7fb51d92a
Refactor shh_requestMessages method ( #513 )
2017-12-21 11:26:01 +01:00
Davor Kapsa
3ff44f545b
travis: update go version to 1.9.x ( #507 )
2017-12-21 11:52:00 +07:00
Ivan Tomilov
b5b8219c41
Add Code Style section into CONTRIBUTING.md ( #512 )
2017-12-14 09:55:44 +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
Pedro Pombeiro
ee034fc880
Add instructions to install gometalinter in Readme ( #506 )
2017-12-08 12:54:07 +01: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
Roman Volosovskyi
5446a09029
send message with build version in slack (parametrized build) ( #495 )
2017-12-05 09:35:12 +01:00
Evgeny Danilenko
6c2ddc4455
expose AddPeer binding ( #493 )
...
AddPeer binding is required to support peers with special roles like Whisper node with MailServer.
2017-12-04 17:21:02 +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