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
0d66c6f0
Commit
0d66c6f0
authored
Sep 07, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add manual testing
parent
33b2e383
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
index.html
test-browser/plugin/index.html
+3
-0
plugin.js
test-browser/plugin/plugin.js
+15
-0
No files found.
test-browser/plugin/index.html
View file @
0d66c6f0
...
...
@@ -44,6 +44,9 @@
<input
type=
"button"
id=
"testcontractcreation"
>
oraclize contract creation
</input>
<br>
<input
type=
"button"
id=
"testaccountcreation"
>
account creation
</input>
<br>
<input
type=
"button"
id=
"testchangetitle"
>
change title
</input>
<br>
<input
type=
"button"
id=
"setcontentof"
>
setcontentof
</input>
<br>
<input
type=
"button"
id=
"getcontentof"
>
getcontentof
</input>
<br>
<input
type=
"button"
id=
"getcurrent"
>
getcurrent
</input>
<br>
<br>
<div
id=
'compilationdata'
></div>
</body>
...
...
test-browser/plugin/plugin.js
View file @
0d66c6f0
...
...
@@ -53,4 +53,19 @@ window.onload = function () {
extension
.
call
(
'app'
,
'updateTitle'
,
[
'changed title '
+
k
++
],
function
(
error
,
result
)
{
console
.
log
(
error
,
result
)
})
})
document
.
querySelector
(
'input#setcontentof'
).
addEventListener
(
'click'
,
function
()
{
extension
.
call
(
'editor'
,
'setFile'
,
[
document
.
getElementById
(
'filename'
).
value
,
document
.
getElementById
(
'valuetosend'
).
value
],
function
(
error
,
result
)
{
console
.
log
(
error
,
result
)
})
})
document
.
querySelector
(
'input#getcontentof'
).
addEventListener
(
'click'
,
function
()
{
extension
.
call
(
'editor'
,
'getFile'
,
[
document
.
getElementById
(
'filename'
).
value
],
function
(
error
,
result
)
{
console
.
log
(
error
,
result
)
})
})
document
.
querySelector
(
'input#getcurrent'
).
addEventListener
(
'click'
,
function
()
{
extension
.
call
(
'editor'
,
'getCurrentFile'
,
[],
function
(
error
,
result
)
{
console
.
log
(
error
,
result
)
})
})
}
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