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
874274c9
Commit
874274c9
authored
Jun 02, 2020
by
LianaHus
Committed by
ioedeveloper
Jul 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added result indicator for compilation with compiler version
parent
163a1754
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
compile-tab.js
apps/remix-ide/src/app/tabs/compile-tab.js
+1
-0
noWorkerErrorFor.js
test-browser/commands/noWorkerErrorFor.js
+2
-2
No files found.
apps/remix-ide/src/app/tabs/compile-tab.js
View file @
874274c9
...
@@ -116,6 +116,7 @@ class CompileTab extends ViewPlugin {
...
@@ -116,6 +116,7 @@ class CompileTab extends ViewPlugin {
this
.
fileManager
.
events
.
on
(
'noFileSelected'
,
this
.
data
.
eventHandlers
.
onNoFileSelected
)
this
.
fileManager
.
events
.
on
(
'noFileSelected'
,
this
.
data
.
eventHandlers
.
onNoFileSelected
)
this
.
data
.
eventHandlers
.
onCompilationFinished
=
(
success
,
data
,
source
)
=>
{
this
.
data
.
eventHandlers
.
onCompilationFinished
=
(
success
,
data
,
source
)
=>
{
this
.
_view
.
errorContainer
.
appendChild
(
yo
`<span data-id="compilationFinishedWith_
${
this
.
getCurrentVersion
()}
"></span>`
)
if
(
success
)
{
if
(
success
)
{
// forwarding the event to the appManager infra
// forwarding the event to the appManager infra
this
.
emit
(
'compilationFinished'
,
source
.
target
,
source
,
'soljson'
,
data
)
this
.
emit
(
'compilationFinished'
,
source
.
target
,
source
,
'soljson'
,
data
)
...
...
test-browser/commands/noWorkerErrorFor.js
View file @
874274c9
...
@@ -15,8 +15,8 @@ class NoWorkerErrorFor extends EventEmitter {
...
@@ -15,8 +15,8 @@ class NoWorkerErrorFor extends EventEmitter {
function
noWorkerErrorFor
(
browser
,
version
,
callback
)
{
function
noWorkerErrorFor
(
browser
,
version
,
callback
)
{
browser
browser
.
setSolidityCompilerVersion
(
version
)
.
setSolidityCompilerVersion
(
version
)
.
pause
(
2000
)
.
click
(
'*[data-id="compilerContainerCompileBtn"]'
)
.
waitForElementPresent
(
'*[data-id="compil
edErrors"]'
)
.
waitForElementPresent
(
'*[data-id="compil
ationFinishedWith_'
+
version
+
'"]'
,
10000
)
.
notContainsText
(
'*[data-id="compiledErrors"]'
,
'worker error:undefined'
)
.
notContainsText
(
'*[data-id="compiledErrors"]'
,
'worker error:undefined'
)
.
notContainsText
(
'*[data-id="compiledErrors"]'
,
'Uncaught RangeError: Maximum call stack size exceeded'
)
.
notContainsText
(
'*[data-id="compiledErrors"]'
,
'Uncaught RangeError: Maximum call stack size exceeded'
)
.
notContainsText
(
'*[data-id="compiledErrors"]'
,
'RangeError: Maximum call stack size exceeded'
)
.
notContainsText
(
'*[data-id="compiledErrors"]'
,
'RangeError: Maximum call stack size exceeded'
)
...
...
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