Skip to content

Commit

Permalink
update test names
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark committed Sep 13, 2024
1 parent 546aee0 commit 0b3847d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions tests/expected/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -1203,35 +1203,35 @@
"num_bounded_loops": null
},
{
"name": "check_createCalldata_Beep_1()",
"exitcode": 0,
"name": "check_createCalldata_Beep_1_excluding_pure()",
"exitcode": 4,
"num_models": 0,
"models": null,
"num_paths": null,
"time": null,
"num_bounded_loops": null
},
{
"name": "check_createCalldata_Beep_1_excluding_pure()",
"exitcode": 4,
"name": "check_createCalldata_Beep_1_including_pure()",
"exitcode": 0,
"num_models": 0,
"models": null,
"num_paths": null,
"time": null,
"num_bounded_loops": null
},
{
"name": "check_createCalldata_Beep_2()",
"exitcode": 0,
"name": "check_createCalldata_Beep_2_excluding_pure()",
"exitcode": 4,
"num_models": 0,
"models": null,
"num_paths": null,
"time": null,
"num_bounded_loops": null
},
{
"name": "check_createCalldata_Beep_2_excluding_pure()",
"exitcode": 4,
"name": "check_createCalldata_Beep_2_including_pure()",
"exitcode": 0,
"num_models": 0,
"models": null,
"num_paths": null,
Expand Down Expand Up @@ -1266,7 +1266,7 @@
"num_bounded_loops": null
},
{
"name": "check_createCalldata_Mock_2()",
"name": "check_createCalldata_Mock_2_excluding_view()",
"exitcode": 1,
"num_models": 40,
"models": null,
Expand All @@ -1293,7 +1293,7 @@
"num_bounded_loops": null
},
{
"name": "check_createCalldata_Mock_4()",
"name": "check_createCalldata_Mock_4_excluding_view()",
"exitcode": 1,
"num_models": 40,
"models": null,
Expand All @@ -1311,7 +1311,7 @@
"num_bounded_loops": null
},
{
"name": "check_createCalldata_Mock_interface()",
"name": "check_createCalldata_Mock_interface_excluding_view()",
"exitcode": 1,
"num_models": 40,
"models": null,
Expand Down
10 changes: 5 additions & 5 deletions tests/regression/test/HalmosCheatCode.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ contract HalmosCheatCodeTest is SymTest, Test {
_check_createCalldata_Beep(data); // fail because the only function in Beep is pure, which is excluded in createCalldata()
}

function check_createCalldata_Beep_1() public {
function check_createCalldata_Beep_1_including_pure() public {
bytes memory data = svm.createCalldata("HalmosCheatCode.t.sol", "Beep", true);
_check_createCalldata_Beep(data);
}
Expand All @@ -154,7 +154,7 @@ contract HalmosCheatCodeTest is SymTest, Test {
_check_createCalldata_Beep(data); // fail because the only function in Beep is pure, which is excluded in createCalldata()
}

function check_createCalldata_Beep_2() public {
function check_createCalldata_Beep_2_including_pure() public {
bytes memory data = svm.createCalldata("Beep", true);
_check_createCalldata_Beep(data);
}
Expand All @@ -172,7 +172,7 @@ contract HalmosCheatCodeTest is SymTest, Test {
_check_createCalldata_Mock(data);
}

function check_createCalldata_Mock_2() public {
function check_createCalldata_Mock_2_excluding_view() public {
bytes memory data = svm.createCalldata("Mock", false);
_check_createCalldata_Mock(data);
}
Expand All @@ -187,7 +187,7 @@ contract HalmosCheatCodeTest is SymTest, Test {
_check_createCalldata_Mock(data);
}

function check_createCalldata_Mock_4() public {
function check_createCalldata_Mock_4_excluding_view() public {
bytes memory data = svm.createCalldata("HalmosCheatCode.t.sol", "Mock", false);
_check_createCalldata_Mock(data);
}
Expand All @@ -197,7 +197,7 @@ contract HalmosCheatCodeTest is SymTest, Test {
_check_createCalldata_Mock(data);
}

function check_createCalldata_Mock_interface() public {
function check_createCalldata_Mock_interface_excluding_view() public {
bytes memory data = svm.createCalldata("IMock");
_check_createCalldata_Mock(data);
}
Expand Down

0 comments on commit 0b3847d

Please sign in to comment.