Skip to content
Snippets Groups Projects
Commit 10912d04 authored by Martin Killenberg's avatar Martin Killenberg
Browse files

fixed serverTestSpectrumBuffer by making version numbers consistent between macro pulse and data

parent e45b0a22
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@ BOOST_AUTO_TEST_CASE(testSpectrum) {
DoocsServerTestHelper::doocsSet<int>("//INT/TO_DEVICE_SCALAR", firstMacroPulseNumber + i);
expectedFloatArrayValue[1] = i;
DoocsServerTestHelper::doocsSet<float>("//FLOAT/TO_DEVICE_ARRAY", expectedFloatArrayValue);
GlobalFixture::referenceTestApplication.versionNumber = ChimeraTK::VersionNumber();
GlobalFixture::referenceTestApplication.runMainLoopOnce();
}
......@@ -85,6 +86,7 @@ BOOST_AUTO_TEST_CASE(testSpectrum) {
DoocsServerTestHelper::doocsSet<int>("//INT/TO_DEVICE_SCALAR", firstMacroPulseNumber + i + 10);
expectedFloatArrayValue[1] = i + 10000;
DoocsServerTestHelper::doocsSet<float>("//FLOAT/TO_DEVICE_ARRAY", expectedFloatArrayValue);
GlobalFixture::referenceTestApplication.versionNumber = ChimeraTK::VersionNumber();
GlobalFixture::referenceTestApplication.runMainLoopOnce();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment