aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol
diff options
context:
space:
mode:
authorJacob Evans <dekz@dekz.net>2018-07-02 09:21:16 +0800
committerGitHub <noreply@github.com>2018-07-02 09:21:16 +0800
commitad570b8ae162a213b4b88c417ecd64d4661df18b (patch)
treed9acfb9e2459c4dfcac191061fefebe015ff5771 /packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol
parentb9165c03af40983d885af2b18e729f11746de91d (diff)
parentb9b00e10d39c3c84bc72892ef37f1313e904414d (diff)
downloaddexon-0x-contracts-ad570b8ae162a213b4b88c417ecd64d4661df18b.tar
dexon-0x-contracts-ad570b8ae162a213b4b88c417ecd64d4661df18b.tar.gz
dexon-0x-contracts-ad570b8ae162a213b4b88c417ecd64d4661df18b.tar.bz2
dexon-0x-contracts-ad570b8ae162a213b4b88c417ecd64d4661df18b.tar.lz
dexon-0x-contracts-ad570b8ae162a213b4b88c417ecd64d4661df18b.tar.xz
dexon-0x-contracts-ad570b8ae162a213b4b88c417ecd64d4661df18b.tar.zst
dexon-0x-contracts-ad570b8ae162a213b4b88c417ecd64d4661df18b.zip
Merge branch 'v2-prototype' into eth-lightwallet-subprovider-final
Diffstat (limited to 'packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol')
-rw-r--r--packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol b/packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol
new file mode 100644
index 000000000..a7977ffb4
--- /dev/null
+++ b/packages/sol-cov/test/fixtures/contracts/SolcovIgnore.sol
@@ -0,0 +1,22 @@
+pragma solidity ^0.4.21;
+
+contract SolcovIgnore {
+ uint public storedData;
+
+ function set(uint x) public {
+ /* solcov ignore next */
+ storedData = x;
+ }
+
+ /* solcov ignore next */
+ function get() constant public returns (uint retVal) {
+ return storedData;
+ }
+}
+
+/* solcov ignore next */
+contract Ignore {
+ function ignored() public returns (bool) {
+ return false;
+ }
+}