Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
ebbdb3be
Commit
ebbdb3be
authored
Feb 15, 2018
by
ninabreznik
Committed by
yann300
Apr 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tests/compiling and tests/ballot
parent
00d13acc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
compiling.js
test-browser/tests/compiling.js
+7
-7
No files found.
test-browser/tests/compiling.js
View file @
ebbdb3be
...
@@ -43,7 +43,7 @@ function testSimpleContract (browser, callback) {
...
@@ -43,7 +43,7 @@ function testSimpleContract (browser, callback) {
.
click
(
'#runTabView .instance div[class^="title"]'
)
.
click
(
'#runTabView .instance div[class^="title"]'
)
.
click
(
'#runTabView .instance div[class^="title"]'
)
.
click
(
'#runTabView .instance div[class^="title"]'
)
.
testFunction
(
'f - transact (not payable)'
,
.
testFunction
(
'f - transact (not payable)'
,
'0x
a178c603400a184ce5fedbcfab392d9b77822f6ffa7facdec693aded214523bc
'
,
'0x
057d54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bd3ce2e
'
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
null
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
null
,
`{
`{
"0": "uint256: 8"
"0": "uint256: 8"
...
@@ -55,7 +55,7 @@ function testSimpleContract (browser, callback) {
...
@@ -55,7 +55,7 @@ function testSimpleContract (browser, callback) {
})
})
})
})
.
testFunction
(
'g - transact (not payable)'
,
.
testFunction
(
'g - transact (not payable)'
,
'0x
b1532162e2e31397dc1e07ed0a1cf08f728e9b4487c6f9ed79d2f39410c92781
'
,
'0x
057d54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bd3ce2e
'
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
null
,
`{
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
null
,
`{
"0": "uint256: 345",
"0": "uint256: 345",
"1": "string: comment_comment_",
"1": "string: comment_comment_",
...
@@ -71,7 +71,7 @@ function testReturnValues (browser, callback) {
...
@@ -71,7 +71,7 @@ function testReturnValues (browser, callback) {
.
click
(
'#runTabView div[class^="create"]'
)
.
click
(
'#runTabView div[class^="create"]'
)
.
pause
(
500
)
.
pause
(
500
)
.
testFunction
(
'retunValues1 - transact (not payable)'
,
.
testFunction
(
'retunValues1 - transact (not payable)'
,
'0x
79dc928d149d2ade02ab610a8ae290636222d034d4adce0bb08a68401e3d1f7f
'
,
'0x
057d54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bd3ce2e
'
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
null
,
null
,
`{
`{
...
@@ -82,7 +82,7 @@ function testReturnValues (browser, callback) {
...
@@ -82,7 +82,7 @@ function testReturnValues (browser, callback) {
}`
)
}`
)
.
pause
(
500
)
.
pause
(
500
)
.
testFunction
(
'retunValues2 - transact (not payable)'
,
.
testFunction
(
'retunValues2 - transact (not payable)'
,
'0x0
9175dcb30227b3af422d75786dbba3b0549985e5c7f59f86d12c7e1043ccb8c
'
,
'0x0
57d54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bd3ce2e
'
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
null
,
`{
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
null
,
`{
"0": "bytes1: _b 0x12",
"0": "bytes1: _b 0x12",
"1": "bytes2: _b2 0x1223",
"1": "bytes2: _b2 0x1223",
...
@@ -95,7 +95,7 @@ function testReturnValues (browser, callback) {
...
@@ -95,7 +95,7 @@ function testReturnValues (browser, callback) {
"8": "bytes22: _b22 0x00000000000000000000325235235325325325235325",
"8": "bytes22: _b22 0x00000000000000000000325235235325325325235325",
"9": "bytes32: _b32 0x0000000000000000000000000000000000032523532532523532523532523532"
"9": "bytes32: _b32 0x0000000000000000000000000000000000032523532532523532523532523532"
}`
).
pause
(
500
).
testFunction
(
'retunValues3 - transact (not payable)'
,
}`
).
pause
(
500
).
testFunction
(
'retunValues3 - transact (not payable)'
,
'0x
7faab07aeaafc8afe6bf283bb83be70c000dff381dec04e779354e354da14aff
'
,
'0x
057d54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bd3ce2e
'
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
null
,
`{
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
null
,
`{
"0": "uint8: _en 2",
"0": "uint8: _en 2",
"1": "int256[5][]: _a1 1,-45,-78,56,60, -1,42,334,-45455,-446, 1,10,-5435,45,-7"
"1": "int256[5][]: _a1 1,-45,-78,56,60, -1,42,334,-45455,-446, 1,10,-5435,45,-7"
...
@@ -109,7 +109,7 @@ function testInputValues (browser, callback) {
...
@@ -109,7 +109,7 @@ function testInputValues (browser, callback) {
.
click
(
'#runTabView div[class^="create"]'
)
.
click
(
'#runTabView div[class^="create"]'
)
.
pause
(
500
)
.
pause
(
500
)
.
testFunction
(
'inputValue1 - transact (not payable)'
,
.
testFunction
(
'inputValue1 - transact (not payable)'
,
'0x
917a873d27d105213eaf5461e14780387ccceb66fed574f8432d1963917832a
e'
,
'0x
057d54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bd3ce2
e'
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
{
types
:
'uint256 _u, int256 _i, string _str'
,
values
:
'"2343242", "-4324324", "string _ string _ string _ string _ string _ string _ string _ string _ string _ string _"'
},
{
types
:
'uint256 _u, int256 _i, string _str'
,
values
:
'"2343242", "-4324324", "string _ string _ string _ string _ string _ string _ string _ string _ string _ string _"'
},
`{
`{
...
@@ -117,7 +117,7 @@ function testInputValues (browser, callback) {
...
@@ -117,7 +117,7 @@ function testInputValues (browser, callback) {
"1": "int256: _iret -4324324",
"1": "int256: _iret -4324324",
"2": "string: _strret string _ string _ string _ string _ string _ string _ string _ string _ string _ string _"
"2": "string: _strret string _ string _ string _ string _ string _ string _ string _ string _ string _ string _"
}`
).
pause
(
500
).
testFunction
(
'inputValue2 - transact (not payable)'
,
}`
).
pause
(
500
).
testFunction
(
'inputValue2 - transact (not payable)'
,
'0x
487d09e244853bcb108b3a22cd6ee57b6431e50869619c9b918e9764fc16ef7f
'
,
'0x
057d54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bd3ce2e
'
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
`[vm]\nfrom:0xca3...a733c\nto:Ballot.delegate(address) 0x692...77b3a\nvalue:0 wei\ndata:0x5c1...4d2db\nlogs:0\nhash:0x057...3ce2e`
,
{
types
:
'uint256[3] _n, bytes8[4] _b8'
,
values
:
'[1,2,3], ["0x1234", "0x1234","0x1234","0x1234"]'
},
{
types
:
'uint256[3] _n, bytes8[4] _b8'
,
values
:
'[1,2,3], ["0x1234", "0x1234","0x1234","0x1234"]'
},
`{
`{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment