From 503faa051d7eb27c444958fecb499b25b00ece05 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Wed, 5 Oct 2016 17:08:40 -0300 Subject: [PATCH] rename PullPaymentCapable=>PullPayment --- contracts/{PullPaymentCapable.sol => PullPayment.sol} | 0 contracts/test-helpers/PullPaymentMock.sol | 9 +++++++++ test/{PullPaymentCapable.js => PullPayment.js} | 0 3 files changed, 9 insertions(+) rename contracts/{PullPaymentCapable.sol => PullPayment.sol} (100%) create mode 100644 contracts/test-helpers/PullPaymentMock.sol rename test/{PullPaymentCapable.js => PullPayment.js} (100%) diff --git a/contracts/PullPaymentCapable.sol b/contracts/PullPayment.sol similarity index 100% rename from contracts/PullPaymentCapable.sol rename to contracts/PullPayment.sol diff --git a/contracts/test-helpers/PullPaymentMock.sol b/contracts/test-helpers/PullPaymentMock.sol new file mode 100644 index 000000000..ddf5c5f96 --- /dev/null +++ b/contracts/test-helpers/PullPaymentMock.sol @@ -0,0 +1,9 @@ +import '../PullPayment.sol'; + +// mock class using PullPayment +contract PullPaymentMock is PullPayment { + // test helper function to call asyncSend + function callSend(address dest, uint amount) external { + asyncSend(dest, amount); + } +} diff --git a/test/PullPaymentCapable.js b/test/PullPayment.js similarity index 100% rename from test/PullPaymentCapable.js rename to test/PullPayment.js