1- //
21// Copyright CERN and copyright holders of ALICE O2. This software is
32// distributed under the terms of the GNU General Public License v3 (GPL
43// Version 3), copied verbatim in the file "COPYING".
54//
6- // See https ://alice-o2.web.cern.ch/ for full licensing information.
5+ // See http ://alice-o2.web.cern.ch/license for full licensing information.
76//
87// In applying this license CERN does not waive the privileges and immunities
98// granted to it by virtue of its status as an Intergovernmental Organization
@@ -32,8 +31,8 @@ BOOST_AUTO_TEST_CASE(testTrivialTypeVect)
3231
3332 contType inputV{ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 };
3433
35- auto msgStr = SerializeContainer (inputV).str ();
36- auto inputV2 = DeserializeContainer <contType>(msgStr);
34+ auto msgStr = BoostSerialize (inputV).str ();
35+ auto inputV2 = BoostDeserialize <contType>(msgStr);
3736
3837 BOOST_TEST (inputV.size () == inputV2.size ());
3938
@@ -50,8 +49,8 @@ BOOST_AUTO_TEST_CASE(testTrivialTypeArray)
5049
5150 contType inputV{ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 };
5251
53- auto msgStr = SerializeContainer (inputV).str ();
54- auto inputV2 = DeserializeContainer <contType>(msgStr);
52+ auto msgStr = BoostSerialize (inputV).str ();
53+ auto inputV2 = BoostDeserialize <contType>(msgStr);
5554
5655 BOOST_TEST (inputV.size () == inputV2.size ());
5756
@@ -68,8 +67,8 @@ BOOST_AUTO_TEST_CASE(testTrivialTypeList)
6867
6968 contType inputV{ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 };
7069
71- auto msgStr = SerializeContainer (inputV).str ();
72- auto inputV2 = DeserializeContainer <contType>(msgStr);
70+ auto msgStr = BoostSerialize (inputV).str ();
71+ auto inputV2 = BoostDeserialize <contType>(msgStr);
7372
7473 BOOST_TEST (inputV.size () == inputV2.size ());
7574
@@ -92,8 +91,8 @@ BOOST_AUTO_TEST_CASE(testBoostSerialisedType)
9291 inputV.emplace_back (o2::mid::Cluster2D{ (uint8_t )i, 0 .3f * iFloat, 0 .5f * iFloat, 0 .7f / iFloat, 0 .9f / iFloat });
9392 }
9493
95- auto msgStr = SerializeContainer (inputV).str ();
96- auto inputV2 = DeserializeContainer <contType>(msgStr);
94+ auto msgStr = BoostSerialize (inputV).str ();
95+ auto inputV2 = BoostDeserialize <contType>(msgStr);
9796
9897 BOOST_TEST (inputV.size () == inputV2.size ());
9998
@@ -108,4 +107,4 @@ BOOST_AUTO_TEST_CASE(testBoostSerialisedType)
108107 }
109108}
110109
111- BOOST_AUTO_TEST_SUITE_END ()
110+ BOOST_AUTO_TEST_SUITE_END ()
0 commit comments