aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.h
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-10-31 16:41:02 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-10-31 16:41:02 +0800
commit3d17d7b2f13545914647fd5d3eaceda3a8646fc4 (patch)
tree4efa97f80111301c70a0a6b1be32d1734745ba9a /TestHelper.h
parent7f4fa9e2e1f9cce17bccbc6259dd95ca0c9a9876 (diff)
downloaddexon-solidity-3d17d7b2f13545914647fd5d3eaceda3a8646fc4.tar
dexon-solidity-3d17d7b2f13545914647fd5d3eaceda3a8646fc4.tar.gz
dexon-solidity-3d17d7b2f13545914647fd5d3eaceda3a8646fc4.tar.bz2
dexon-solidity-3d17d7b2f13545914647fd5d3eaceda3a8646fc4.tar.lz
dexon-solidity-3d17d7b2f13545914647fd5d3eaceda3a8646fc4.tar.xz
dexon-solidity-3d17d7b2f13545914647fd5d3eaceda3a8646fc4.tar.zst
dexon-solidity-3d17d7b2f13545914647fd5d3eaceda3a8646fc4.zip
Clean up FakeExtVM - move to state tests
Diffstat (limited to 'TestHelper.h')
-rw-r--r--TestHelper.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/TestHelper.h b/TestHelper.h
index 63c84fc4..e1bba7d0 100644
--- a/TestHelper.h
+++ b/TestHelper.h
@@ -51,7 +51,7 @@ public:
void importGas(json_spirit::mObject& _o);
void importOutput(json_spirit::mObject& _o);
- void exportTest();
+ void exportTest(bytes _output, u256 _gas, State& _statePost);
Manifest* getManifest(){ return &m_manifest;}
State m_statePre;
@@ -63,9 +63,13 @@ public:
bytes output;
Manifest m_manifest;
+ bytes code;
+
private:
+ json_spirit::mObject& m_TestObject;
+
// needed for const refs
- bytes code;
+
bytes data;
};