Skip to content

Commit

Permalink
Fix table formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ermyas committed Nov 8, 2023
1 parent f1f14d8 commit 580ecf0
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions test/unit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,29 +183,30 @@ Tests: [RootERC20FlowRate.t.sol](./root/RootERC20FlowRate.t.sol)


**Operational functions testing:**
| Test name |Description | Happy Case |
|---------------------------------| --------------------------------------------------|------------|
| `testWithdrawalERC20` | _withdraw() small amount, no queue | Yes |
| `testWithdrawalEther` | _withdraw() small amount, no queue | Yes |
| `testWithdrawalBadData` | _withdraw() with data parameter too small | No |
| `testWithdrawalUnconfiguredToken` | _withdraw() with unconfigured child / root token | No |
| `testWithdrawalLargeWithdrawal` | _withdraw() with large value | Yes |
| `testWithdrawalLargeWithdrawal` | _withdraw() causing high flow rate | Yes |
| `testHighFlowRate` | _withdraw() with withdrawal queue active | Yes |
| `testFinaliseQueuedWithdrawalERC20` | finaliseQueuedWithdrawal for an ERC20 | Yes |
| `testFinaliseQueuedWithdrawalEther` | finaliseQueuedWithdrawal for a Ether | Yes |
| `testFinaliseQueuedWithdrawalOutOfBounds` | finaliseQueuedWithdrawal when index is out of range for all withdrawals | No |
| `testFinaliseQueuedWithdrawalAlreadyProcessed` | finaliseQueuedWithdrawal for index already processed | No |
| `testFinaliseQueuedWithdrawalTooEarly` | finaliseQueuedWithdrawal before withdrawal delay | No |
| `testFinaliseQueuedWithdrawalsAggregatedERC20` | finaliseQueuedWithdrawalsAggregated for ERC20 | Yes |
| `testFinaliseQueuedWithdrawalsAggregatedEther` | finaliseQueuedWithdrawalsAggregated for Ether | Yes |
| `testFinaliseQueuedWithdrawalsAggregatedOutOfBounds` | finaliseQueuedWithdrawalsAggregated when index is out of range for all withdrawals | No |
| `testFinaliseQueuedWithdrawalsAggregatedAlreadyProcessed` | finaliseQueuedWithdrawalsAggregated for index already processed | No |
| `testFinaliseQueuedWithdrawalsAggregatedTooEarly` | finaliseQueuedWithdrawalsAggregated before withdrawal delay | No |
| `testFinaliseQueuedWithdrawalsAggregatedMismatch` | finaliseQueuedWithdrawalsAggregated with mismatch tokens | No |
| `testFinaliseQueuedWithdrawalsAggregatedNoIndices` | finaliseQueuedWithdrawalsAggregated with indices array zero length | No |
| `testFinaliseQueuedWithdrawalsReentrancy` | finaliseQueuedWithdrawals for reentrancy attacks | No |
| `testFinaliseQueuedWithdrawalsAggregatedReentrancy` | finaliseQueuedWithdrawalsAggregated for reentrancy attacks | No |

| Test name | Description | Happy Case |
|-----------------------------------------------------------|------------------------------------------------------------------------------------|------------|
| `testWithdrawalERC20` | _withdraw() small amount, no queue | Yes |
| `testWithdrawalEther` | _withdraw() small amount, no queue | Yes |
| `testWithdrawalBadData` | _withdraw() with data parameter too small | No |
| `testWithdrawalUnconfiguredToken` | _withdraw() with unconfigured child / root token | No |
| `testWithdrawalLargeWithdrawal` | _withdraw() with large value | Yes |
| `testWithdrawalLargeWithdrawal` | _withdraw() causing high flow rate | Yes |
| `testHighFlowRate` | _withdraw() with withdrawal queue active | Yes |
| `testFinaliseQueuedWithdrawalERC20` | finaliseQueuedWithdrawal for an ERC20 | Yes |
| `testFinaliseQueuedWithdrawalEther` | finaliseQueuedWithdrawal for a Ether | Yes |
| `testFinaliseQueuedWithdrawalOutOfBounds` | finaliseQueuedWithdrawal when index is out of range for all withdrawals | No |
| `testFinaliseQueuedWithdrawalAlreadyProcessed` | finaliseQueuedWithdrawal for index already processed | No |
| `testFinaliseQueuedWithdrawalTooEarly` | finaliseQueuedWithdrawal before withdrawal delay | No |
| `testFinaliseQueuedWithdrawalsAggregatedERC20` | finaliseQueuedWithdrawalsAggregated for ERC20 | Yes |
| `testFinaliseQueuedWithdrawalsAggregatedEther` | finaliseQueuedWithdrawalsAggregated for Ether | Yes |
| `testFinaliseQueuedWithdrawalsAggregatedOutOfBounds` | finaliseQueuedWithdrawalsAggregated when index is out of range for all withdrawals | No |
| `testFinaliseQueuedWithdrawalsAggregatedAlreadyProcessed` | finaliseQueuedWithdrawalsAggregated for index already processed | No |
| `testFinaliseQueuedWithdrawalsAggregatedTooEarly` | finaliseQueuedWithdrawalsAggregated before withdrawal delay | No |
| `testFinaliseQueuedWithdrawalsAggregatedMismatch` | finaliseQueuedWithdrawalsAggregated with mismatch tokens | No |
| `testFinaliseQueuedWithdrawalsAggregatedNoIndices` | finaliseQueuedWithdrawalsAggregated with indices array zero length | No |
| `testFinaliseQueuedWithdrawalsReentrancy` | finaliseQueuedWithdrawals for reentrancy attacks | No |
| `testFinaliseQueuedWithdrawalsAggregatedReentrancy` | finaliseQueuedWithdrawalsAggregated for reentrancy attacks | No |

----

Expand Down

0 comments on commit 580ecf0

Please sign in to comment.