Daniel Cousens
e9193df290
message: cease accepting an Address object
10 years ago
Daniel Cousens
ec9cea0cf1
tests: use strictEqual always
10 years ago
Daniel Cousens
4c8b0f38ea
replace ECKey/ECPubKey with ECPair
10 years ago
Daniel Cousens
8d3686d046
remove deprecated functionality
10 years ago
Daniel Cousens
bdb372da7d
rename Message to message
10 years ago
Daniel Cousens
399803affa
use standardjs formatting
10 years ago
Daniel Cousens
3a17e232ad
tests: remove unused variable
10 years ago
Daniel Cousens
82d8e20793
tests: avoid unnecessary .ok
11 years ago
Daniel Cousens
4b52c42c91
Message: allow base64 strings as input
11 years ago
Daniel Cousens
ee66c41dd4
message: add missing test for Address
11 years ago
Daniel Cousens
f20ffec8b3
tests: always use for, it testing style
11 years ago
Daniel Cousens
eb3a6bcb31
all: rename D to d as per SEC convention
11 years ago
Daniel Cousens
1d6b1fe58b
message: better variable names
11 years ago
Daniel Cousens
2114deba95
message: data-driven tests
11 years ago
Daniel Cousens
b2351f9026
tests: use JSON fixtures exclusively
11 years ago
Daniel Cousens
6eb167b2c8
message: remove unnecessary tests
11 years ago
Daniel Cousens
87567e008a
message: use base64 for signature data
11 years ago
Daniel Cousens
6b5990c6e2
message: support alternate networks
11 years ago
Daniel Cousens
dc69162757
message: remove signing verification
The signature verifications here are unnecessary, as this
is not what is under test.
11 years ago
Daniel Cousens
6c0eebe94b
tests: use filepaths directly
After a long IRC discussion, it was decided that the use of direct
filepaths instead of the module is a more pure form of testing ,
although it may provide less overall coverage than the mixed integration
style imports used previously.
This will need to be remedied by further integration testing in
/test/integration.
11 years ago
Daniel Cousens
7a740c2e7b
tests: forces consistent import syntax
11 years ago
Daniel Cousens
57b8afbdab
Network: rename Network to Networks
This change removes the most common ambiguities.
As the network module is not representative of a class, the lower case
has been used.
11 years ago
Daniel Cousens
dd049fc764
Adds magicHash test fixtures
11 years ago
Daniel Cousens
69823552c3
Moves network import to top
11 years ago
Daniel Cousens
5515fa6c49
Removes convert module usage
11 years ago
Daniel Cousens
b4f70dcdde
Migrates ECKey to stricter API
11 years ago
Daniel Cousens
f047afef2d
Updates network.js constant names
11 years ago
Daniel Cousens
c521add619
Moves shared constants initialization to beforeEach
11 years ago
Daniel Cousens
78e91e8648
Further isolates failure tests and joins [un]/compressed key tests
11 years ago
Daniel Cousens
38f09b49e9
Now using Bytes consistently for signatures
11 years ago
Daniel Cousens
7ec046f797
Changes Message.*Message function names to Message.*
11 years ago
Wei Lu
d7eb87433c
isolate Message.verifyMessage tests from Message.signMessage
11 years ago
Daniel Cousens
e03f938ced
Adds failing test for Message.verifyMessage
11 years ago
Daniel Cousens
b40374e332
Changes to new version-less ECKey API
11 years ago
Andreas Brekken
29ad6b692e
Message signing does not work with compressed keys. ref #61
11 years ago
Andreas Brekken
f591cc0111
Reformat all tests for more modern mocha syntax (describe, it)
11 years ago
Roman Shtylman
41f0027883
port message to common.js style and add tests
12 years ago