Skip to content
Snippets Groups Projects
Commit 8a9b5400 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fixed a test which was running writeAll() etc. on ModuleGroups (which is illegal)

parent ba6b99f5
No related branches found
No related tags found
No related merge requests found
......@@ -141,10 +141,14 @@ BOOST_AUTO_TEST_CASE( testConnectTo ) {
app.second.secondModule.myVec[i] = 6+i;
}
app.first.writeAll();
app.second.writeAll();
app.first.readAllLatest();
app.second.readAllLatest();
app.first.testModule.writeAll();
app.first.secondModule.writeAll();
app.second.testModule.writeAll();
app.second.secondModule.writeAll();
app.first.testModule.readAllLatest();
app.first.secondModule.readAllLatest();
app.second.testModule.readAllLatest();
app.second.secondModule.readAllLatest();
BOOST_CHECK_EQUAL( (int) app.first.testModule.varGroup.varA, 1 );
BOOST_CHECK_EQUAL( (int) app.first.testModule.varGroup.varB, 2 );
......@@ -181,10 +185,14 @@ BOOST_AUTO_TEST_CASE( testConnectTwice ) {
app.second.secondModule.myVec[i] = 6+i;
}
app.first.writeAll();
app.second.writeAll();
app.first.readAllLatest();
app.second.readAllLatest();
app.first.testModule.writeAll();
app.first.secondModule.writeAll();
app.second.testModule.writeAll();
app.second.secondModule.writeAll();
app.first.testModule.readAllLatest();
app.first.secondModule.readAllLatest();
app.second.testModule.readAllLatest();
app.second.secondModule.readAllLatest();
BOOST_CHECK_EQUAL( (int) app.first.testModule.varGroup.varA, 1 );
BOOST_CHECK_EQUAL( (int) app.first.testModule.varGroup.varB, 2 );
......
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