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
b2a5eafa
Commit
b2a5eafa
authored
Apr 04, 2017
by
Michael Fröwis
Committed by
chriseth
May 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Static Analysis: fix integration tests
parent
242a8f4f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
staticAnalysisIntegration-test.js
test/staticanalysis/staticAnalysisIntegration-test.js
+10
-10
No files found.
test/staticanalysis/staticAnalysisIntegration-test.js
View file @
b2a5eafa
...
...
@@ -33,7 +33,7 @@ testFiles.forEach((fileName) => {
test
(
'Integration test thisLocal.js'
,
function
(
t
)
{
t
.
plan
(
testFiles
.
length
)
var
module
=
require
(
'../../
babelify-
src/app/staticanalysis/modules/thisLocal'
)
var
module
=
require
(
'../../src/app/staticanalysis/modules/thisLocal'
)
var
lengthCheck
=
{
'KingOfTheEtherThrone.sol'
:
0
,
...
...
@@ -58,7 +58,7 @@ test('Integration test thisLocal.js', function (t) {
test
(
'Integration test checksEffectsInteraction.js'
,
function
(
t
)
{
t
.
plan
(
testFiles
.
length
)
var
module
=
require
(
'../../
babelify-
src/app/staticanalysis/modules/checksEffectsInteraction'
)
var
module
=
require
(
'../../src/app/staticanalysis/modules/checksEffectsInteraction'
)
var
lengthCheck
=
{
'KingOfTheEtherThrone.sol'
:
1
,
...
...
@@ -68,8 +68,8 @@ test('Integration test checksEffectsInteraction.js', function (t) {
'ballot_withoutWarnings.sol'
:
0
,
'cross_contract.sol'
:
0
,
'inheritance.sol'
:
1
,
'modifier1.sol'
:
0
,
'modifier2.sol'
:
0
,
'modifier1.sol'
:
1
,
'modifier2.sol'
:
1
,
'notReentrant.sol'
:
0
,
'structReentrant.sol'
:
1
,
'thisLocal.sol'
:
0
...
...
@@ -83,7 +83,7 @@ test('Integration test checksEffectsInteraction.js', function (t) {
test
(
'Integration test constatnFunctions.js'
,
function
(
t
)
{
t
.
plan
(
testFiles
.
length
)
var
module
=
require
(
'../../
babelify-
src/app/staticanalysis/modules/constantFunctions'
)
var
module
=
require
(
'../../src/app/staticanalysis/modules/constantFunctions'
)
var
lengthCheck
=
{
'KingOfTheEtherThrone.sol'
:
0
,
...
...
@@ -93,8 +93,8 @@ test('Integration test constatnFunctions.js', function (t) {
'ballot_withoutWarnings.sol'
:
0
,
'cross_contract.sol'
:
1
,
'inheritance.sol'
:
0
,
'modifier1.sol'
:
1
,
'modifier2.sol'
:
0
,
'modifier1.sol'
:
2
,
'modifier2.sol'
:
1
,
'notReentrant.sol'
:
0
,
'structReentrant.sol'
:
0
,
'thisLocal.sol'
:
1
...
...
@@ -108,7 +108,7 @@ test('Integration test constatnFunctions.js', function (t) {
test
(
'Integration test constantFunctions.js'
,
function
(
t
)
{
t
.
plan
(
testFiles
.
length
)
var
module
=
require
(
'../../
babelify-
src/app/staticanalysis/modules/inlineAssembly'
)
var
module
=
require
(
'../../src/app/staticanalysis/modules/inlineAssembly'
)
var
lengthCheck
=
{
'KingOfTheEtherThrone.sol'
:
0
,
...
...
@@ -133,7 +133,7 @@ test('Integration test constantFunctions.js', function (t) {
test
(
'Integration test txOrigin.js'
,
function
(
t
)
{
t
.
plan
(
testFiles
.
length
)
var
module
=
require
(
'../../
babelify-
src/app/staticanalysis/modules/txOrigin'
)
var
module
=
require
(
'../../src/app/staticanalysis/modules/txOrigin'
)
var
lengthCheck
=
{
'KingOfTheEtherThrone.sol'
:
0
,
...
...
@@ -158,7 +158,7 @@ test('Integration test txOrigin.js', function (t) {
test
(
'Integration test gasCosts.js'
,
function
(
t
)
{
t
.
plan
(
testFiles
.
length
)
var
module
=
require
(
'../../
babelify-
src/app/staticanalysis/modules/gasCosts'
)
var
module
=
require
(
'../../src/app/staticanalysis/modules/gasCosts'
)
var
lengthCheck
=
{
'KingOfTheEtherThrone.sol'
:
2
,
...
...
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