Update compiling.js tests

pull/3094/head
ninabreznik 7 years ago committed by yann300
parent cad2fbd3f3
commit 488e02f665
  1. 1
      contracts/folder1/contract_firefox_toremove.sol
  2. 0
      contracts/folder1/renamed_contract_firefox.sol
  3. 10
      src/app/execution/txLogger.js
  4. 8
      test-browser/tests/compiling.js

@ -1 +0,0 @@
contract test2 { function get () returns (uint) { return 11; }}

@ -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',

Loading…
Cancel
Save