DEV Community

Ramkumar SG for RippleX Developers

Posted on

Token Escrow - Testcases

  1. Test Token Escrow create and finish iou with lsfAllowTokenEscrow flag
  2. Test Token Escrow create iou with requires authorization and both parties authorized
  3. Test Token Escrow create iou with requires authorization and destination unauthorized
  4. Test Token Escrow create iou after global freeze
  5. Test Token Escrow finish iou after global freeze
  6. Test Token Escrow cancel iou after global freeze
  7. Test Token Escrow create iou after individual freeze source
  8. Test Token Escrow finish iou after individual freeze source
  9. Test Token Escrow cancel iou after individual freeze source
  10. Test Token Escrow create iou after individual freeze destination
  11. Test Token Escrow finish iou after individual freeze destination
  12. Test Token Escrow cancel iou after individual freeze destination
  13. Test Token Escrow create iou after deep freeze source
  14. Test Token Escrow finish iou after deep freeze source
  15. Test Token Escrow cancel iou after deep freeze source
  16. Test Token Escrow create iou after deep freeze destination
  17. Test Token Escrow finish iou after deep freeze destination
  18. Test Token Escrow cancel iou after deep freeze destination
  19. Test Token Escrow create iou without lsfAllowTokenEscrow flag
  20. Test Token Escrow create iou and cancel
  21. Test Token Escrow create iou finishafter in past
  22. Test Token Escrow create iou cancelafter in past
  23. Test Token Escrow create iou with non existent destination account
  24. Test Token Escrow create iou with invalid funds[None]
  25. Test Token Escrow create iou with invalid funds[]
  26. Test Token Escrow create iou with bad funds[0]
  27. Test Token Escrow create iou with bad funds[-1]
  28. Test Token Escrow create iou with more than available
  29. Test Token Escrow create iou with both finishafter and cancelafter missing
  30. Test Token Escrow finish iou by third party
  31. Test Token Escrow cancel iou by third party
  32. Test Token Escrow finish iou with incorrect owner
  33. Test Token Escrow finish iou with self as owner
  34. Test Token Escrow iou with regular key to create and finish
  35. Test Token Escrow iou with regular key to create and cancel
  36. Test Token Escrow create and finish iou with destination same as source
  37. Test Token Escrow finish iou with destination same as source after global freeze
  38. Test Token Escrow finish iou with destination same as source after deep freeze
  39. Test Token Escrow create iou with same finish after and cancel after
  40. Test Token Escrow create iou with no source address
  41. Test Token Escrow create iou with no destination address
  42. Test Token Escrow create iou with non existent source
  43. Test Token Escrow create iou cancel after before finish after
  44. Test Token Escrow create iou with only cancel after
  45. Test Token Escrow create iou with no trustline on source
  46. Test Token Escrow create iou with no trustline on destination
  47. Test Token Escrow create iou with just base reserve
  48. Test Token Escrow create finish iou multiple escrows
  49. Test Token Escrow create iou and delete source
  50. Test Token Escrow create iou and delete destination
  51. Test Token Escrow cancel iou and delete source
  52. Test Token Escrow finish iou with destination having preauth enabled
  53. Test Token Escrow finish with different iou than in escrow create
  54. Test Token Escrow iou with offer create
  55. Test Token Escrow iou with multi sign key escrow finish cash using regular key
  56. Test Token Escrow iou with regular key escrow finish cash using multi sign key
  57. Test Token Escrow create and finish iou on tickets
  58. Test Token Escrow delegate create and finish escrow iou
  59. Test Token Escrow clawback iou after escrow finish
  60. Test account objects of Token Escrow iou create and finish
  61. Test account objects of Token Escrow iou create and cancel
  62. Test account objects of Token Escrow mpt create and finish
  63. Test account objects of Token Escrow create mpt and cancel
  64. Test tx of Token Escrow iou create and finish
  65. Test tx of Token Escrow iou create and cancel
  66. Test tx of Token Escrow mpt create and finish
  67. Test tx of Token Escrow create mpt and cancel
  68. Test ledger entry of Token Escrow iou create and finish
  69. Test ledger entry of Token Escrow iou create and cancel
  70. Test ledger entry of Token Escrow mpt create and finish
  71. Test ledger entry of Token Escrow create mpt and cancel
  72. Test mpt holders of Token Escrow mpt create and finish
  73. Test mpt holders of Token Escrow mpt create and cancel

Top comments (0)