eos icon indicating copy to clipboard operation
eos copied to clipboard

Create unit tests for uncovered areas of transaction.cpp

Open gleehokie opened this issue 8 years ago • 4 comments

Look at the code coverage report for transaction.cpp, note the uncovered code areas and add tests to cover those areas.

I suspect that signed_transaction::sign and template<size_t Limit> struct read_limiter are dead code and can be removed, but that needs to be verified.

gleehokie avatar May 04 '18 21:05 gleehokie

I suspect that signed_transaction::sign and template<size_t Limit> struct read_limiter are dead code and can be removed, but that needs to be verified

Both these are referred by many parts of the code, especally the plug-ins like wallet, transaction tester plug in etc. Hence these functions need to be maintained

dhaneshvb avatar May 09 '18 07:05 dhaneshvb

After going through the code, it seems all the major features of the transaction module is covered in various test cases

dhaneshvb avatar May 14 '18 06:05 dhaneshvb

Pull request https://github.com/EOSIO/eos/pull/3203 added.

taokayan avatar May 18 '18 09:05 taokayan

#3203 is merged

andriantolie avatar Jul 19 '18 06:07 andriantolie