Client: rm attic/fail.tz (duplicate from macros/fail.tz) & improve TODO messages
This commit is contained in:
parent
e8fd44dca4
commit
87be7df584
@ -1,5 +0,0 @@
|
|||||||
parameter unit;
|
|
||||||
storage unit;
|
|
||||||
code
|
|
||||||
{ # This contract will never accept a incoming transaction
|
|
||||||
FAIL};
|
|
@ -44,24 +44,16 @@ assert_storage $contract_attic_dir/reverse.tz '{""}' '{ "c" ; "b" ; "a" }' '{ "a
|
|||||||
assert_storage $contract_attic_dir/loop_left.tz '{""}' '{}' '{}'
|
assert_storage $contract_attic_dir/loop_left.tz '{""}' '{}' '{}'
|
||||||
assert_storage $contract_attic_dir/loop_left.tz '{""}' '{ "c" ; "b" ; "a" }' '{ "a" ; "b" ; "c" }'
|
assert_storage $contract_attic_dir/loop_left.tz '{""}' '{ "c" ; "b" ; "a" }' '{ "a" ; "b" ; "c" }'
|
||||||
|
|
||||||
|
# TODO add tests for
|
||||||
# TODO [a-k] contracts in attic
|
# accounts.tz, add1_list.tz, add1.tz, after_strategy.tz, always.tz,
|
||||||
|
# append.tz, at_least.tz, auction.tz, bad_lockup.tz,
|
||||||
# List of transactions
|
# big_map_union.tz, cadr_annotation.tz, concat.tz, conditionals.tz,
|
||||||
# TODO
|
# cons_twice.tz, cps_fact.tz, create_add1_lists.tz,
|
||||||
|
# data_publisher.tz, dispatch.tz, empty.tz, fail_amount.tz,
|
||||||
|
# faucet.tz, forward.tz, id.tz, infinite_loop.tz,
|
||||||
# Queue
|
# insertion_sort.tz, int_publisher.tz, king_of_tez.tz,
|
||||||
# TODO
|
# list_of_transactions.tz, queue.tz, reduce_map.tz, reentrancy.tz,
|
||||||
|
# spawn_identities.tz
|
||||||
# Reduce map
|
|
||||||
# TODO
|
|
||||||
|
|
||||||
# Reentrancy
|
|
||||||
# TODO
|
|
||||||
|
|
||||||
# Spawn identities
|
|
||||||
# TODO
|
|
||||||
|
|
||||||
printf "\nEnd of test\n"
|
printf "\nEnd of test\n"
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ if [ ! $NO_TYPECHECK ] ; then
|
|||||||
printf "All contracts are well typed\n\n"
|
printf "All contracts are well typed\n\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO macro_annotations.tz, min.tz, pair_macro.tz, take_my_money.tz, unpair_macro.tz
|
# TODO add tests for fail.tz, macro_annotations.tz, min.tz, pair_macro.tz, take_my_money.tz, unpair_macro.tz
|
||||||
|
|
||||||
# FORMAT: assert_output contract_file storage input expected_result
|
# FORMAT: assert_output contract_file storage input expected_result
|
||||||
|
|
||||||
|
@ -32,8 +32,10 @@ fi
|
|||||||
|
|
||||||
# FORMAT: assert_output contract_file storage input expected_result
|
# FORMAT: assert_output contract_file storage input expected_result
|
||||||
|
|
||||||
# TODO lockup, originator, parameterized_multisig, reservoir, scrutable_reservoir,
|
# TODO add tests for the following contracts
|
||||||
# TODO weather_insurance, xcat_dapp, xcat
|
# lockup, originator, parameterized_multisig, reservoir, scrutable_reservoir,
|
||||||
|
# weather_insurance, xcat_dapp, xcat
|
||||||
|
# NB: hardlimit.tz is tested in test_basic.sh
|
||||||
|
|
||||||
# Test replay prevention
|
# Test replay prevention
|
||||||
init_with_transfer $contract_scenarios_dir/replay.tz $key2 Unit 0 bootstrap1
|
init_with_transfer $contract_scenarios_dir/replay.tz $key2 Unit 0 bootstrap1
|
||||||
|
@ -32,6 +32,9 @@ fi
|
|||||||
|
|
||||||
# FORMAT: assert_output contract_file storage input expected_result
|
# FORMAT: assert_output contract_file storage input expected_result
|
||||||
|
|
||||||
|
# TODO add tests for map_car.tz, subset.tz
|
||||||
|
# NB: noop.tz is tested in test_basic.sh
|
||||||
|
|
||||||
assert_storage $contract_op_dir/ret_int.tz None Unit '(Some 300)'
|
assert_storage $contract_op_dir/ret_int.tz None Unit '(Some 300)'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user