Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
9f52e943
Unverified
Commit
9f52e943
authored
Mar 22, 2018
by
Facundo Spagnuolo
Committed by
GitHub
Mar 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ERC20 tests to ERC20 custom folder (#772)
parent
c9936e23
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
12 deletions
+12
-12
BasicToken.test.js
test/token/ERC20/BasicToken.test.js
+1
-1
BurnableToken.test.js
test/token/ERC20/BurnableToken.test.js
+1
-1
CappedToken.test.js
test/token/ERC20/CappedToken.test.js
+2
-2
MintableToken.test.js
test/token/ERC20/MintableToken.test.js
+1
-1
PausableToken.test.js
test/token/ERC20/PausableToken.test.js
+1
-1
StandardToken.test.js
test/token/ERC20/StandardToken.test.js
+1
-1
TokenTimelock.test.js
test/token/ERC20/TokenTimelock.test.js
+2
-2
TokenVesting.test.js
test/token/ERC20/TokenVesting.test.js
+3
-3
No files found.
test/token/BasicToken.test.js
→
test/token/
ERC20/
BasicToken.test.js
View file @
9f52e943
import
assertRevert
from
'../helpers/assertRevert'
;
import
assertRevert
from
'../
../
helpers/assertRevert'
;
const
BasicToken
=
artifacts
.
require
(
'BasicTokenMock'
);
contract
(
'StandardToken'
,
function
([
_
,
owner
,
recipient
,
anotherAccount
])
{
...
...
test/token/BurnableToken.test.js
→
test/token/
ERC20/
BurnableToken.test.js
View file @
9f52e943
import
assertRevert
from
'../helpers/assertRevert'
;
import
assertRevert
from
'../
../
helpers/assertRevert'
;
const
BurnableTokenMock
=
artifacts
.
require
(
'BurnableTokenMock'
);
contract
(
'BurnableToken'
,
function
([
owner
])
{
...
...
test/token/CappedToken.test.js
→
test/token/
ERC20/
CappedToken.test.js
View file @
9f52e943
import
expectThrow
from
'../helpers/expectThrow'
;
import
ether
from
'../helpers/ether'
;
import
expectThrow
from
'../
../
helpers/expectThrow'
;
import
ether
from
'../
../
helpers/ether'
;
var
CappedToken
=
artifacts
.
require
(
'CappedToken'
);
...
...
test/token/MintableToken.test.js
→
test/token/
ERC20/
MintableToken.test.js
View file @
9f52e943
import
assertRevert
from
'../helpers/assertRevert'
;
import
assertRevert
from
'../
../
helpers/assertRevert'
;
const
MintableToken
=
artifacts
.
require
(
'MintableToken'
);
contract
(
'Mintable'
,
function
([
owner
,
anotherAccount
])
{
...
...
test/token/PausableToken.test.js
→
test/token/
ERC20/
PausableToken.test.js
View file @
9f52e943
import
assertRevert
from
'../helpers/assertRevert'
;
import
assertRevert
from
'../
../
helpers/assertRevert'
;
const
PausableToken
=
artifacts
.
require
(
'PausableTokenMock'
);
contract
(
'PausableToken'
,
function
([
_
,
owner
,
recipient
,
anotherAccount
])
{
...
...
test/token/StandardToken.test.js
→
test/token/
ERC20/
StandardToken.test.js
View file @
9f52e943
import
assertRevert
from
'../helpers/assertRevert'
;
import
assertRevert
from
'../
../
helpers/assertRevert'
;
const
StandardTokenMock
=
artifacts
.
require
(
'StandardTokenMock'
);
contract
(
'StandardToken'
,
function
([
_
,
owner
,
recipient
,
anotherAccount
])
{
...
...
test/token/TokenTimelock.test.js
→
test/token/
ERC20/
TokenTimelock.test.js
View file @
9f52e943
import
latestTime
from
'../helpers/latestTime'
;
import
{
increaseTimeTo
,
duration
}
from
'../helpers/increaseTime'
;
import
latestTime
from
'../
../
helpers/latestTime'
;
import
{
increaseTimeTo
,
duration
}
from
'../
../
helpers/increaseTime'
;
const
BigNumber
=
web3
.
BigNumber
;
...
...
test/token/TokenVesting.test.js
→
test/token/
ERC20/
TokenVesting.test.js
View file @
9f52e943
import
EVMRevert
from
'../helpers/EVMRevert'
;
import
latestTime
from
'../helpers/latestTime'
;
import
{
increaseTimeTo
,
duration
}
from
'../helpers/increaseTime'
;
import
EVMRevert
from
'../
../
helpers/EVMRevert'
;
import
latestTime
from
'../
../
helpers/latestTime'
;
import
{
increaseTimeTo
,
duration
}
from
'../
../
helpers/increaseTime'
;
const
BigNumber
=
web3
.
BigNumber
;
...
...
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