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
70668fa1
Commit
70668fa1
authored
Mar 15, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
79480243
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
vmdebugger.js
test-browser/vmdebugger.js
+1
-1
insertTestWeb3.js
test/resources/insertTestWeb3.js
+1
-1
testWeb3.js
test/resources/testWeb3.js
+1
-1
No files found.
test-browser/vmdebugger.js
View file @
70668fa1
...
@@ -64,7 +64,7 @@ function panels (browser) {
...
@@ -64,7 +64,7 @@ function panels (browser) {
.
click
(
'#load'
)
.
click
(
'#load'
)
.
multipleClick
(
'#intoforward'
,
63
)
.
multipleClick
(
'#intoforward'
,
63
)
.
assertStack
([
'0:0x'
,
'1:0x60'
,
'2:0x65'
,
'3:0x38'
,
'4:0x55'
,
'5:0x60fe47b1'
])
.
assertStack
([
'0:0x'
,
'1:0x60'
,
'2:0x65'
,
'3:0x38'
,
'4:0x55'
,
'5:0x60fe47b1'
])
.
assertStorageChanges
([
'0x
00
:0x38'
])
.
assertStorageChanges
([
'0x
290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563:ObjecthashedKey:0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563key:0x00value
:0x38'
])
.
assertCallData
([
'0:0x60fe47b10000000000000000000000000000000000000000000000000000000000000038'
])
.
assertCallData
([
'0:0x60fe47b10000000000000000000000000000000000000000000000000000000000000038'
])
.
assertCallStack
([
'0:0x0d3a18d64dfe4f927832ab58d6451cecc4e517c5'
])
.
assertCallStack
([
'0:0x0d3a18d64dfe4f927832ab58d6451cecc4e517c5'
])
.
assertStackValue
(
1
,
'1:0x60'
)
.
assertStackValue
(
1
,
'1:0x60'
)
...
...
test/resources/insertTestWeb3.js
View file @
70668fa1
...
@@ -28,7 +28,7 @@ function loadTestWeb3 (data) {
...
@@ -28,7 +28,7 @@ function loadTestWeb3 (data) {
callback
(
null
,
data
.
testTraces
[
txHash
])
callback
(
null
,
data
.
testTraces
[
txHash
])
}
}
uiTestweb3
.
debug
.
storageRangeAt
=
function
(
blockNumber
,
txIndex
,
address
,
start
,
end
,
size
,
callback
)
{
uiTestweb3
.
debug
.
storageRangeAt
=
function
(
blockNumber
,
txIndex
,
address
,
start
,
size
,
callback
)
{
callback
(
null
,
{
storage
:
{},
complete
:
true
})
callback
(
null
,
{
storage
:
{},
complete
:
true
})
}
}
...
...
test/resources/testWeb3.js
View file @
70668fa1
...
@@ -18,7 +18,7 @@ web3Override.debug.traceTransaction = function (txHash, options, callback) {
...
@@ -18,7 +18,7 @@ web3Override.debug.traceTransaction = function (txHash, options, callback) {
callback
(
null
,
data
.
testTraces
[
txHash
])
callback
(
null
,
data
.
testTraces
[
txHash
])
}
}
web3Override
.
debug
.
storageRangeAt
=
function
(
blockNumber
,
txIndex
,
address
,
start
,
end
,
maxSize
,
callback
)
{
web3Override
.
debug
.
storageRangeAt
=
function
(
blockNumber
,
txIndex
,
address
,
start
,
maxSize
,
callback
)
{
callback
(
null
,
{
storage
:
{},
complete
:
true
})
callback
(
null
,
{
storage
:
{},
complete
:
true
})
}
}
...
...
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