Daniel Cousens
f20ffec8b3
tests: always use for, it testing style
2014-06-07 19:46:06 +10:00
Daniel Cousens
eb3a6bcb31
all: rename D to d as per SEC convention
2014-06-07 18:24:16 +10:00
Daniel Cousens
1d6b1fe58b
message: better variable names
2014-05-24 14:33:24 +10:00
Daniel Cousens
2114deba95
message: data-driven tests
2014-05-24 13:50:27 +10:00
Daniel Cousens
b2351f9026
tests: use JSON fixtures exclusively
2014-05-24 00:52:24 +10:00
Daniel Cousens
6eb167b2c8
message: remove unnecessary tests
2014-05-18 17:51:36 +10:00
Daniel Cousens
87567e008a
message: use base64 for signature data
2014-05-18 17:51:36 +10:00
Daniel Cousens
6b5990c6e2
message: support alternate networks
2014-05-18 17:51:36 +10:00
Daniel Cousens
dc69162757
message: remove signing verification
...
The signature verifications here are unnecessary, as this
is not what is under test.
2014-05-18 17:51:36 +10:00
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.
2014-05-13 18:05:56 +10:00
Daniel Cousens
7a740c2e7b
tests: forces consistent import syntax
2014-05-13 16:46:08 +10:00
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.
2014-05-08 10:59:58 +10:00
Daniel Cousens
dd049fc764
Adds magicHash test fixtures
2014-04-22 00:23:12 +10:00
Daniel Cousens
69823552c3
Moves network import to top
2014-04-22 00:23:12 +10:00
Daniel Cousens
5515fa6c49
Removes convert module usage
2014-04-22 00:23:11 +10:00
Daniel Cousens
b4f70dcdde
Migrates ECKey to stricter API
2014-04-18 06:36:27 +10:00
Daniel Cousens
f047afef2d
Updates network.js constant names
2014-04-17 05:50:59 +10:00
Daniel Cousens
c521add619
Moves shared constants initialization to beforeEach
2014-03-31 08:21:57 +11:00
Daniel Cousens
78e91e8648
Further isolates failure tests and joins [un]/compressed key tests
2014-03-29 17:06:33 +11:00
Daniel Cousens
38f09b49e9
Now using Bytes consistently for signatures
2014-03-29 06:05:07 +11:00
Daniel Cousens
7ec046f797
Changes Message.*Message function names to Message.*
2014-03-29 06:03:43 +11:00
Wei Lu
d7eb87433c
isolate Message.verifyMessage tests from Message.signMessage
2014-03-28 16:32:51 +08:00
Daniel Cousens
e03f938ced
Adds failing test for Message.verifyMessage
2014-03-28 16:44:00 +11:00
Daniel Cousens
b40374e332
Changes to new version-less ECKey API
2014-03-22 19:12:26 +11:00
Andreas Brekken
29ad6b692e
Message signing does not work with compressed keys. ref #61
2014-03-11 18:25:36 +01:00
Andreas Brekken
f591cc0111
Reformat all tests for more modern mocha syntax (describe, it)
2014-01-11 13:57:43 +07:00
Roman Shtylman
41f0027883
port message to common.js style and add tests
2013-03-02 12:28:13 -05:00