diff options
author | gluk256 <gluk256@users.noreply.github.com> | 2016-12-20 07:58:01 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2016-12-20 07:58:01 +0800 |
commit | ba996f5e27572e853bcc5c815ae72082a15c9183 (patch) | |
tree | 16d6fd41d3d77208597683c71bdc9af603d43a77 /whisper/shhapi/api_test.go | |
parent | 64bf5bafe9ced66bfb11f34fed9181aa89399473 (diff) | |
download | dexon-ba996f5e27572e853bcc5c815ae72082a15c9183.tar dexon-ba996f5e27572e853bcc5c815ae72082a15c9183.tar.gz dexon-ba996f5e27572e853bcc5c815ae72082a15c9183.tar.bz2 dexon-ba996f5e27572e853bcc5c815ae72082a15c9183.tar.lz dexon-ba996f5e27572e853bcc5c815ae72082a15c9183.tar.xz dexon-ba996f5e27572e853bcc5c815ae72082a15c9183.tar.zst dexon-ba996f5e27572e853bcc5c815ae72082a15c9183.zip |
whisper: refactoring (#3411)
* whisper: refactored message processing
* whisper: final polishing
* whisper: logging updated
* whisper: moved the check, changed the default PoW
* whisper: refactoring of message queuing
* whisper: refactored parameters
Diffstat (limited to 'whisper/shhapi/api_test.go')
-rw-r--r-- | whisper/shhapi/api_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/whisper/shhapi/api_test.go b/whisper/shhapi/api_test.go index 13a7cee66..a10e2e476 100644 --- a/whisper/shhapi/api_test.go +++ b/whisper/shhapi/api_test.go @@ -277,6 +277,9 @@ func TestIntegrationAsym(t *testing.T) { t.Fatalf("failed to create API.") } + api.Start() + defer api.Stop() + sig, err := api.NewIdentity() if err != nil { t.Fatalf("failed NewIdentity: %s.", err) @@ -375,6 +378,9 @@ func TestIntegrationSym(t *testing.T) { t.Fatalf("failed to create API.") } + api.Start() + defer api.Stop() + keyname := "schluessel" err := api.GenerateSymKey(keyname) if err != nil { @@ -471,6 +477,9 @@ func TestIntegrationSymWithFilter(t *testing.T) { t.Fatalf("failed to create API.") } + api.Start() + defer api.Stop() + keyname := "schluessel" err := api.GenerateSymKey(keyname) if err != nil { |