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
1adf0164
Commit
1adf0164
authored
Oct 29, 2020
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
license added in tests libraries
parent
f71e79af
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
example-contracts.js
apps/remix-ide/src/app/editor/example-contracts.js
+4
-0
tests.sol.ts
libs/remix-tests/sol/tests.sol.ts
+2
-1
tests_accounts.sol.ts
libs/remix-tests/sol/tests_accounts.sol.ts
+4
-1
No files found.
apps/remix-ide/src/app/editor/example-contracts.js
View file @
1adf0164
'use strict'
const
storage
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
...
...
@@ -29,6 +30,7 @@ contract Storage {
}`
const
owner
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
...
...
@@ -80,6 +82,7 @@ contract Owner {
}`
const
ballot
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
/**
...
...
@@ -219,6 +222,7 @@ contract Ballot {
`
var
ballotTest
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.8.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "../3_Ballot.sol";
...
...
libs/remix-tests/sol/tests.sol.ts
View file @
1adf0164
module
.
exports
=
`
module
.
exports
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.8.0;
library Assert {
...
...
libs/remix-tests/sol/tests_accounts.sol.ts
View file @
1adf0164
module
.
exports
=
`
module
.
exports
=
`// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.8.0;
library TestsAccounts {
function getAccount(uint index) public returns (address) {
>accounts<
...
...
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