Mercurial > hg > piper-cpp
changeset 199:5f71b038d193
Demonstrate that the plugin cannot be re-initialised after a failed call to process.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 09 Feb 2017 11:01:13 +0000 |
parents | 94bab7bfbc78 |
children | e2eb1ccf3deb |
files | test/vamp-client/tst_PluginStub.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/vamp-client/tst_PluginStub.cpp Thu Feb 09 11:00:46 2017 +0000 +++ b/test/vamp-client/tst_PluginStub.cpp Thu Feb 09 11:01:13 2017 +0000 @@ -132,6 +132,7 @@ vampPiperAdapter.setParameter("framing-scale", scalingFactor); REQUIRE( initWithPreferredFraming() == false ); REQUIRE_THROWS( vampPiperAdapter.process(nullptr, {}) ); + REQUIRE_THROWS( initWithPreferredFraming() ); } SECTION("Can process after correctly initialising framing")