regenerate expected json output of tests

pull/74/head
Alexander Remie 6 years ago
parent 17bd0ea5d3
commit 591dd99e9a
  1. 4
      tests/expected_json/arbitrary_send.arbitrary-send.json
  2. 2
      tests/expected_json/backdoor.suicidal.json
  3. 8
      tests/expected_json/external_function.external-function.json
  4. 2
      tests/expected_json/inline_assembly_contract.assembly.json
  5. 4
      tests/expected_json/inline_assembly_library.assembly.json
  6. 2
      tests/expected_json/low_level_calls.low-level-calls.json
  7. 2
      tests/expected_json/reentrancy.reentrancy.json
  8. 4
      tests/expected_json/tx_origin.tx-origin.json

@ -5,7 +5,7 @@
], ],
"contract": "Test", "contract": "Test",
"filename": "tests/arbitrary_send.sol", "filename": "tests/arbitrary_send.sol",
"func": "direct", "function": "direct",
"sourceMapping": [ "sourceMapping": [
{ {
"filename": "tests/arbitrary_send.sol", "filename": "tests/arbitrary_send.sol",
@ -24,7 +24,7 @@
], ],
"contract": "Test", "contract": "Test",
"filename": "tests/arbitrary_send.sol", "filename": "tests/arbitrary_send.sol",
"func": "indirect", "function": "indirect",
"sourceMapping": [ "sourceMapping": [
{ {
"filename": "tests/arbitrary_send.sol", "filename": "tests/arbitrary_send.sol",

@ -2,7 +2,7 @@
{ {
"contract": "C", "contract": "C",
"filename": "tests/backdoor.sol", "filename": "tests/backdoor.sol",
"func": "i_am_a_backdoor", "function": "i_am_a_backdoor",
"sourceMapping": { "sourceMapping": {
"filename": "tests/backdoor.sol", "filename": "tests/backdoor.sol",
"length": 74, "length": 74,

@ -2,7 +2,7 @@
{ {
"contract": "ContractWithFunctionNotCalled", "contract": "ContractWithFunctionNotCalled",
"filename": "tests/external_function.sol", "filename": "tests/external_function.sol",
"func": "funcNotCalled", "function": "funcNotCalled",
"sourceMapping": { "sourceMapping": {
"filename": "tests/external_function.sol", "filename": "tests/external_function.sol",
"length": 40, "length": 40,
@ -18,7 +18,7 @@
{ {
"contract": "ContractWithFunctionNotCalled", "contract": "ContractWithFunctionNotCalled",
"filename": "tests/external_function.sol", "filename": "tests/external_function.sol",
"func": "funcNotCalled2", "function": "funcNotCalled2",
"sourceMapping": { "sourceMapping": {
"filename": "tests/external_function.sol", "filename": "tests/external_function.sol",
"length": 41, "length": 41,
@ -34,7 +34,7 @@
{ {
"contract": "ContractWithFunctionNotCalled", "contract": "ContractWithFunctionNotCalled",
"filename": "tests/external_function.sol", "filename": "tests/external_function.sol",
"func": "funcNotCalled3", "function": "funcNotCalled3",
"sourceMapping": { "sourceMapping": {
"filename": "tests/external_function.sol", "filename": "tests/external_function.sol",
"length": 41, "length": 41,
@ -50,7 +50,7 @@
{ {
"contract": "ContractWithFunctionNotCalled2", "contract": "ContractWithFunctionNotCalled2",
"filename": "tests/external_function.sol", "filename": "tests/external_function.sol",
"func": "funcNotCalled", "function": "funcNotCalled",
"sourceMapping": { "sourceMapping": {
"filename": "tests/external_function.sol", "filename": "tests/external_function.sol",
"length": 304, "length": 304,

@ -2,7 +2,7 @@
{ {
"contract": "GetCode", "contract": "GetCode",
"filename": "tests/inline_assembly_contract.sol", "filename": "tests/inline_assembly_contract.sol",
"function_name": "at", "function": "at",
"sourceMapping": [ "sourceMapping": [
{ {
"filename": "tests/inline_assembly_contract.sol", "filename": "tests/inline_assembly_contract.sol",

@ -2,7 +2,7 @@
{ {
"contract": "VectorSum", "contract": "VectorSum",
"filename": "tests/inline_assembly_library.sol", "filename": "tests/inline_assembly_library.sol",
"function_name": "sumAsm", "function": "sumAsm",
"sourceMapping": [ "sourceMapping": [
{ {
"filename": "tests/inline_assembly_library.sol", "filename": "tests/inline_assembly_library.sol",
@ -21,7 +21,7 @@
{ {
"contract": "VectorSum", "contract": "VectorSum",
"filename": "tests/inline_assembly_library.sol", "filename": "tests/inline_assembly_library.sol",
"function_name": "sumPureAsm", "function": "sumPureAsm",
"sourceMapping": [ "sourceMapping": [
{ {
"filename": "tests/inline_assembly_library.sol", "filename": "tests/inline_assembly_library.sol",

@ -2,7 +2,7 @@
{ {
"contract": "Sender", "contract": "Sender",
"filename": "tests/low_level_calls.sol", "filename": "tests/low_level_calls.sol",
"function_name": "send", "function": "send",
"sourceMapping": [ "sourceMapping": [
{ {
"filename": "tests/low_level_calls.sol", "filename": "tests/low_level_calls.sol",

@ -5,7 +5,7 @@
], ],
"contract": "Reentrancy", "contract": "Reentrancy",
"filename": "tests/reentrancy.sol", "filename": "tests/reentrancy.sol",
"function_name": "withdrawBalance", "function": "withdrawBalance",
"send_eth": [ "send_eth": [
"! (msg.sender.call.value(userBalance[msg.sender])())" "! (msg.sender.call.value(userBalance[msg.sender])())"
], ],

@ -2,7 +2,7 @@
{ {
"contract": "TxOrigin", "contract": "TxOrigin",
"filename": "tests/tx_origin.sol", "filename": "tests/tx_origin.sol",
"function_name": "bug0", "function": "bug0",
"sourceMapping": [ "sourceMapping": [
{ {
"filename": "tests/tx_origin.sol", "filename": "tests/tx_origin.sol",
@ -18,7 +18,7 @@
{ {
"contract": "TxOrigin", "contract": "TxOrigin",
"filename": "tests/tx_origin.sol", "filename": "tests/tx_origin.sol",
"function_name": "bug2", "function": "bug2",
"sourceMapping": [ "sourceMapping": [
{ {
"filename": "tests/tx_origin.sol", "filename": "tests/tx_origin.sol",

Loading…
Cancel
Save