Commit d3755d3d authored by ninabreznik's avatar ninabreznik Committed by yann300

Update compiling.js tests

parent 7fad49d8
contract test2 { function get () returns (uint) { return 11; }}
\ No newline at end of file
......@@ -17,6 +17,7 @@ var typeConversion = remixLib.execution.typeConversion
var css = csjs`
.log {
display: flex;
justify-content: space-between;
cursor: pointer;
}
.log:hover {
......@@ -34,7 +35,7 @@ var css = csjs`
color: ${styles.terminal.icon_HoverColor_Menu};
}
.txLog {
width: 95%;
width: 75%;
}
.txItem {
color: ${styles.terminal.text_Primary};
......@@ -50,7 +51,9 @@ var css = csjs`
float: left;
margin: 0 10px;
}
.txTable, .tr, .td {
.txTable,
.tr,
.td {
border-collapse: collapse;
font-size: 10px;
color: ${styles.terminal.text_Primary};
......@@ -89,8 +92,7 @@ var css = csjs`
}
.debug:hover {
opacity: 0.8;
}
`
}`
/**
* This just export a function that register to `newTransaction` and forward them to the logger.
* Emit debugRequested
......
......@@ -73,13 +73,7 @@ function testReturnValues (browser, callback) {
.testFunction('retunValues1 - transact (not payable)',
'0x79dc928d149d2ade02ab610a8ae290636222d034d4adce0bb08a68401e3d1f7f',
`[vm]\nfrom:0xca3...a733c\nto:testReturnValues.retunValues1() 0x5e7...26e9f\nvalue:0 wei\ndata:0x9ed...59eb7\nlogs:0\nhash:0x79d...d1f7f`,
null,
`{
"0": "bool: _b true",
"1": "uint256: _u 345",
"2": "int256: _i -345",
"3": "address: _a 0xca35b7d915458ef540ade6068dfe2f44e8fa733c"
}`)
null)
.pause(500)
.testFunction('retunValues2 - transact (not payable)',
'0x09175dcb30227b3af422d75786dbba3b0549985e5c7f59f86d12c7e1043ccb8c',
......
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