Skip to content

Instantly share code, notes, and snippets.

@michaelsbradleyjr
Created January 31, 2019 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelsbradleyjr/482637f9ea17edc83e5b5bad710d955a to your computer and use it in GitHub Desktop.
Save michaelsbradleyjr/482637f9ea17edc83e5b5bad710d955a to your computer and use it in GitHub Desktop.
$ embark test
Compiling contracts
/Users/michael/repos/embark/test_dapps/packages/test_app/.embark/app/contracts/simple_storage_test.sol:25:17: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
function test(uint x) public {
^----^
/Users/michael/repos/embark/test_dapps/packages/test_app/.embark/app/contracts/simple_storage_test.sol:25:3: Warning: Function state mutability can be restricted to pure
function test(uint x) public {
^ (Relevant source part starts here and spans across multiple lines).
app/contracts/invalid_file.sol__tmp__ doesn't have a compatible contract compiler. Maybe a plugin exists for it.
MyToken3: couldn't find instanceOf contract Tokn
did you mean "Token"?
MyToken3 has no code associated
did you mean "MyToken"?
Tried to register the subdomain "mytoken" as contract "MyToken", but "MyToken" does not exist. Is it configured in your contract configuration?
Tried to register the subdomain "MyToken2" as contract "MyToken2", but "MyToken2" does not exist. Is it configured in your contract configuration?
AnotherStorage
✓ should have account with balance (4ms) - [0 gas]
✓ set SimpleStorage address (16ms) - [0 gas]
✓ set SimpleStorage address with alternative syntax (13ms) - [0 gas]
3 passing (10s) - [Total: 2648343 gas]
Tried to register the subdomain "mytoken" as contract "MyToken", but "MyToken" does not exist. Is it configured in your contract configuration?
SomeContract
✓ set MyToken2 address (44ms) - [0 gas]
✓ set account address (13ms) - [0 gas]
2 passing (404ms) - [Total: 846786 gas]
Tried to register the subdomain "mytoken" as contract "MyToken", but "MyToken" does not exist. Is it configured in your contract configuration?
Account balance
✓ should create an account balance from a large ether value in config (3ms) - [0 gas]
1 passing (796ms) - [Total: 3364127 gas]
Tried to register the subdomain "mytoken" as contract "MyToken", but "MyToken" does not exist. Is it configured in your contract configuration?
Tried to register the subdomain "MyToken2" as contract "MyToken2", but "MyToken2" does not exist. Is it configured in your contract configuration?
EmbarkJS functions
✓ should have access to ENS functions (56ms) - [0 gas]
✓ should have access to Storage functions (1ms) - [0 gas]
✓ should have access to Blockchain functions (10ms) - [0 gas]
3 passing (140ms) - [Total: 306630 gas]
http contracts
✓ should have downloaded the file in .embark/contracts (0ms) - [0 gas]
✓ should have downloaded the file import file too (0ms) - [0 gas]
✓ should have downloaded the http import in SimpleStorageWithHttpImport (0ms) - [0 gas]
3 passing (2ms) - [Total: 0 gas]
AnotherStorage has a dependency on ERC20, but it is not set to deploy. It could be an interface.
Tried to register the subdomain "mytoken" as contract "MyToken", but "MyToken" does not exist. Is it configured in your contract configuration?
Tried to register the subdomain "MyToken2" as contract "MyToken2", but "MyToken2" does not exist. Is it configured in your contract configuration?
AnotherStorageWithInterface
✓ sets an empty address because ERC20 is an interface (9ms) - [0 gas]
1 passing (77ms) - [Total: 114594 gas]
Tried to register the subdomain "mytoken" as contract "MyToken", but "MyToken" does not exist. Is it configured in your contract configuration?
Tried to register the subdomain "MyToken2" as contract "MyToken2", but "MyToken2" does not exist. Is it configured in your contract configuration?
Test
✓ should call library correctly (16ms) - [0 gas]
1 passing (166ms) - [Total: 389445 gas]
ENS functions
✓ should allow directives in ENS subdomains (108ms) - [0 gas]
1 passing (582ms) - [Total: 1227016 gas]
Tried to register the subdomain "mytoken" as contract "MyToken", but "MyToken" does not exist. Is it configured in your contract configuration?
Tried to register the subdomain "MyToken2" as contract "MyToken2", but "MyToken2" does not exist. Is it configured in your contract configuration?
PluginSimpleStorage
✓ set SimpleStorage address (14ms) - [0 gas]
1 passing (128ms) - [Total: 437504 gas]
SimpleStorage Deploy
✓ should set constructor value (11ms) - [0 gas]
✓ set storage value (36ms) - [26647 gas]
2 passing (75ms) - [Total: 333277 gas]
Tried to register the subdomain "mytoken" as contract "MyToken", but "MyToken" does not exist. Is it configured in your contract configuration?
Tried to register the subdomain "MyToken2" as contract "MyToken2", but "MyToken2" does not exist. Is it configured in your contract configuration?
SimpleStorage
✓ should set constructor value (10ms) - [0 gas]
✓ set storage value (40ms) - [26647 gas]
✓ should set to self address (10ms) - [0 gas]
✓ should have the right defaultAccount (0ms) - [0 gas]
✓ should alias contract address (0ms) - [0 gas]
✓ listens to events (40ms) - [28606 gas]
6 passing (199ms) - [Total: 404950 gas]
Token
✓ not deploy Token (0ms) - [0 gas]
✓ should deploy MyToken and MyToken2 (1ms) - [0 gas]
✓ set MyToken Balance correctly (12ms) - [0 gas]
✓ set MyToken2 Balance correctly (12ms) - [0 gas]
✓ get right address (0ms) - [0 gas]
✓ should use onDeploy (14ms) - [0 gas]
✓ should not deploy if deployIf returns false (0ms) - [0 gas]
✓ should set the ens attr to the address of embark.eth (12ms) - [0 gas]
8 passing (845ms) - [Total: 2231409 gas]
> All tests passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment