Mike Hearn
de40a2082d
Minor: introduce Institution.ref() to get an InstitutionReference
2015-11-27 14:49:08 +01:00
Mike Hearn
472d57e262
Testing: Allow "label".output inside typed TransactionGroupForTest
2015-11-27 13:50:44 +01:00
Mike Hearn
3172b0b86a
Contracts: commercial paper issue command doesn't need a nonce, and fix a bug in the unit tests.
2015-11-25 18:14:33 +01:00
Mike Hearn
ff05cb4a4c
Contract: rewrite and finish off tests for commercial paper, using improved test DSL
2015-11-25 17:40:27 +01:00
Mike Hearn
5285d3bb47
Minor: define contracts as regular classes instead of using the kotlin singleton syntax
2015-11-24 15:22:19 +01:00
Mike Hearn
636279ced9
Minor: test dsl, rename recursive transaction method to 'tweak' to better describe what it does.
2015-11-18 13:45:04 +01:00
Mike Hearn
f0557e106d
Minor: reorganise the test directory to match the src directory
2015-11-18 13:29:18 +01:00
Mike Hearn
aecc1de0cf
Contracts: make the Cash craftSpend/generate function update a mutable transaction instead of returning a unit test structure.
...
Tests: move TestUtils into the test package now the cash contract generate function works the right way.
Transactions: various refactorings to support partially signed transactions.
2015-11-16 20:36:27 +01:00
Mike Hearn
d1a605de6f
Contracts: Rename ComedyPaper to CommercialPaper and rewrite the comment at the top to flag its not-realistic status.
2015-11-16 12:42:16 +01:00