@@ -115,7 +115,7 @@ void CMqInterface_TimedReceive(T& base)
115115 MqMessage result;
116116
117117 char msg1[] = " msg1,msg2," ;
118- char invalidMsg2[] = " msg1,msg2" ;
118+ char invalidMsg2[] = " msg1,msg2" ;
119119
120120 // clock_gettime fails, return false
121121 EXPECT_CALL (*time_MOCK::mock, clock_gettime (_, _)).WillOnce (Return (-1 )).WillOnce (Return (0 ));
@@ -203,7 +203,7 @@ void CMqInterface_GetInterfaceName(T& base)
203203}
204204
205205template <typename T>
206- void CMqInterface_IsInitialized (T& base[[gnu::unused]])
206+ void CMqInterface_IsInitialized (T& base [[gnu::unused]])
207207{
208208 // TODO: add correct mock settings with return
209209 EXPECT_THAT (base.isInitialized (), Eq (true ));
@@ -227,29 +227,6 @@ void CMqInterface_StringCTor()
227227 EXPECT_THAT (base.getInterfaceName (), Eq (ifName));
228228}
229229
230- template <typename T>
231- void CMqInterface_MoveCTor ()
232- {
233- T* base = new T (ifName, maxMessages, messageSize);
234- CMqInterface_Open (*base);
235- T destination (std::move (*base));
236- delete base;
237-
238- CMqInterface_RunAllMqBaseTests (destination);
239- }
240-
241- template <typename T>
242- void CMqInterface_MoveOperator ()
243- {
244- T* base = new T (ifName, maxMessages, messageSize);
245- CMqInterface_Open (*base);
246- T destination (" /crap" , maxMessages, messageSize);
247- destination = std::move (*base);
248- delete base;
249-
250- CMqInterface_RunAllMqBaseTests (destination);
251- }
252-
253230// //////////////////////////////
254231// UnitTests: MqBase
255232// //////////////////////////////
@@ -259,16 +236,6 @@ TEST_F(CMqInterface_test, MqBase_StringCTor)
259236 CMqInterface_StringCTor<MqBase>();
260237}
261238
262- TEST_F (CMqInterface_test, MqBase_MoveCTor)
263- {
264- CMqInterface_MoveCTor<MqBase>();
265- }
266-
267- TEST_F (CMqInterface_test, MqBase_MoveOperator)
268- {
269- CMqInterface_MoveOperator<MqBase>();
270- }
271-
272239TEST_F (CMqInterface_test, MqBase_Receive)
273240{
274241 MqBase base (ifName, maxMessages, messageSize);
@@ -320,16 +287,6 @@ TEST_F(CMqInterface_test, MqInterfaceUser_StringCTor)
320287 CMqInterface_StringCTor<MqInterfaceUser>();
321288}
322289
323- TEST_F (CMqInterface_test, MqInterfaceUser_MoveCTor)
324- {
325- CMqInterface_MoveCTor<MqInterfaceUser>();
326- }
327-
328- TEST_F (CMqInterface_test, MqInterfaceUser_MoveOperator)
329- {
330- CMqInterface_MoveOperator<MqInterfaceUser>();
331- }
332-
333290TEST_F (CMqInterface_test, MqInterfaceUser_Receive)
334291{
335292 MqInterfaceUser base (ifName);
@@ -381,16 +338,6 @@ TEST_F(CMqInterface_test, MqInterfaceCreator_StringCTor)
381338 CMqInterface_StringCTor<MqInterfaceCreator>();
382339}
383340
384- TEST_F (CMqInterface_test, MqInterfaceCreator_MoveCTor)
385- {
386- CMqInterface_MoveCTor<MqInterfaceCreator>();
387- }
388-
389- TEST_F (CMqInterface_test, MqInterfaceCreator_MoveOperator)
390- {
391- CMqInterface_MoveOperator<MqInterfaceCreator>();
392- }
393-
394341TEST_F (CMqInterface_test, MqInterfaceCreator_Receive)
395342{
396343 MqInterfaceCreator base (ifName);
@@ -432,4 +379,4 @@ TEST_F(CMqInterface_test, MqInterfaceCreator_IsInitialized)
432379 CMqInterface_Open (base);
433380 CMqInterface_IsInitialized<MqInterfaceCreator>(base);
434381}
435- #endif
382+ #endif
0 commit comments