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
32071f63
Commit
32071f63
authored
Jan 30, 2020
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
parent
6bbd28e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
specialFunctions.js
test-browser/tests/specialFunctions.js
+6
-6
No files found.
test-browser/tests/specialFunctions.js
View file @
32071f63
...
...
@@ -27,7 +27,7 @@ module.exports = {
})
})
},
'Use special functions receive/f
o
llback - both are declared - receive called, failing sending data < 1 byte'
:
function
(
browser
)
{
'Use special functions receive/f
a
llback - both are declared - receive called, failing sending data < 1 byte'
:
function
(
browser
)
{
// don't need to redeploy it, same contract
browser
.
perform
((
done
)
=>
{
browser
.
getAddressAtPosition
(
0
,
(
address
)
=>
{
...
...
@@ -39,7 +39,7 @@ module.exports = {
})
})
},
'Use special functions receive/f
o
llback - both are declared - receive called, sending wei'
:
function
(
browser
)
{
'Use special functions receive/f
a
llback - both are declared - receive called, sending wei'
:
function
(
browser
)
{
// don't need to redeploy it, same contract
browser
.
perform
((
done
)
=>
{
browser
.
getAddressAtPosition
(
0
,
(
address
)
=>
{
...
...
@@ -52,7 +52,7 @@ module.exports = {
})
})
},
'Use special functions receive/f
o
llback - both are declared - fallback should fail cause not payable, sending data and wei'
:
function
(
browser
)
{
'Use special functions receive/f
a
llback - both are declared - fallback should fail cause not payable, sending data and wei'
:
function
(
browser
)
{
// don't need to redeploy it, same contract
browser
.
perform
((
done
)
=>
{
browser
.
getAddressAtPosition
(
0
,
(
address
)
=>
{
...
...
@@ -64,7 +64,7 @@ module.exports = {
})
})
},
'Use special functions receive/f
o
llback - only receive is declared, sending wei'
:
function
(
browser
)
{
'Use special functions receive/f
a
llback - only receive is declared, sending wei'
:
function
(
browser
)
{
browser
.
waitForElementVisible
(
'#icon-panel'
,
10000
)
.
testContracts
(
'receiveOnly.sol'
,
sources
[
1
][
'browser/receiveOnly.sol'
],
[
'CheckSpecials'
])
.
clickLaunchIcon
(
'udapp'
)
...
...
@@ -82,7 +82,7 @@ module.exports = {
})
})
},
'Use special functions receive/f
o
llback - only receive is declared, failing, fallback is not declared, sending data'
:
function
(
browser
)
{
'Use special functions receive/f
a
llback - only receive is declared, failing, fallback is not declared, sending data'
:
function
(
browser
)
{
// don't need to redeploy it, same contract
browser
.
perform
((
done
)
=>
{
browser
.
getAddressAtPosition
(
1
,
(
address
)
=>
{
...
...
@@ -112,7 +112,7 @@ module.exports = {
})
})
},
'Use special functions receive/f
o
llback - only fallback is diclared and is payable, sending data and wei'
:
function
(
browser
)
{
'Use special functions receive/f
a
llback - only fallback is diclared and is payable, sending data and wei'
:
function
(
browser
)
{
// don't need to redeploy it, same contract
browser
.
perform
((
done
)
=>
{
browser
.
getAddressAtPosition
(
2
,
(
address
)
=>
{
...
...
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