Commit 0de29490 authored by yann300's avatar yann300 Committed by Alex Beregszaszi

change compilation request filename

parent b1eafa1e
module.exports = {
'testSimpleContract': {
'sources': {
'Untitled1': 'contract test1 {} contract test2 {}'
'Untitled': 'contract test1 {} contract test2 {}'
}
},
'ballot': {
'sources': {
'Untitled1': `pragma solidity ^0.4.0;
'Untitled': `pragma solidity ^0.4.0;
contract Ballot {
struct Voter {
......
......@@ -14,7 +14,7 @@ function runTests (browser, testData) {
.waitForElementVisible('.newFile', 10000);
browser.assert.notEqual(testData, null);
// TODO add Ballot tests. -> setValue('#input textarea', ... ) is not working properly with that contract.
/* testBallot(browser, testData.ballot.sources.Untitled1, function () {
/* testBallot(browser, testData.ballot.sources.Untitled, function () {
browser.end();
});*/
}
......
......@@ -13,7 +13,7 @@ function runTests (browser, testData) {
.url('http://127.0.0.1:8080/#version=builtin')
.waitForElementVisible('.newFile', 10000);
browser.assert.notEqual(testData, null);
testSimpleContract(browser, testData.testSimpleContract.sources.Untitled1, function () {
testSimpleContract(browser, testData.testSimpleContract.sources.Untitled, function () {
browser.end();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment