fix build in tester

This commit is contained in:
Benjamin Reis 2017-10-17 17:18:57 +02:00
parent 74e73a84f1
commit fe807ccae1

View file

@ -1082,7 +1082,7 @@ void send_subject_changed_notify () {
BC_ASSERT_STRING_EQUAL(tester.confSubject.c_str(), "A random test subject");
BC_ASSERT_EQUAL(tester.participants.size(), 2, int, "%d");
BC_ASSERT_EQUAL(L_GET_PRIVATE(tester.handler)->getLastNotify(), 1, int, "%d");
BC_ASSERT_EQUAL(tester.handler->getLastNotify(), 1, int, "%d");
BC_ASSERT_EQUAL(localHandlerPrivate->getLastNotify(), 1, int, "%d");
BC_ASSERT_TRUE(tester.participants.find(bobAddr.asString()) != tester.participants.end());
BC_ASSERT_TRUE(tester.participants.find(aliceAddr.asString()) != tester.participants.end());
@ -1095,7 +1095,7 @@ void send_subject_changed_notify () {
BC_ASSERT_STRING_EQUAL(tester.confSubject.c_str(), "Another random test subject...");
BC_ASSERT_EQUAL(tester.participants.size(), 2, int, "%d");
BC_ASSERT_EQUAL(L_GET_PRIVATE(tester.handler)->getLastNotify(), 2, int, "%d");
BC_ASSERT_EQUAL(tester.handler->getLastNotify(), 2, int, "%d");
BC_ASSERT_EQUAL(localHandlerPrivate->getLastNotify(), 2, int, "%d");
BC_ASSERT_TRUE(tester.participants.find(bobAddr.asString()) != tester.participants.end());
BC_ASSERT_TRUE(tester.participants.find(aliceAddr.asString()) != tester.participants.end());