peerplays_migrated/tests/tests
theoreticalbts 68a0ffa1aa Make is_authorized_asset a free-floating method #566
The following sed commands were used to port existing call sites to the new interface:

    sed -i -e 's/\([a-zA-Z0-9_]\+\)->is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, *\1, \2 )/' libraries/chain/*.cpp
    sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, \1, \2 )/' libraries/chain/*.cpp
    sed -i -e 's/\([a-zA-Z0-9_]\+\)[(]db[)][.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\)[(]db[)], db[)]/is_authorized_asset( db, \1(db), \2(db) )/' tests/tests/uia_tests.cpp
    sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\), db[)]/is_authorized_asset( db, \1, \2 )/' tests/tests/uia_tests.cpp

No new functionality is added by this commit, it is simply re-organizing the existing code in a different place.
2016-02-11 01:57:22 -05:00
..
authority_tests.cpp [License] Modify cpp and hpp headers to MIT #496 2016-01-07 11:44:52 -05:00
basic_tests.cpp [License] Modify cpp and hpp headers to MIT #496 2016-01-07 11:44:52 -05:00
block_tests.cpp market_object.hpp: Move market objects into own header #466 2016-01-08 11:36:32 -05:00
confidential_tests.cpp [License] Modify cpp and hpp headers to MIT #496 2016-01-07 11:44:52 -05:00
database_tests.cpp [License] Modify cpp and hpp headers to MIT #496 2016-01-07 11:44:52 -05:00
fee_tests.cpp market_object.hpp: Move market objects into own header #466 2016-01-08 11:36:32 -05:00
main.cpp [License] Modify cpp and hpp headers to MIT #496 2016-01-07 11:44:52 -05:00
operation_tests.cpp market_object.hpp: Move market objects into own header #466 2016-01-08 11:36:32 -05:00
operation_tests2.cpp worker_object.hpp: Move worker objects into own header #466 2016-01-08 11:42:35 -05:00
serialization_tests.cpp Merge branch '500-crypto-api' into develop 2016-01-07 17:24:13 -05:00
uia_tests.cpp Make is_authorized_asset a free-floating method #566 2016-02-11 01:57:22 -05:00