libs test fixed

latestSolVersion
aniket-engg 4 years ago
parent df2fa6687f
commit 0a78ff2540
  1. 4
      libs/remix-debug/test/debugger.js
  2. 6
      libs/remix-lib/test/txFormat.js
  3. 4
      libs/remix-tests/tests/examples_1/simple_storage.sol
  4. 2
      libs/remix-tests/tests/examples_1/simple_storage_test.sol
  5. 2
      libs/remix-tests/tests/examples_2/simple_storage.sol
  6. 2
      libs/remix-tests/tests/examples_2/simple_storage_test.sol
  7. 2
      libs/remix-tests/tests/examples_3/simple_string.sol
  8. 2
      libs/remix-tests/tests/examples_3/simple_string_test.sol
  9. 2
      libs/remix-tests/tests/examples_4/SafeMath.sol
  10. 2
      libs/remix-tests/tests/examples_4/SafeMathProxy.sol
  11. 2
      libs/remix-tests/tests/examples_4/SafeMath_test.sol
  12. 4
      libs/remix-tests/tests/examples_5/contract/simple_storage.sol
  13. 2
      libs/remix-tests/tests/examples_5/lib/EvenOdd.sol
  14. 2
      libs/remix-tests/tests/examples_5/test/simple_storage_test.sol
  15. 2
      libs/remix-tests/tests/number/number_test.sol

@ -8,7 +8,7 @@ var vmCall = require('./vmCall')
var Debugger = require('../src/Ethdebugger')
var compiler = require('solc')
var ballot = `pragma solidity >=0.4.22 <0.8.0;
var ballot = `pragma solidity >=0.4.22 <0.7.0;
/**
* @title Ballot
@ -40,7 +40,7 @@ contract Ballot {
* @dev Create a new ballot to choose one of 'proposalNames'.
* @param proposalNames names of proposals
*/
constructor(bytes32[] memory proposalNames) {
constructor(bytes32[] memory proposalNames) public {
uint p = 45;
chairperson = msg.sender;
address addressLocal = msg.sender; // copy of state variable

@ -376,7 +376,7 @@ const nestedArrayContract = `contract nestedArrayContractTest {
}
}`
const deploySimpleLib = `pragma solidity >= 0.5.0 < 0.8.0;
const deploySimpleLib = `pragma solidity >= 0.5.0 < 0.7.0;
library lib1 {
function getEmpty () public {
@ -397,14 +397,14 @@ contract testContractLinkLibrary {
}
}`
const encodeFunctionCall = `pragma solidity >= 0.5.0 < 0.8.0;
const encodeFunctionCall = `pragma solidity >= 0.5.0 < 0.7.0;
contract testContractLinkLibrary {
function get (uint _p, string memory _o) public {
}
}`
const fallbackAndReceiveFunction = `pragma solidity >= 0.5.0 < 0.8.0;
const fallbackAndReceiveFunction = `pragma solidity >= 0.5.0 < 0.7.0;
contract fallbackAndReceiveFunctionContract {
function get (uint _p, string memory _o) public {

@ -1,8 +1,8 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
contract SimpleStorage {
uint public storedData;
constructor() {
constructor() public {
storedData = 100;
}

@ -1,4 +1,4 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
import "./simple_storage.sol";
contract MyTest {

@ -1,4 +1,4 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
contract SimpleStorage {
uint public storedData;

@ -1,4 +1,4 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
import "./simple_storage.sol";
contract MyTest {

@ -1,4 +1,4 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
contract SimpleString {
string public storedData;

@ -1,4 +1,4 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
import "./simple_string.sol";
contract StringTest {

@ -1,6 +1,6 @@
// Copyright (c) 2016 Smart Contract Solutions, Inc.
pragma solidity >=0.4.22 <0.8.0;
pragma solidity >=0.4.22 <0.7.0;
/**

@ -1,4 +1,4 @@
pragma solidity >=0.4.22 <0.8.0;
pragma solidity >=0.4.22 <0.7.0;
import "./SafeMath.sol";
/*

@ -1,4 +1,4 @@
pragma solidity >=0.4.22 <0.8.0;
pragma solidity >=0.4.22 <0.7.0;
import "remix_tests.sol";
import "./SafeMath.sol";
import "./SafeMathProxy.sol";

@ -1,4 +1,4 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
import "../../examples_4/SafeMath.sol";
import "../lib/EvenOdd.sol";
@ -7,7 +7,7 @@ contract SimpleStorage is EvenOdd{
using SafeMath for uint256;
uint public storedData;
constructor() {
constructor() public {
storedData = 100;
}

@ -1,4 +1,4 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
contract EvenOdd {

@ -1,4 +1,4 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
import "./../contract/simple_storage.sol";
contract StorageResolveTest {

@ -1,4 +1,4 @@
pragma solidity >= 0.5.0 < 0.8.0;
pragma solidity >= 0.5.0 < 0.7.0;
contract IntegerTest {

Loading…
Cancel
Save