-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(refactor): periphery tests to use Bulloak
- Loading branch information
1 parent
5eb674a
commit 8fd9d8c
Showing
37 changed files
with
241 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
test/periphery/integration/batch-lockup/create-with-durations-ld/createWithDurationsLD.tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
createWithDurationsLD.t.sol | ||
├── when the batch size is zero | ||
CreateWithDurationsLD_Integration_Test | ||
├── when batch size zero | ||
│ └── it should revert | ||
└── when the batch size is not zero | ||
└── when batch size not zero | ||
├── it should create a batch of streams with durations | ||
└── it should perform the ERC-20 transfers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
test/periphery/integration/batch-lockup/create-with-durations-ll/createWithDurationsLL.tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
createWithDurationsLL.t.sol | ||
├── when the batch size is zero | ||
CreateWithDurationsLL_Integration_Test | ||
├── when batch size zero | ||
│ └── it should revert | ||
└── when the batch size is not zero | ||
└── when batch size not zero | ||
├── it should create a batch of streams with durations | ||
└── it should perform the ERC-20 transfers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
test/periphery/integration/batch-lockup/create-with-durations-lt/createWithDurationsLT.tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
createWithDurationsLT.t.sol | ||
├── when the batch size is zero | ||
CreateWithDurationsLT_Integration_Test | ||
├── when batch size zero | ||
│ └── it should revert | ||
└── when the batch size is not zero | ||
└── when batch size not zero | ||
├── it should create a batch of streams with durations | ||
└── it should perform the ERC-20 transfers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
.../periphery/integration/batch-lockup/create-with-timestamps-ld/createWithTimestampsLD.tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
createWithTimestampsLD.t.sol | ||
├── when the batch size is zero | ||
CreateWithTimestampsLD_Integration_Test | ||
├── when batch size zero | ||
│ └── it should revert | ||
└── when the batch size is not zero | ||
└── when batch size not zero | ||
├── it should create a batch of streams with timestamps | ||
└── it should perform the ERC-20 transfers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
test/periphery/integration/batch-lockup/create-with-timestamps-ll/createWithTimestamps.tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
createWithTimestampsLL.t.sol | ||
├── when the batch size is zero | ||
CreateWithTimestampsLL_Integration_Test | ||
├── when batch size zero | ||
│ └── it should revert | ||
└── when the batch size is not zero | ||
└── when batch size not zero | ||
├── it should create a batch of streams with timestamps | ||
└── it should perform the ERC-20 transfers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
.../periphery/integration/batch-lockup/create-with-timestamps-lt/createWithTimestampsLT.tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
createWithTimestampsLT.t.sol | ||
├── when the batch size is zero | ||
CreateWithTimestampsLT_Integration_Test | ||
├── when batch size zero | ||
│ └── it should revert | ||
└── when the batch size is not zero | ||
└── when batch size not zero | ||
├── it should create a batch of streams with timestamps | ||
└── it should perform the ERC-20 transfers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...iphery/integration/merkle-campaign/factory/create-merkle-instant/createMerkleInstant.tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
createMerkleInstant.t.sol | ||
├── when the campaign name is too long | ||
CreateMerkleInstant_Integration_Test | ||
├── when campaign name exceeds 32 bytes | ||
│ └── it should revert | ||
└── when the campaign name is not too long | ||
├── given the campaign has been created already | ||
└── when campaign name not exceeds 32 bytes | ||
├── given campaign already exists | ||
│ └── it should revert | ||
└── given the campaign has not been created already | ||
└── given campaign does not exist | ||
├── it should create the campaign | ||
└── it should emit a {CreateMerkleInstant} event |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
test/periphery/integration/merkle-campaign/factory/create-merkle-ll/createMerkleLL.tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
createMerkleLL.t.sol | ||
├── when the campaign name is too long | ||
CreateMerkleLL_Integration_Test | ||
├── when campaign name exceeds 32 bytes | ||
│ └── it should revert | ||
└── when the campaign name is not too long | ||
├── given the campaign has been created already | ||
└── when campaign name not exceeds 32 bytes | ||
├── given campaign already exists | ||
│ └── it should revert | ||
└── given the campaign has not been created already | ||
└── given campaign does not exist | ||
├── it should create the campaign | ||
└── it should emit a {CreateMerkleLL} event |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
test/periphery/integration/merkle-campaign/factory/create-merkle-lt/createMerkleLT.tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
createMerkleLT.t.sol | ||
├── when the campaign name is too long | ||
CreateMerkleLT_Integration_Test | ||
├── when campaign name exceeds 32 bytes | ||
│ └── it should revert | ||
└── when the campaign name is not too long | ||
├── given the campaign has been created already | ||
└── when campaign name not exceeds 32 bytes | ||
├── given campaign already exists | ||
│ └── it should revert | ||
└── given the campaign has not been created already | ||
└── given campaign does not exist | ||
├── it should create the campaign | ||
└── it should emit a {CreateMerkleLT} event |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.