Added test case and setting Test configuration
This commit is contained in:
1 parent
f815271486
commit
a86f9b5bac
48 files changed
+423
-168
No files matched your search
@@ -377,8 +377,13 @@ class GenericFtcImpl final : public GenericFtc<TOPICTYPE_REQUEST, TOPICTYPE_REPL
|
||||
{
|
||||
INFO_LOG(m_logger) << "#receiveReply for " << TopicNameHelper::replyTopicTypeName();
|
||||
|
||||
// Qt 6's Q_ARG yields QMetaMethodArgument, which cannot be mixed with
|
||||
// the Qt 5 QArgument<T> used here. The topic type is registered under a
|
||||
// runtime name (see qRegisterMetaType above), so Q_ARG's stringified
|
||||
// type name is not usable; build the argument the way Q_ARG does.
|
||||
request.replySlot.invoke(m_objToInform, Qt::QueuedConnection,
|
||||
QArgument<ReplyTopic>(TopicNameHelper::replyTopicTypeName(), reply.data()),
|
||||
QtPrivate::Invoke::argument<ReplyTopic>(
|
||||
TopicNameHelper::replyTopicTypeName(), reply.data()),
|
||||
Q_ARG(int, request.uniqueId), Q_ARG(bool, !inProgress));
|
||||
}
|
||||
else
|
||||
@@ -503,6 +508,8 @@ class GenericFtcImpl final : public GenericFtc<TOPICTYPE_REQUEST, TOPICTYPE_REPL
|
||||
bool m_dying{false};
|
||||
std::string m_partitionType;
|
||||
int m_partitionId;
|
||||
// Declared after m_partitionId to match the constructor initialiser order.
|
||||
DDS::LOGGER_T m_logger;
|
||||
std::mutex m_requestMutex;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user