From 0d9511800304ef8efdbfef77accf6bb909f15bbe Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 1 Feb 2018 11:30:09 +0100 Subject: [PATCH] set test contracts --- ci/browser_tests.sh | 9 +-------- contracts/contract1.sol | 1 + contracts/contract2.sol | 1 + contracts/folder1/contract1.sol | 1 + contracts/folder1/contract2.sol | 1 + 5 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 contracts/contract1.sol create mode 100644 contracts/contract2.sol create mode 100644 contracts/folder1/contract1.sol create mode 100644 contracts/folder1/contract2.sol diff --git a/ci/browser_tests.sh b/ci/browser_tests.sh index 5b4c27ce40..93da0c55cc 100755 --- a/ci/browser_tests.sh +++ b/ci/browser_tests.sh @@ -4,14 +4,7 @@ set -e setupRemixd () { mkdir remixdSharedfolder - cd remixdSharedfolder - echo "contract test1 { function get () returns (uint) { return 8; }}" > contract1.sol - echo "contract test2 { function get () returns (uint) { return 9; }}" > contract2.sol - mkdir folder1 - cd folder1 - echo "contract test1 { function get () returns (uint) { return 10; }}" > contract1.sol - echo "contract test2 { function get () returns (uint) { return 11; }}" > contract2.sol - cd .. + cd contracts echo 'sharing folder: ' echo $PWD node ../node_modules/remixd/src/main.js -s $PWD & diff --git a/contracts/contract1.sol b/contracts/contract1.sol new file mode 100644 index 0000000000..4abefc018b --- /dev/null +++ b/contracts/contract1.sol @@ -0,0 +1 @@ +contract test1 { function get () returns (uint) { return 8; }} \ No newline at end of file diff --git a/contracts/contract2.sol b/contracts/contract2.sol new file mode 100644 index 0000000000..96b59660ba --- /dev/null +++ b/contracts/contract2.sol @@ -0,0 +1 @@ +contract test2 { function get () returns (uint) { return 9; }} \ No newline at end of file diff --git a/contracts/folder1/contract1.sol b/contracts/folder1/contract1.sol new file mode 100644 index 0000000000..11122d3008 --- /dev/null +++ b/contracts/folder1/contract1.sol @@ -0,0 +1 @@ +contract test1 { function get () returns (uint) { return 10; }} \ No newline at end of file diff --git a/contracts/folder1/contract2.sol b/contracts/folder1/contract2.sol new file mode 100644 index 0000000000..04f9b2eb26 --- /dev/null +++ b/contracts/folder1/contract2.sol @@ -0,0 +1 @@ +contract test2 { function get () returns (uint) { return 11; }} \ No newline at end of file