diff options
| author | Will Ayd <[email protected]> | 2018-04-01 22:45:41 -0700 |
|---|---|---|
| committer | Will Ayd <[email protected]> | 2018-04-04 18:09:05 -0700 |
| commit | c9cce0a7f66e5abe6a94704eb478e0dc52a29f13 (patch) | |
| tree | f3981770b6448f98cd172900f507249e58596811 /src/validationinterface.cpp | |
| parent | Merge #11818: I accidentally [deliberately] killed it [the ComparisonTestFram... (diff) | |
| download | discoin-c9cce0a7f66e5abe6a94704eb478e0dc52a29f13.tar.xz discoin-c9cce0a7f66e5abe6a94704eb478e0dc52a29f13.zip | |
Tests: Add Metaclass for BitcoinTestFramework
BitcoinTestFramework instructs developers in its docstring to override
`set_test_params` and `run_test` in subclasses while being sure NOT to
override `__init__` and `main` . This change adds a metaclass to ensure
that developers adhere to that protocol, raising a ``TypeError`` in
instances where they have not.
closes #12835
Diffstat (limited to 'src/validationinterface.cpp')
0 files changed, 0 insertions, 0 deletions